Class Autofill.Hint

Object
org.mozilla.geckoview.Autofill.Hint
Enclosing class:
Autofill

public static final class Autofill.Hint extends Object
Autofill hint definitions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Hint indicating that a node represents an email address.
    static final int
    Hint indicating that no special handling is required.
    static final int
    Hint indicating that a node represents a password.
    static final int
    Hint indicating that a node represents an URI.
    static final int
    Hint indicating that a node represents a username.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    toString(int hint)
    Converts an autofill hint to its string representation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NONE

      public static final int NONE
      Hint indicating that no special handling is required.
      See Also:
    • EMAIL_ADDRESS

      public static final int EMAIL_ADDRESS
      Hint indicating that a node represents an email address.
      See Also:
    • PASSWORD

      public static final int PASSWORD
      Hint indicating that a node represents a password.
      See Also:
    • URI

      public static final int URI
      Hint indicating that a node represents an URI.
      See Also:
    • USERNAME

      public static final int USERNAME
      Hint indicating that a node represents a username.
      See Also:
  • Method Details

    • toString

      @AnyThread @Nullable public static String toString(int hint)
      Converts an autofill hint to its string representation.
      Parameters:
      hint - The autofill hint to convert
      Returns:
      The string representation of the hint, or null if invalid