Common Airship Interface. More...
Public Member Functions | |
void | EnableFeatures (Features features) |
Enables particular features. | |
void | DisableFeatures (Features features) |
Disables particular features. | |
bool | IsFeatureEnabled (Features feature) |
Indicates whether particular features are enabled. | |
bool | IsAnyFeatureEnabled () |
Indicates whether any feature is enabled. | |
void | GetNamedUser (Action< string > namedUser) |
Gets the named user ID. | |
void | ResetContact () |
Reset Contacts. | |
void | IdentifyContact (string namedUserId) |
Sets the named user ID. | |
TagEditor | EditDeviceTags () |
Edit the device tags. | |
void | AddCustomEvent (Analytics.CustomEvent customEvent) |
Add a custom event. | |
void | TrackScreen (string screen) |
track a screen for a specific app screen | |
void | AssociateIdentifier (string key, string identifier) |
Associate a custom identifier. | |
void | DisplayMessageCenter () |
Displays the message center. | |
void | DisplayMessage (string messageId) |
Displays a specific message. | |
void | MarkMessageRead (string messageId) |
Mark a specific message as read. | |
void | DeleteMessage (string messageId) |
Delete a specific message. | |
void | MessageCenterUnreadCount (Action< int > unreadMessageCount) |
Get the message center unread count. | |
void | MessageCenterCount (Action< int > messageCount) |
Get the total count of message center messages. | |
void | InboxMessages (Action< List< MessageCenter.Message > > messages) |
Get the list of messages contained in the messages center. | |
TagGroupsEditor | EditContactTagGroups () |
Returns an editor for named user tag groups. | |
TagGroupsEditor | EditChannelTagGroups () |
Returns an editor for channel tag groups. | |
AttributeEditor | EditChannelAttributes () |
Edit channel attributes. | |
AttributeEditor | EditContactAttributes () |
Edit contact attributes. | |
ChannelSubscriptionListEditor | EditChannelSubscriptionLists () |
Edit channel subscription lists. | |
ContactSubscriptionListEditor | EditContactSubscriptionLists () |
Edit contact subscription list. | |
Properties | |
bool | UserNotificationsEnabled [get, set] |
Indicates whether user notifications are enabled. | |
Features | EnabledFeatures [get, set] |
Currently enabled features. | |
IEnumerable< string > | Tags [get] |
Gets the tags currently set for the device. | |
string | ChannelId [get] |
Get the channel ID for the device. | |
bool | InAppAutomationPaused [get, set] |
Gets or sets whether In-App Automation is paused. | |
TimeSpan | InAppAutomationDisplayInterval [get, set] |
Gets or sets the In-App Automation display interval. | |
Events | |
EventHandler< ChannelEventArgs > | OnChannelCreation |
Add/remove the channel creation event listener. | |
EventHandler< PushNotificationStatusEventArgs > | OnPushNotificationStatusUpdate |
Add/remove the push notification status listener. | |
EventHandler< DeepLinkEventArgs > | OnDeepLinkReceived |
Add/remove the deep link event listener. | |
EventHandler< MessageCenterEventArgs > | OnMessageCenterDisplay |
Add/remove the message center display event listener. | |
EventHandler | OnMessageCenterUpdated |
Add/remove the Inbox updated event listener. | |
Common Airship Interface.
void AirshipDotNet.IAirship.AddCustomEvent | ( | Analytics.CustomEvent | customEvent | ) |
Add a custom event.
customEvent | The CustomEvent to add. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.AssociateIdentifier | ( | string | key, |
string | identifier ) |
Associate a custom identifier.
Previous identifiers will be replaced by the new identifiers each time AssociateIdentifier is called. It is a set operation.
key | The custom key for the identifier. |
identifier | The value of the identifier, or null to remove the identifier. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.DeleteMessage | ( | string | messageId | ) |
Delete a specific message.
messageId | The identifier for the message to delete. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.DisableFeatures | ( | Features | features | ) |
Disables particular features.
features | The features. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.DisplayMessage | ( | string | messageId | ) |
Displays a specific message.
messageId | The identifier for the message to display. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.DisplayMessageCenter | ( | ) |
Displays the message center.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
AttributeEditor AirshipDotNet.IAirship.EditChannelAttributes | ( | ) |
Edit channel attributes.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
ChannelSubscriptionListEditor AirshipDotNet.IAirship.EditChannelSubscriptionLists | ( | ) |
Edit channel subscription lists.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
TagGroupsEditor AirshipDotNet.IAirship.EditChannelTagGroups | ( | ) |
Returns an editor for channel tag groups.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
AttributeEditor AirshipDotNet.IAirship.EditContactAttributes | ( | ) |
Edit contact attributes.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
ContactSubscriptionListEditor AirshipDotNet.IAirship.EditContactSubscriptionLists | ( | ) |
Edit contact subscription list.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
TagGroupsEditor AirshipDotNet.IAirship.EditContactTagGroups | ( | ) |
Returns an editor for named user tag groups.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
TagEditor AirshipDotNet.IAirship.EditDeviceTags | ( | ) |
Edit the device tags.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.EnableFeatures | ( | Features | features | ) |
Enables particular features.
features | The features. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.GetNamedUser | ( | Action< string > | namedUser | ) |
Gets the named user ID.
The named user ID.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.IdentifyContact | ( | string | namedUserId | ) |
Sets the named user ID.
The named user ID.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.InboxMessages | ( | Action< List< MessageCenter.Message > > | messages | ) |
Get the list of messages contained in the messages center.
The list of message.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
bool AirshipDotNet.IAirship.IsAnyFeatureEnabled | ( | ) |
Indicates whether any feature is enabled.
true
if any feature is enabled; otherwise, false
.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
bool AirshipDotNet.IAirship.IsFeatureEnabled | ( | Features | feature | ) |
Indicates whether particular features are enabled.
features | The features. |
true
if the features are enabled; otherwise, false
.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.MarkMessageRead | ( | string | messageId | ) |
Mark a specific message as read.
messageId | The identifier for the message to mark as read. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.MessageCenterCount | ( | Action< int > | messageCount | ) |
Get the total count of message center messages.
The message center count.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.MessageCenterUnreadCount | ( | Action< int > | unreadMessageCount | ) |
Get the message center unread count.
The message center unread count.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.ResetContact | ( | ) |
Reset Contacts.
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
void AirshipDotNet.IAirship.TrackScreen | ( | string | screen | ) |
track a screen for a specific app screen
screen | The screen's identifier. to add. |
Implemented in AirshipDotNet.Airship, and AirshipDotNet.Airship.
|
get |
|
getset |
|
getset |
Gets or sets the In-App Automation display interval.
The display interval.
Implemented in AirshipDotNet.Airship.
|
getset |
Gets or sets whether In-App Automation is paused.
Whether In-App Automation is paused.
Implemented in AirshipDotNet.Airship.
|
get |
|
getset |
Indicates whether user notifications are enabled.
true
if notifications are enabled; otherwise, false
.
Implemented in AirshipDotNet.Airship.
EventHandler<ChannelEventArgs> AirshipDotNet.IAirship.OnChannelCreation |
Add/remove the channel creation event listener.
The channel creation event listener.
EventHandler<DeepLinkEventArgs> AirshipDotNet.IAirship.OnDeepLinkReceived |
Add/remove the deep link event listener.
The deep link event listener.
Implemented in AirshipDotNet.Airship.
EventHandler<MessageCenterEventArgs> AirshipDotNet.IAirship.OnMessageCenterDisplay |
Add/remove the message center display event listener.
The message center display listener.
Implemented in AirshipDotNet.Airship.
EventHandler AirshipDotNet.IAirship.OnMessageCenterUpdated |
Add/remove the Inbox updated event listener.
The Inbox updated listener.
EventHandler<PushNotificationStatusEventArgs> AirshipDotNet.IAirship.OnPushNotificationStatusUpdate |
Add/remove the push notification status listener.