new TagGroupEditor(nativeMethod)
Helper object to edit tag groups.
Normally not created directly. Instead use UrbanAirship.editNamedUserTagGroups
or UrbanAirship.editChannelTagGroups.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
nativeMethod |
The native method to call on apply. |
Methods
addTags(tagGroup, tags) → {TagGroupEditor}
Adds tags to a tag group.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
tagGroup |
string
|
The tag group. |
tags |
array.<string>
|
Tags to add. |
apply(successopt, failureopt) → {TagGroupEditor}
Applies the tag changes.
- Source:
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
success |
function
|
<optional> |
Success callback. | ||||||
failure |
function
|
<optional> |
Failure callback.
|
removeTags(tagGroup, tags) → {TagGroupEditor}
Removes a tag from the tag group.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
tagGroup |
string
|
The tag group. |
tags |
array.<string>
|
Tags to remove. |