toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.utils
/
M3u8Helper2
/
LazyHlsDownloadData
Lazy
Hls
Download
Data
data
class
LazyHlsDownloadData
(
encryptionData
:
ByteArray
,
encryptionIv
:
ByteArray
,
val
isEncrypted
:
Boolean
,
val
allTsLinks
:
List
<
M3u8Helper2.TsLink
>
,
val
relativeUrl
:
String
,
val
headers
:
Map
<
String
,
String
>
)
(
source
)
Members
Constructors
Lazy
Hls
Download
Data
Link copied to clipboard
constructor
(
encryptionData
:
ByteArray
,
encryptionIv
:
ByteArray
,
isEncrypted
:
Boolean
,
allTsLinks
:
List
<
M3u8Helper2.TsLink
>
,
relativeUrl
:
String
,
headers
:
Map
<
String
,
String
>
)
Properties
all
Ts
Links
Link copied to clipboard
val
allTsLinks
:
List
<
M3u8Helper2.TsLink
>
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
is
Encrypted
Link copied to clipboard
val
isEncrypted
:
Boolean
relative
Url
Link copied to clipboard
val
relativeUrl
:
String
size
Link copied to clipboard
val
size
:
Int
Functions
resolve
Link
Link copied to clipboard
suspend
fun
resolveLink
(
index
:
Int
)
:
ByteArray
resolve
Link
Safe
Link copied to clipboard
suspend
fun
resolveLinkSafe
(
index
:
Int
,
tries
:
Int
=
3
,
failDelay
:
Long
=
3000
)
:
ByteArray
?
resolve
Link
While
Safe
Link copied to clipboard
suspend
fun
resolveLinkWhileSafe
(
index
:
Int
,
tries
:
Int
=
3
,
failDelay
:
Long
=
3000
,
condition
:
(
)
->
Boolean
)
:
ByteArray
?