Class SmsType


  • public class SmsType
    extends java.lang.Object
    SmsType

    SMS type (SmsType.SmsPro -> SMS PRO, SmsType.SmsEco -> SMS ECO, SmsType.SmsTwoWay -> SMS 2WAY)

    • Field Detail

      • SmsPro

        public static final SmsType SmsPro
      • SmsEco

        public static final SmsType SmsEco
      • SmsTwoWay

        public static final SmsType SmsTwoWay
    • Method Detail

      • of

        public static SmsType of​(long value)
        Returns a SmsType with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.
        Parameters:
        value - value to be wrapped as SmsType
      • value

        public long value()
      • isKnown

        public boolean isKnown()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • values

        public static SmsType[] values()