(Un)Subscribe Broadcast Topic
The (Un)Subscribe Broadcast Topic action (screenshot below) enables a solution to subscribe to and unsubscribe from a Broadcast topic. Select the appropriate radio button and specify the Broadcast topic to which you want to subscribe or unsubscribe. The topic name must be a string.
Note the following points:
•From the time that the Subscribe action is triggered till the time that it is unsubscribed or closed or loses contact with the server, the solution will be subscribed and receive messages that are published to that topic.
•If the subscription ends, then it must be explicitly started with another Subscribe action.
•The Unsubscribe action causes the solution to not receive any messages published to the unsubscribed topic from the time that the Unsubscribe action is triggered. For the solution to receive messages on this topic again, a Subscribe action must be triggered.
MobileTogether extension functions
MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.