setPlaybackFrame
Updates the background image from the given playback frame. Call on the main thread when [PlaybackSession] delivers a new frame. If [frame] is null or [frame.image] is null, the view is cleared. Applies a display transform so the image orientation matches the current device orientation. Uses frame metadata [screenOrientation] when present, with fallback to resolution-based inference.
Declaration
fun setPlaybackFrame(frame: PlaybackFrame?)
Updates the background image from the given playback frame. Call on the main thread when [PlaybackSession] delivers a new frame. If [frame] is null or [frame.image] is null, the view is cleared. Applies a display transform so the image orientation matches the current device orientation. Uses frame metadata [screenOrientation] when present, with fallback to resolution-based inference.