Class GeckoSession.PromptDelegate.IdentityCredential.PrivacyPolicyPrompt

Object
org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
org.mozilla.geckoview.GeckoSession.PromptDelegate.IdentityCredential.PrivacyPolicyPrompt
Enclosing class:
GeckoSession.PromptDelegate.IdentityCredential

public static class GeckoSession.PromptDelegate.IdentityCredential.PrivacyPolicyPrompt extends GeckoSession.PromptDelegate.BasePrompt
PrivacyPolicyPrompt contains the information necessary to represent a prompt that allows the user to indicate if agrees or not with the privacy policy of the identity credential provider.
  • Field Details

    • privacyPolicyUrl

      @NonNull public final String privacyPolicyUrl
      The URL where the policy for using this provider is hosted.
    • termsOfServiceUrl

      @NonNull public final String termsOfServiceUrl
      The URL where the terms of service for using this provider are hosted.
    • providerDomain

      @NonNull public final String providerDomain
      The domain of the provider.
    • host

      @NonNull public final String host
      The host of the provider.
    • icon

      @Nullable public final String icon
      A base64 string for given icon for the provider; may be null.
  • Constructor Details

    • PrivacyPolicyPrompt

      protected PrivacyPolicyPrompt(@NonNull String id, @NonNull String privacyPolicyUrl, @NonNull String termsOfServiceUrl, @NonNull String providerDomain, @NonNull String host, @Nullable String icon, @NonNull GeckoSession.PromptDelegate.BasePrompt.Observer observer)
      Parameters:
      id - The identification for this prompt.
      privacyPolicyUrl - The URL where the policy for using this provider is hosted.
      termsOfServiceUrl - The URL where the terms of service for using this provider are hosted.
      providerDomain - The domain of the provider.
      host - The host of the provider.
      icon - A base64 string for given icon for the provider; may be null.
      observer - A callback to notify when the prompt has been completed.
  • Method Details