toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
sdk
switch theme
search in API
sdk
/
com.brightcove.player.model
/
Length
Length
open
class
Length
:
Serializable
Provides the representation of varying forms of length measure per the TTML specification.
Inheritors
LengthVtt
Members
Constructors
Length
Link copied to clipboard
constructor
(
expression
:
String
)
Initializes a Length object by parsing the given expression.
constructor
(
value
:
Double
,
unit
:
StyledElement.Unit
)
Initializes a Length object using the given numeric value and Unit specification.
Properties
PATTERN
Link copied to clipboard
val
PATTERN
:
Pattern
TAG
Link copied to clipboard
val
TAG
:
String
Functions
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
get
Unit
Link copied to clipboard
open
fun
getUnit
(
)
:
StyledElement.Unit
The
com.brightcove.player.model.StyledElement.Unit
of this Length.
get
Value
Link copied to clipboard
open
fun
getValue
(
)
:
Double
The numeric value of this Length.
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int