AirshipChannel class

Constructors

AirshipChannel(AirshipModule module)

Properties

hashCode → int
The hash code for this object.
no setterinherited
identifier → Future<String?>
Gets the channel ID.
no setter
onChannelCreated → Stream<ChannelCreatedEvent>
Gets channel created event stream.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscriptionLists → Future<List<String>>
Gets channel subscription lists.
no setter
tags → Future<List<String>>
Gets the channel tags.
no setter

Methods

addTags(List<String> tags) → Future<void>
Adds channel tags. Deprecated. Use editTags() instead.
editAttributes() AttributeEditor
Creates an AttributeEditor to modify the channel attributes.
editSubscriptionLists() SubscriptionListEditor
Creates a SubscriptionListEditor to modify the subscription lists associated with the channel.
editTagGroups() TagGroupEditor
Creates a TagGroupEditor to modify the channel tag groups.
editTags() TagEditor
Creates a TagEditor to modify the device tags.
enableChannelCreation() → Future<void>
Enables channel creation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeTags(List<String> tags) → Future<void>
Removes channel tags. Deprecated. Use editTags() instead.
toString() → String
A string representation of this object.
inherited
waitForChannelId() → Future<String>
Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After the channel ID is created, this method functions the same as identifier.

Operators

operator ==(Object other) → bool
The equality operator.
inherited