Struct MediaSurfaceQueueState
sealed struct MediaSurfaceQueueState
MediaSurfaceQueueState provides ability for client to control the
presentation state of MediaSurface.
Fields
Constants
PAUSE
This state pauses presenting buffers in queue. The buffers are not discarded and Resume state should be set to present the buffers againMediaSurfaceQueueState={0}
RESUME
This resumes presenting buffers in queue.MediaSurfaceQueueState={1}
DISCARD
Discards all buffer in presentation queue.MediaSurfaceQueueState={2}
DISCARD_WITH_CLEAR
Discards all buffer in presentation queue and clear contentMediaSurfaceQueueState={3}
CLEAR_INTERNAL_CACHE
Delete any internal cache of buffers waiting to be presented again. This can be useful to ensure MediaSurface has reset its internal cache without discarding the presentation queue.MediaSurfaceQueueState={4}
REFRESH
Refresh buffer queueMediaSurfaceQueueState={5}

