ScreenCapturePermissionData

data class ScreenCapturePermissionData(val resultCode: Int, val data: Intent)

Data class holding the MediaProjection permission result.

This data is required to start screen capture via getDisplayMedia().

Constructors

Link copied to clipboard
constructor(resultCode: Int, data: Intent)

Properties

Link copied to clipboard

The Intent containing the MediaProjection token

Link copied to clipboard

The result code from the permission activity (should be RESULT_OK)