androidx.media3.ui.compose

Annotations

SurfaceType

The type of surface used for media playbacks.

Composables

ContentFrame

A container for displaying media content from a Player.

PlayerSurface

Provides a dedicated drawing android.view.Surface for media playbacks using a Player.

Constants summary

Constants

SURFACE_TYPE_SURFACE_VIEW

@UnstableApi
const val SURFACE_TYPE_SURFACE_VIEW = 1: Int

Surface type to create android.view.SurfaceView.

SURFACE_TYPE_TEXTURE_VIEW

@UnstableApi
const val SURFACE_TYPE_TEXTURE_VIEW = 2: Int

Surface type to create android.view.TextureView.