startScreenShare

abstract fun startScreenShare(screenShareResultData: Intent, mediaProjectionCallback: MediaProjection.Callback, callback: NECallback<Unit>? = null)

开启本端屏幕共享

Parameters

screenShareResultData

Android 的录屏请求结果 Intent,在请求录屏权限时返回

mediaProjectionCallback

录屏状态回调,用于监听录屏的结束通知

callback

回调