comicviewer
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
comicviewer
service
/
com.sorrowblue.comicviewer.domain.service.datasource
/
RemoteDataSource
Remote
Data
Source
interface
RemoteDataSource
Members
Types
Factory
Link copied to clipboard
interface
Factory
Functions
connect
Link copied to clipboard
abstract
suspend
fun
connect
(
path
:
String
)
exists
Link copied to clipboard
abstract
suspend
fun
exists
(
path
:
String
)
:
Boolean
file
Link copied to clipboard
abstract
suspend
fun
file
(
path
:
String
,
resolveImageFolder
:
Boolean
=
false
)
:
File
get
Attribute
Link copied to clipboard
abstract
suspend
fun
getAttribute
(
path
:
String
)
:
FileAttribute
?
get
File
Size
Link copied to clipboard
abstract
suspend
fun
getFileSize
(
path
:
String
)
:
Long
list
Files
Link copied to clipboard
abstract
suspend
fun
listFiles
(
file
:
File
,
resolveImageFolder
:
Boolean
=
false
,
filter
:
(
File
)
->
Boolean
)
:
List
<
File
>
page
Count
Link copied to clipboard
abstract
suspend
fun
pageCount
(
book
:
Book
)
:
Int