Click or drag to resize
ZenophSMSgetMessageTypes Method
Gets the string representations of all the MSGTYPE enumerations.

Namespace: Zenoph.SMSLib
Assembly: Zenoph.SMSLib (in Zenoph.SMSLib.dll) Version: 2015.9.30.0 (2015.09.30.0)
public static List<string> getMessageTypes()

Return Value

Type: ListString
Returns the string representation of all the MSGTYPE enumerations.
Exception Thrown if the message types have not been loaded from the SMS server.

The message types are loaded after a successful authentication. Therefore, it is important to perform authentication before calling this method for the message types.

The string representations of the MSGTYPE enumerations can be shown to users for selection of the type of message to be submitted. Then when setting the message type, setMessageType(String) can be called with the selected message type which will be converted to the corresponding MSGTYPE enumeration.

See Also