Cue

open class Cue

Represents a Cue of a subtitle track.

See also

Constructors

Cue
Link copied to clipboard
open fun Cue(start: Double, end: Double, text: String, html: String)
Cue
Link copied to clipboard
open fun Cue(start: Double, end: Double, image: Bitmap)
Cue
Link copied to clipboard
open fun Cue(start: Double, end: Double, text: String, html: String, image: Bitmap, textAlignment: Layout.Alignment, line: Float, lineType: Cue.LineType, lineAnchor: Cue.AnchorType, fractionalPosition: Float, positionAnchor: Cue.AnchorType, size: Float, bitmapHeight: Float, windowColorSet: Boolean, windowColor: Int)

Types

AnchorType
Link copied to clipboard
enum AnchorType
Represents the available anchor types for the cue.
LineType
Link copied to clipboard
enum LineType
Represents the available line types for the cue.

Properties

bitmapHeight
Link copied to clipboard
private open val bitmapHeight: Float
DIMEN_UNSET
Link copied to clipboard
val DIMEN_UNSET: Float
An unset position or width.
end
Link copied to clipboard
private open val end: Double
fractionalPosition
Link copied to clipboard
private open val fractionalPosition: Float
html
Link copied to clipboard
private open val html: String
image
Link copied to clipboard
private open val image: Bitmap
line
Link copied to clipboard
private open val line: Float
lineAnchor
Link copied to clipboard
private open val lineAnchor: Cue.AnchorType
lineType
Link copied to clipboard
private open val lineType: Cue.LineType
positionAnchor
Link copied to clipboard
private open val positionAnchor: Cue.AnchorType
size
Link copied to clipboard
private open val size: Float
start
Link copied to clipboard
private open val start: Double
text
Link copied to clipboard
private open val text: String
textAlignment
Link copied to clipboard
private open val textAlignment: Layout.Alignment
windowColor
Link copied to clipboard
private open val windowColor: Int

Functions

isWindowColorSet
Link copied to clipboard
open fun isWindowColorSet(): Boolean
Returns if the windowColor property is set.