toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.syncproviders
/
SyncRepo
Sync
Repo
class
SyncRepo
(
repo
:
SyncAPI
)
(
source
)
Members
Constructors
Sync
Repo
Link copied to clipboard
constructor
(
repo
:
SyncAPI
)
Properties
icon
Link copied to clipboard
val
icon
:
Int
?
id
Prefix
Link copied to clipboard
val
idPrefix
:
String
main
Url
Link copied to clipboard
val
mainUrl
:
String
name
Link copied to clipboard
val
name
:
String
require
Library
Refresh
Link copied to clipboard
var
requireLibraryRefresh
:
Boolean
requires
Login
Link copied to clipboard
val
requiresLogin
:
Boolean
sync
Id
Name
Link copied to clipboard
val
syncIdName
:
SyncIdName
Functions
get
Id
From
Url
Link copied to clipboard
fun
getIdFromUrl
(
url
:
String
)
:
String
?
get
Personal
Library
Link copied to clipboard
suspend
fun
getPersonalLibrary
(
)
:
Resource
<
SyncAPI.LibraryMetadata
>
get
Result
Link copied to clipboard
suspend
fun
getResult
(
id
:
String
)
:
Resource
<
SyncAPI.SyncResult
>
get
Status
Link copied to clipboard
suspend
fun
getStatus
(
id
:
String
)
:
Resource
<
SyncAPI.AbstractSyncStatus
>
has
Account
Link copied to clipboard
fun
hasAccount
(
)
:
Boolean
score
Link copied to clipboard
suspend
fun
score
(
id
:
String
,
status
:
SyncAPI.AbstractSyncStatus
)
:
Resource
<
Boolean
>
search
Link copied to clipboard
suspend
fun
search
(
query
:
String
)
:
Resource
<
List
<
SyncAPI.SyncSearchResult
>
>