- Enclosing class:
public static interface GeckoRuntime.ActivityDelegate
This is used to allow GeckoRuntime to start activities via the embedding application (and
Activity). Currently this is used to invoke the Google Play FIDO Activity in order to integrate with the Web Authentication API.
- See Also:
Method SummaryModifier and TypeMethodDescriptionSometimes GeckoView needs the application to perform a
Activity.startActivityForResult(Intent, int)on its behalf.
onStartActivityForResult@UiThread @Nullable GeckoResult<Intent> onStartActivityForResult
(@NonNull PendingIntent intent)Sometimes GeckoView needs the application to perform a
Activity.startActivityForResult(Intent, int)on its behalf. Implementations of this method should call that based on the information in the passed
PendingIntent, collect the result, and resolve the returned
GeckoResultwith that data. If the Activity does not return
GeckoResultmust be completed with an exception of your choosing.
GeckoResultthat is eventually resolved with the Activity result.