StartShareScreenOptions

data class StartShareScreenOptions(val parameters: StartShareScreenParameters, val targetWidth: Int? = null, val targetHeight: Int? = null, val mediaProjectionData: Map<String, Any?>? = null)

Options for starting screen sharing.

Constructors

Link copied to clipboard
constructor(parameters: StartShareScreenParameters, targetWidth: Int? = null, targetHeight: Int? = null, mediaProjectionData: Map<String, Any?>? = null)

Properties

Link copied to clipboard

Platform-specific data for screen capture permission. On Android, this should contain "resultCode" and "data" from MediaProjectionManager permission result. Use ScreenCaptureHelper on Android to obtain this data.

Link copied to clipboard

The parameters for screen sharing

Link copied to clipboard
val targetHeight: Int? = null

Desired capture height (default: 1080)

Link copied to clipboard
val targetWidth: Int? = null

Desired capture width (default: 1920)