-
public interface IHostPermissionPromptShows the Android permission dialog on the host's own activity, for wrappers whose activity is not a
ComponentActivityand so cannot host an activity result launcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceIHostPermissionPrompt.CallbackReceives the user's answer. May be called from any thread.
-
Method Summary
Modifier and Type Method Description abstract Booleanrequest(String androidPermission, IHostPermissionPrompt.Callback callback)Return false, and do not call Callback, when no activity can prompt. -
-
Method Detail
-
request
abstract Boolean request(String androidPermission, IHostPermissionPrompt.Callback callback)
Return false, and do not call Callback, when no activity can prompt. Otherwise call Callback.onResult once, even if the host goes away first.
-
-
-
-