messageTypesForProvider

All the message types that the messaging provider handles. Every messaging provider can handle one or more MessageTypes. However, each MessageType should always be handled by only a single messaging provider in the system.

Example:

MessageType("com.company.messagingappname.type.TYPE1")
MessageType("com.company.messagingappname.type.TYPE2")

The package naming convention for the type ensures that there is no naming collision with other messaging providers.

Note: The MessageType class already contains a predefined message type like MessageType.SMS.

Note: This can be used to find out if a particular type of messaging service is supported, by checking if its corresponding message type is supported.

The map key is the MessageType. The value of the map indicates if messaging is enabled for that particular message type.

An example of when a message type is disabled, is when there is an SMS message provider available, but no phone is currently connected via Bluetooth.