startScreenSharing

fun startScreenSharing(mediaProjectionPermissionResultData: Intent)

User needs to have OwnCapability.Screenshare capability in order to start screen sharing.

Parameters

mediaProjectionPermissionResultData
  • intent data returned from the activity result after asking for screen sharing permission by launching MediaProjectionManager.createScreenCaptureIntent(). See https://developer.android.com/guide/topics/large-screens/media-projection#recommended_approach