comicviewer
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
comicviewer
usecase
/
com.sorrowblue.comicviewer.domain.usecase.file
/
UpdateLastReadPageUseCase
Update
Last
Read
Page
Use
Case
abstract
class
UpdateLastReadPageUseCase
:
OneShotUseCase
<
UpdateLastReadPageUseCase.Request
,
Unit
,
Unit
>
Members
Members & Extensions
Constructors
Update
Last
Read
Page
Use
Case
Link copied to clipboard
constructor
(
)
Types
Request
Link copied to clipboard
data
class
Request
(
val
bookshelfId
:
BookshelfId
,
val
path
:
String
,
val
lastReadPage
:
Int
,
val
timestamp
:
Long
=
Clock.System.now().toEpochMilliseconds()
)
Functions
invoke
Link copied to clipboard
suspend operator
fun
invoke
(
request
:
UpdateLastReadPageUseCase.Request
)
:
Resource
<
Unit
,
Unit
>
invoke
Link copied to clipboard
suspend operator
fun
<
D
,
E
>
OneShotUseCase
<
Unit
,
D
,
E
>
.
invoke
(
)
:
Resource
<
D
,
E
>