-
public final class RequestPermissionsContract extends ActivityResultContract<Array<String>, Map<String, Boolean>>
An ActivityResultContract which delegates request and response to ActivityResultContracts.RequestMultiplePermissions and silently notifier PermissionFlow regarding state change of a permissions which are requested through ActivityResultLauncher.
Refer to ComponentActivity.registerForPermissionFlowRequestsResult for actual usage.
-
-
Constructor Summary
Constructors Constructor Description RequestPermissionsContract(ActivityResultContracts.RequestMultiplePermissions contract, PermissionFlow permissionFlow)
-
Method Summary
-
-
Constructor Detail
-
RequestPermissionsContract
RequestPermissionsContract(ActivityResultContracts.RequestMultiplePermissions contract, PermissionFlow permissionFlow)
-
-
-
-