Agora Java API Reference for Android
|
Public Member Functions | |
abstract int | startCaptureScreen (Intent intent, AgoraRteVideoEncoderConfiguration.VideoDimensions dimensions) |
abstract void | stopCapture () |
Protected Member Functions | |
AgoraRteScreenVideoTrack (long nativeHandle) | |
|
abstract |
Starts screen capturing by specifying the Intent data obtained from MediaProjection. This method shares the whole screen.
intent | The Intent data from onActivityResult (int requestCode, int resultCode, Intent data) after you create an Intent from MediaProjection and sends the Intent to startActivityForResult. |
dimensions | The reference to the captured screen's resolution in terms of width × height. If you set width or height as 0, the dimensions will be the screen's width × height. |
|
abstract |
Stops screen capture.