Enum INMessageType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<INMessageType>, org.robovm.rt.bro.ValuedEnum

    public enum INMessageType
    extends java.lang.Enum<INMessageType>
    implements org.robovm.rt.bro.ValuedEnum
    Since:
    Available in iOS 11.0 and later.
    • Enum Constant Detail

      • TapbackDisliked

        public static final INMessageType TapbackDisliked
      • TapbackEmphasized

        public static final INMessageType TapbackEmphasized
      • TapbackQuestioned

        public static final INMessageType TapbackQuestioned
      • TapbackLaughed

        public static final INMessageType TapbackLaughed
      • MediaAddressCard

        public static final INMessageType MediaAddressCard
      • PaymentSent

        public static final INMessageType PaymentSent
        Since:
        Available in iOS 12.0 and later.
      • PaymentRequest

        public static final INMessageType PaymentRequest
        Since:
        Available in iOS 12.0 and later.
      • PaymentNote

        public static final INMessageType PaymentNote
        Since:
        Available in iOS 12.0 and later.
      • Animoji

        public static final INMessageType Animoji
        Since:
        Available in iOS 12.0 and later.
      • ActivitySnippet

        public static final INMessageType ActivitySnippet
        Since:
        Available in iOS 12.0 and later.
      • File

        public static final INMessageType File
        Since:
        Available in iOS 12.0 and later.
      • Link

        public static final INMessageType Link
        Since:
        Available in iOS 12.0 and later.
    • Method Detail

      • values

        public static INMessageType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (INMessageType c : INMessageType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static INMessageType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public long value()
        Specified by:
        value in interface org.robovm.rt.bro.ValuedEnum
      • valueOf

        public static INMessageType valueOf​(long n)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        n - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null