Version
TypeOfNetwork
public enum TypeOfNetwork
Extends Enum<TypeOfNetwork>
Represents the Type of Number (TON) used in SMS addressing, identifying the format or context of the address (e.g., international, alphanumeric, etc.) according to SMPP specifications.
Enum Constants:
Constant | Description |
UNKNOWN | Unknown or unspecified type of number. |
INTERNATIONAL | International number format, typically starting with '+' and country code. |
NATIONAL | National format number, valid only within the local numbering plan. |
NETWORK | Network-specific number, defined by the carrier. |
SUBSCRIBER | Subscriber number without international or national prefixes. |
ALPHANUMERIC | Alphanumeric address, typically used for sender IDs like company names. |
ABBREVIATED | Short code or abbreviated number, often for services or campaigns. |
RESERVED_EXTN | Reserved for future extension or custom implementations. |
Methods:
public static TypeOfNetwork[] values() | Returns all enum constants in declared order. |
public static TypeOfNetwork valueOf(String name) | Returns the constant with the specified name. |
public static TypeOfNetwork fromInt(int i) | Converts an integer to its corresponding enum constant. |
public int getValue() | Returns the integer value associated with the constant. |
Methods inherited from class java.lang.Enum |
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | |
Methods inherited from class java.lang.Object |
|
getClass, notify, notifyAll, wait, wait, wait |
Start innovating with Mobius
What's next? Let's talk!