Cloudstream
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Cloudstream
App
/
com.lagradost.cloudstream3.plugins
/
SitePlugin
Site
Plugin
@
Serializable
data
class
SitePlugin
(
val
url
:
String
,
val
status
:
Int
,
val
version
:
Int
,
val
apiVersion
:
Int
,
val
name
:
String
,
val
internalName
:
String
,
val
authors
:
List
<
String
>
,
val
description
:
String
?
,
val
repositoryUrl
:
String
?
,
val
tvTypes
:
List
<
String
>
?
,
val
language
:
String
?
,
val
iconUrl
:
String
?
,
val
fileSize
:
Long
?
,
val
fileHash
:
String
?
)
(
source
)
Status int as the following: 0: Down 1: Ok 2: Slow 3: Beta only
Members
Members & Extensions
Constructors
Site
Plugin
Link copied to clipboard
constructor
(
url
:
String
,
status
:
Int
,
version
:
Int
,
apiVersion
:
Int
,
name
:
String
,
internalName
:
String
,
authors
:
List
<
String
>
,
description
:
String
?
,
repositoryUrl
:
String
?
,
tvTypes
:
List
<
String
>
?
,
language
:
String
?
,
iconUrl
:
String
?
,
fileSize
:
Long
?
,
fileHash
:
String
?
)
Properties
api
Version
Link copied to clipboard
@
SerialName
(
value
=
"apiVersion"
)
val
apiVersion
:
Int
authors
Link copied to clipboard
@
SerialName
(
value
=
"authors"
)
val
authors
:
List
<
String
>
description
Link copied to clipboard
@
SerialName
(
value
=
"description"
)
val
description
:
String
?
file
Hash
Link copied to clipboard
@
SerialName
(
value
=
"fileHash"
)
val
fileHash
:
String
?
file
Size
Link copied to clipboard
@
SerialName
(
value
=
"fileSize"
)
val
fileSize
:
Long
?
icon
Url
Link copied to clipboard
@
SerialName
(
value
=
"iconUrl"
)
val
iconUrl
:
String
?
internal
Name
Link copied to clipboard
@
SerialName
(
value
=
"internalName"
)
val
internalName
:
String
language
Link copied to clipboard
@
SerialName
(
value
=
"language"
)
val
language
:
String
?
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
val
name
:
String
repository
Url
Link copied to clipboard
@
SerialName
(
value
=
"repositoryUrl"
)
val
repositoryUrl
:
String
?
status
Link copied to clipboard
@
SerialName
(
value
=
"status"
)
val
status
:
Int
tv
Types
Link copied to clipboard
@
SerialName
(
value
=
"tvTypes"
)
val
tvTypes
:
List
<
String
>
?
url
Link copied to clipboard
@
SerialName
(
value
=
"url"
)
val
url
:
String
version
Link copied to clipboard
@
SerialName
(
value
=
"version"
)
val
version
:
Int
Functions
can
Vote
Link copied to clipboard
fun
SitePlugin
.
canVote
(
)
:
Boolean
get
Votes
Link copied to clipboard
suspend
fun
SitePlugin
.
getVotes
(
)
:
Int
has
Voted
Link copied to clipboard
fun
SitePlugin
.
hasVoted
(
)
:
Boolean
vote
Link copied to clipboard
suspend
fun
SitePlugin
.
vote
(
)
:
Int