MediaProjectionSource
class MediaProjectionSource(context: Context, mediaProjection: MediaProjection) : VideoSource, Video.OnSurfaceChangedListener
A video source that captures a display by the MediaProjection API.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Register a listener to receive notifications about when the MediaProjection changes state.
Link copied to clipboard
Tells the receiver to start running.
Link copied to clipboard
Tells the receiver to stop running.
Link copied to clipboard
Unregister a MediaProjection listener.