Class UIKeyboardType


  • public final class UIKeyboardType
    extends java.lang.Object
    UIKeyboardType Requests that a particular keyboard type be displayed when a text widget becomes first responder. Note: Some keyboard/input methods types may not support every variant. In such cases, the input method will make a best effort to find a close match to the requested type (e.g. displaying UIKeyboardTypeNumbersAndPunctuation type if UIKeyboardTypeNumberPad is not supported).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Alphabet
      Deprecated
      static long ASCIICapable
      Displays a keyboard which can enter ASCII characters
      static long ASCIICapableNumberPad
      A number pad (0-9) that will always be ASCII digits.
      static long DecimalPad
      A number pad with a decimal point.
      static long Default
      Default type for the current input method.
      static long EmailAddress
      A type optimized for multiple email address entry (shows space @ . prominently).
      static long NamePhonePad
      A type optimized for entering a person's name or phone number.
      static long NumberPad
      A number pad with locale-appropriate digits (0-9, ۰-۹, ०-९, etc.).
      static long NumbersAndPunctuation
      Numbers and assorted punctuation.
      static long PhonePad
      A phone pad (1-9, *, 0, #, with letters under the numbers).
      static long Twitter
      A type optimized for twitter text entry (easy access to @ #)
      static long URL
      A type optimized for URL entry (shows . / .com prominently).
      static long WebSearch
      A default keyboard type with URL-oriented addition (shows space . prominently).
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Default

        public static final long Default
        Default type for the current input method.
        See Also:
        Constant Field Values
      • ASCIICapable

        public static final long ASCIICapable
        Displays a keyboard which can enter ASCII characters
        See Also:
        Constant Field Values
      • NumbersAndPunctuation

        public static final long NumbersAndPunctuation
        Numbers and assorted punctuation.
        See Also:
        Constant Field Values
      • URL

        public static final long URL
        A type optimized for URL entry (shows . / .com prominently).
        See Also:
        Constant Field Values
      • NumberPad

        public static final long NumberPad
        A number pad with locale-appropriate digits (0-9, ۰-۹, ०-९, etc.). Suitable for PIN entry.
        See Also:
        Constant Field Values
      • PhonePad

        public static final long PhonePad
        A phone pad (1-9, *, 0, #, with letters under the numbers).
        See Also:
        Constant Field Values
      • NamePhonePad

        public static final long NamePhonePad
        A type optimized for entering a person's name or phone number.
        See Also:
        Constant Field Values
      • EmailAddress

        public static final long EmailAddress
        A type optimized for multiple email address entry (shows space @ . prominently).
        See Also:
        Constant Field Values
      • DecimalPad

        public static final long DecimalPad
        A number pad with a decimal point.
        See Also:
        Constant Field Values
      • Twitter

        public static final long Twitter
        A type optimized for twitter text entry (easy access to @ #)
        See Also:
        Constant Field Values
      • WebSearch

        public static final long WebSearch
        A default keyboard type with URL-oriented addition (shows space . prominently).
        See Also:
        Constant Field Values
      • ASCIICapableNumberPad

        public static final long ASCIICapableNumberPad
        A number pad (0-9) that will always be ASCII digits.
        See Also:
        Constant Field Values