Rate this page:

ScreenCaptureVideoSource

Methods

initialize

Copy URL
fun initialize(mediaProjectionIntent: 

Intent

):

Unit

Retrieves the MediaProjection obtained from a successful screen capture request.

Parameters

  • mediaProjectionIntent:

    Intent

    The resulting data from android.app.Activity.onActivityResult

Returns

  • type:

    Unit

setListener

Copy URL
fun setListener(listener: 

ScreenCaptureListener?

):

Unit

This API is in beta and subject to change.

Sets ScreenCaptureListener to monitor its events.

Parameters

Returns

  • type:

    Unit

Props

videoSource

Copy URL
val videoSource: 

VideoSource?

Returns

  • type:

    VideoSource?