new ContactSubscriptionListEditor(nativeMethod)
Helper object to subscribe/unsubscribe to/from a list.
Normally not created directly. Instead use UrbanAirship.editContactSubscriptionLists.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
nativeMethod |
The native method to call on apply. |
Methods
apply(successopt, failureopt) → {ContactSubscriptionListEditor}
Applies subscription list changes.
- Source:
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
success |
function
|
<optional> |
Success callback. | ||||||
failure |
function
|
<optional> |
Failure callback.
|
subscribe(subscriptionListID, contactScope) → {ContactSubscriptionListEditor}
Subscribes to a contact list.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
subscriptionListID |
subscriptionListID
|
The subscription list identifier. |
contactScope |
contactScope
|
Defines the channel types that the change applies to. |
unsubscribe(subscriptionListID, contactScope) → {ContactSubscriptionListEditor}
Unsubscribes from a contact list.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
subscriptionListID |
subscriptionListID
|
The subscription list identifier. |
contactScope |
contactScope
|
Defines the channel types that the change applies to. |