Vdocipher
1.26.5
Vdocipher
/
com.vdocipher.aegis.media
/
Track
Track
class
Track
:
Parcelable
An immutable object containing information about a audio, video or captions track in a media.
Constructors
Functions
Properties
Constructors
Track
Link copied to clipboard
open
fun
Track
(
id
:
Int
,
type
:
Int
,
height
:
Int
,
width
:
Int
,
bitrate
:
Int
,
@
Nullable
language
:
String
,
@
Nullable
label
:
String
,
@
Nullable
codec
:
String
,
@
Nullable
mimeType
:
String
)
Track
Link copied to clipboard
open
fun
Track
(
id
:
Int
,
type
:
Int
,
height
:
Int
,
width
:
Int
,
bitrate
:
Int
,
@
Nullable
language
:
String
,
@
Nullable
label
:
String
,
@
Nullable
codec
:
String
,
@
Nullable
mimeType
:
String
,
groupIndex
:
Int
,
streamIndex
:
Int
)
Functions
describe
Contents
Link copied to clipboard
open
fun
describeContents
(
)
:
Int
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
write
To
Parcel
Link copied to clipboard
open
fun
writeToParcel
(
dest
:
Parcel
,
flags
:
Int
)
Properties
bitrate
Link copied to clipboard
val
bitrate
:
Int
Bandwidth of the track in bits per second or -1 if not available or not applicable.
codec
Link copied to clipboard
val
codec
:
String
Codac of track .
CREATOR
Link copied to clipboard
val
CREATOR
:
Parcelable.Creator
<
Track
>
DISABLE_CAPTIONS
Link copied to clipboard
val
DISABLE_CAPTIONS
:
Track
Special Track instance to signal the player to turn off captions.
group
Index
Link copied to clipboard
val
groupIndex
:
Int
Group index of track .
height
Link copied to clipboard
val
height
:
Int
Height of the video in pixels or -1 if not available or not applicable.
id
Link copied to clipboard
val
id
:
Int
Id to identify a track.
label
Link copied to clipboard
@
Nullable
val
label
:
String
Label of the track or null if not available or not applicable.
language
Link copied to clipboard
@
Nullable
val
language
:
String
Language of the track or null if not available or not applicable.
mime
Type
Link copied to clipboard
val
mimeType
:
String
MIME type of track .
SET_ADAPTIVE
Link copied to clipboard
val
SET_ADAPTIVE
:
Track
Special Track instance to signal the player to set adaptive mode on.
stream
Index
Link copied to clipboard
val
streamIndex
:
Int
Gtream index of track .
type
Link copied to clipboard
val
type
:
Int
Type of track.
TYPE_AUDIO
Link copied to clipboard
val
TYPE_AUDIO
:
Int
=
1
Track type corresponding to an audio stream.
TYPE_CAPTIONS
Link copied to clipboard
val
TYPE_CAPTIONS
:
Int
=
3
Track type corresponding to captions.
TYPE_UNKNOWN
Link copied to clipboard
val
TYPE_UNKNOWN
:
Int
=
-1
Track type corresponding to unknown format.
TYPE_VIDEO
Link copied to clipboard
val
TYPE_VIDEO
:
Int
=
2
Track type corresponding to a video stream.
width
Link copied to clipboard
val
width
:
Int
Width of the video in pixels or -1 if not available or not applicable.