Class Autofill.InputType

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

public static final class Autofill.InputType extends Object
Input type definitions for autofill.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Indicates that a node is not a known input type.
    static final int
    Indicates that a node is a number input type.
    static final int
    Indicates that a node is a phone input type.
    static final int
    Indicates that a node is a text input type.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    toString(int type)
    Converts an autofill input type 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
      Indicates that a node is not a known input type.
      See Also:
    • TEXT

      public static final int TEXT
      Indicates that a node is a text input type. Example: <input type="text">
      See Also:
    • NUMBER

      public static final int NUMBER
      Indicates that a node is a number input type. Example: <input type="number">
      See Also:
    • PHONE

      public static final int PHONE
      Indicates that a node is a phone input type. Example: <input type="tel">
      See Also:
  • Method Details

    • toString

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