ActivityResultContracts.RequestMultiplePermissions.Companion

object ActivityResultContracts.RequestMultiplePermissions.Companion


Summary

Constants

static final @NonNull String

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

static final @NonNull String

Key for the extra containing all the requested permissions.

static final @NonNull String

Key for the extra containing whether permissions were granted.

Constants

ACTION_REQUEST_PERMISSIONS

public static final @NonNull String ACTION_REQUEST_PERMISSIONS

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

public static final @NonNull String EXTRA_PERMISSIONS

Key for the extra containing all the requested permissions.

EXTRA_PERMISSION_GRANT_RESULTS

public static final @NonNull String EXTRA_PERMISSION_GRANT_RESULTS

Key for the extra containing whether permissions were granted.