ChannelSubscriptionListEditor

ChannelSubscriptionListEditor

new ChannelSubscriptionListEditor(nativeMethod)

Helper object to subscribe/unsubscribe to/from a list. Normally not created directly. Instead use UrbanAirship.editSubscriptionLists.
Source:
Parameters:
Name Type Description
nativeMethod The native method to call on apply.

Methods

apply(successopt, failureopt) → {ChannelSubscriptionListEditor}

Applies subscription list changes.
Source:
Parameters:
Name Type Attributes Description
success function <optional>
Success callback.
failure function <optional>
Failure callback.
Name Type Description
message string The failure message.
Returns:
Type:
ChannelSubscriptionListEditor
The subscription List editor instance.

subscribe(subscriptionListID) → {ChannelSubscriptionListEditor}

Subscribes to a list.
Source:
Parameters:
Name Type Description
subscriptionListID subscriptionListID The subscription list identifier.
Returns:
Type:
ChannelSubscriptionListEditor
The subscription list editor instance.

unsubscribe(subscriptionListID) → {ChannelSubscriptionListEditor}

Unsubscribes from a list.
Source:
Parameters:
Name Type Description
subscriptionListID subscriptionListID The subscription list identifier.
Returns:
Type:
ChannelSubscriptionListEditor
The subscription list editor instance.