ActivityResultContracts.RequestMultiplePermissions.Companion

object ActivityResultContracts.RequestMultiplePermissions.Companion


Summary

Constants

const String

An Intent action for making a permission request via a regular Activity.startActivityForResult API.

const String

Key for the extra containing all the requested permissions.

const String

Key for the extra containing whether permissions were granted.

Constants

ACTION_REQUEST_PERMISSIONS

const val ACTION_REQUEST_PERMISSIONSString

An Intent action for making a permission request via a regular Activity.startActivityForResult API.

Caller must provide a String[] extra EXTRA_PERMISSIONS

Result will be delivered via Activity.onActivityResult with String[]EXTRA_PERMISSIONS and int[]EXTRA_PERMISSION_GRANT_RESULTS, similar to Activity.onRequestPermissionsResult

EXTRA_PERMISSIONS

const val EXTRA_PERMISSIONSString

Key for the extra containing all the requested permissions.

EXTRA_PERMISSION_GRANT_RESULTS

const val EXTRA_PERMISSION_GRANT_RESULTSString

Key for the extra containing whether permissions were granted.