CuePoint

Represents the data of a single cue point.

Constructors

Link copied to clipboard
constructor(positionType: CuePoint.PositionType, type: String, properties: Map<String, Any>)
Used to create a before (pre-roll) or after (post-roll) cue point.
constructor(positionType: CuePoint.PositionType, type: CuePoint.CuePointType, properties: Map<String, Any>)
Used to create a pre-roll (PositionType.BEFORE) or post-roll (PositionType.AFTER) cue point.
constructor(position: Int, type: String, properties: Map<String, Any>)
Used to create a point in time (mid-roll) cue point at a specific position.
constructor(position: Int, type: CuePoint.CuePointType, properties: Map<String, Any>)
Used to create a mid-roll (PositionType.POINT_IN_TIME) cue point at a specific position.
constructor(position: Long, type: CuePoint.CuePointType, properties: Map<String, Any>)
Used to create a mid-roll (PositionType.POINT_IN_TIME) cue point at a specific position.

Types

Link copied to clipboard
Specifies the cue point type.
Link copied to clipboard
Indicates the position of the cue point in relation to the entire video.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val TAG: String

Functions

Link copied to clipboard
open fun compareTo(cuePoint: CuePoint): Int
Compares this CuePoint object with the specified CuePoint object.
Link copied to clipboard
open fun equals(object: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getIntegerProperty(propertyName: String): Integer
Convenience method to retrieve a property from the dynamic properties Map that is expected to be an Integer.
open fun getIntegerProperty(properties: Map<String, Any>, propertyName: String): Integer
Convenience static method to retrieve a property from a properties Map that is expected to be an Integer.
Link copied to clipboard
open fun getLongProperty(properties: Map<String, Any>, propertyName: String): Long
Convenience static method to retrieve a property from a properties Map that is expected to be an Integer.
Link copied to clipboard
open fun getPositionLong(): Long
Returns the time offset of the cue point from the beginning of the video, in milliseconds.
Link copied to clipboard
open fun getProperties(): Map<String, Any>
Retrieves a Map of dynamic properties for this object.
Link copied to clipboard
open fun getStringProperty(propertyName: String): String
Convenience method to retrieve a property from the dynamic properties Map that is expected to be a String.
open fun getStringProperty(properties: Map<String, Any>, propertyName: String): String
Convenience static method to retrieve a property from a properties Map that is expected to be a String.
Link copied to clipboard
open fun getType(): String
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun toString(): String