-
public interface LaunchPermissionRequestScopeScope for the LaunchPermissionRequest composable. Used to register the content callbacks for when the permissions are available or not.
-
-
Method Summary
Modifier and Type Method Description abstract UnitAllPermissionsGranted(Function0<Unit> content)Called after the request, when the user has granted all the requested permissions for this scope. abstract UnitSomeGranted(Function3<List<String>, List<String>, Boolean, Unit> content)Some permissions were granted, while others were not. abstract UnitNoneGranted(Function1<Boolean, Unit> content)None of the permissions were granted. -
-
Method Detail
-
AllPermissionsGranted
@Composable() abstract Unit AllPermissionsGranted(Function0<Unit> content)
Called after the request, when the user has granted all the requested permissions for this scope.
-
SomeGranted
@Composable() abstract Unit SomeGranted(Function3<List<String>, List<String>, Boolean, Unit> content)
Some permissions were granted, while others were not. Use the content parameters to decide what to do in certain cases if some permissions are optional to you.
-
NoneGranted
@Composable() abstract Unit NoneGranted(Function1<Boolean, Unit> content)
None of the permissions were granted.
-
-
-
-