Package-level declarations
Functions
Link copied to clipboard
fun Fragment.registerForPermissionFlowRequestsResult(requestPermissionsContract: RequestPermissionsContract = RequestPermissionsContract(), callback: ActivityResultCallback<Map<String, Boolean>> = emptyCallback()): ActivityResultLauncher<Array<String>>
fun Fragment.registerForPermissionFlowRequestsResult(requestPermissionsContract: RequestPermissionsContract = RequestPermissionsContract(), activityResultRegistry: ActivityResultRegistry, callback: ActivityResultCallback<Map<String, Boolean>> = emptyCallback()): ActivityResultLauncher<Array<String>>
Returns a ActivityResultLauncher for this Fragment which internally notifies PermissionFlow about the state change whenever permission state is changed with this launcher.
fun ComponentActivity.registerForPermissionFlowRequestsResult(requestPermissionsContract: RequestPermissionsContract = RequestPermissionsContract(), activityResultRegistry: ActivityResultRegistry = getActivityResultRegistry(), callback: ActivityResultCallback<Map<String, Boolean>> = emptyCallback()): ActivityResultLauncher<Array<String>>
Returns a ActivityResultLauncher for this Activity which internally notifies PermissionFlow about the state change whenever permission state is changed with this launcher.