Request Screen Capture Permission Type
Callback type for requesting screen capture permission. Returns a Map containing "resultCode" (Int) and "data" (platform Intent) on success, or null if permission was denied or not available.
On Android, the app should:
Call MediaProjectionManager.createScreenCaptureIntent()
Launch the intent for activity result
Return mapOf("resultCode" to resultCode, "data" to data) on success
Return null on failure or permission denial