StaticOverlaySettings


@UnstableApi
class StaticOverlaySettings : OverlaySettings


A statically valued OverlaySettings.

Summary

Nested types

A builder for StaticOverlaySettings instances.

Inherited Constants

From androidx.media3.common.OverlaySettings
const Float

The default alpha scale value of the overlay.

const Pair<Float!, Float!>!

The default coordinates for the anchor point of the overlay within the background frame.

const Float

The default luminance multiplier of an SDR overlay when overlaid on a HDR frame.

const Pair<Float!, Float!>!

The default coordinates for the anchor point of the overlay frame.

const Float

The default rotation of the overlay, counter-clockwise.

const Pair<Float!, Float!>!

The default scaling of the overlay.

Public properties

alphaScale

val alphaScale: Float

backgroundFrameAnchor

val backgroundFrameAnchor: Pair<Float!, Float!>!

hdrLuminanceMultiplier

val hdrLuminanceMultiplier: Float

overlayFrameAnchor

val overlayFrameAnchor: Pair<Float!, Float!>!

rotationDegrees

val rotationDegrees: Float

scale

val scale: Pair<Float!, Float!>!