GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeCaptionsPositioning - Android

BlazeCaptionsPositioning defines where the captions box is placed inside the player container. Configure the horizontal and vertical axes independently.

playerStyle.captions.positioning.xPosition = BlazeCaptionsXPosition.Center
playerStyle.captions.positioning.yPosition = BlazeCaptionsYPosition.Custom(offsetPercent = 80)

Properties

xPosition

var xPosition: BlazeCaptionsXPosition

The horizontal position of the captions box. See BlazeCaptionsXPosition.

yPosition

var yPosition: BlazeCaptionsYPosition

The vertical position of the captions box. See BlazeCaptionsYPosition.


Did this page help you?