Package 

Interface IHostPermissionPrompt


  • 
    public interface IHostPermissionPrompt
    
                        

    Shows the Android permission dialog on the host's own activity, for wrappers whose activity is not a ComponentActivity and so cannot host an activity result launcher.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface IHostPermissionPrompt.Callback

      Receives the user's answer. May be called from any thread.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean request(String androidPermission, IHostPermissionPrompt.Callback callback) Return false, and do not call Callback, when no activity can prompt.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait