Skip to navigation

ScreenCaptureVideoSource (class)

Android SDK v3 API reference
View as Markdown

video

Class that represents screen sharing video frame source for a call. The class may be used to send video frames from a screen capture session.

Inherits from VideoSource interface.

Constructors

Methods

Constructors

ScreenCaptureVideoSource

ScreenCaptureVideoSource()

Methods

initialize

fun initialize(mediaProjectionIntent: Intent): Unit

Initializes this video source with the result of a successful screen capture request.

Parameters

ParameterTypeRequirementDescription
mediaProjectionIntentIntentResult from android.app.Activity.onActivityResult

Returns: Unit