subscribe method
- String listId,
- ChannelScope scope
Subscribes to a list in the given scope.
Implementation
void subscribe(String listId, ChannelScope scope) {
var scopeString = AirshipUtils.toChannelScopeString(scope);
_operations.add({
SUBSCRIPTIONLIST_OPERATION_ACTION: SUBSCRIPTIONLIST_OPERATION_SUBSCRIBE,
SUBSCRIPTIONLIST_OPERATION_ID: listId,
SUBSCRIPTIONLIST_OPERATION_SCOPE: scopeString
});
}