Package 

Interface LaunchPermissionRequestScope


  • 
    public interface LaunchPermissionRequestScope
    
                        

    Scope 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 Unit AllPermissionsGranted(Function0<Unit> content) Called after the request, when the user has granted all the requested permissions for this scope.
      abstract Unit SomeGranted(Function3<List<String>, List<String>, Boolean, Unit> content) Some permissions were granted, while others were not.
      abstract Unit NoneGranted(Function1<Boolean, Unit> content) None of the permissions were granted.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.