Airship.Net
AirshipDotNet.Channel.TagEditor Class Reference

Editor for Channel and Named User tags. More...

Public Member Functions

TagEditor AddTag (string tag)
 Add a tag to the device.
 
TagEditor AddTags (ICollection< string > tags)
 Add tags to the device.
 
TagEditor RemoveTag (string tag)
 Remove a tag from the device.
 
TagEditor RemoveTags (ICollection< string > tags)
 Remove tags from the device.
 
TagEditor Clear ()
 Clear tags before executing add/remove operations.
 
void Apply ()
 Apply the tag changes.
 

Detailed Description

Editor for Channel and Named User tags.

Member Function Documentation

◆ AddTag()

TagEditor AirshipDotNet.Channel.TagEditor.AddTag ( string tag)
inline

Add a tag to the device.

Returns
The tag editor.
Parameters
tagThe tag to add.

◆ AddTags()

TagEditor AirshipDotNet.Channel.TagEditor.AddTags ( ICollection< string > tags)
inline

Add tags to the device.

Returns
The tag editor.
Parameters
tagsTags to add.

◆ Apply()

void AirshipDotNet.Channel.TagEditor.Apply ( )
inline

Apply the tag changes.

◆ Clear()

TagEditor AirshipDotNet.Channel.TagEditor.Clear ( )
inline

Clear tags before executing add/remove operations.

Returns
The tag editor.

◆ RemoveTag()

TagEditor AirshipDotNet.Channel.TagEditor.RemoveTag ( string tag)
inline

Remove a tag from the device.

Returns
The tag editor.
Parameters
tagTag to remove.

◆ RemoveTags()

TagEditor AirshipDotNet.Channel.TagEditor.RemoveTags ( ICollection< string > tags)
inline

Remove tags from the device.

Returns
The tag editor.
Parameters
tagsTags to remove.