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 alphaScaleFloat

backgroundFrameAnchor

val backgroundFrameAnchorPair<Float!, Float!>!

hdrLuminanceMultiplier

val hdrLuminanceMultiplierFloat

overlayFrameAnchor

val overlayFrameAnchorPair<Float!, Float!>!

rotationDegrees

val rotationDegreesFloat

scale

val scalePair<Float!, Float!>!