Provides cross-platform access to a common subset of functionality between the iOS and Android SDKs. 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. | |
Channel.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 > messageCount) |
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 > > listMessages) |
Get the list of messages contained in the messages center. | |
Channel.TagGroupsEditor | EditContactTagGroups () |
Returns an editor for named user tag groups. | |
Channel.TagGroupsEditor | EditChannelTagGroups () |
Returns an editor for channel tag groups. | |
AttributeEditor | EditAttributes () |
AttributeEditor | EditChannelAttributes () |
Edit channel attributes. | |
AttributeEditor | EditContactAttributes () |
Edit contact attributes. | |
ChannelSubscriptionListEditor | EditChannelSubscriptionLists () |
Edit channel subscription lists. | |
ContactSubscriptionListEditor | EditContactSubscriptionLists () |
Edit contact subscription list. | |
bool | OnDeepLink (string deepLink) |
bool | OnShowMessageCenter (string? messageId) |
void | OnInboxUpdated () |
void | OnChannelCreated (string channelId) |
void | OnChange (PushNotificationStatus status) |
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. | |
Channel.TagEditor | EditDeviceTags () |
Edit the device tags. | |
void | AddCustomEvent (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 > messageCount) |
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 > > listMessages) |
Get the list of messages contained in the messages center. | |
Channel.TagGroupsEditor | EditChannelTagGroups () |
Returns an editor for channel tag groups. | |
Channel.TagGroupsEditor | EditContactTagGroups () |
Returns an editor for named user tag groups. | |
AttributeEditor | EditAttributes () |
AttributeEditor | EditChannelAttributes () |
Edit channel attributes. | |
AttributeEditor | EditContactAttributes () |
Edit contact attributes. | |
Channel.SubscriptionListEditor | EditChannelSubscriptionLists () |
Edit channel subscription lists. | |
Contact.SubscriptionListEditor | EditContactSubscriptionLists () |
Edit contact subscription list. | |
override void | ReceivedDeepLink (NSUrl url, Action completionHandler) |
void | OnDisplayMessageCenter (string messageID) |
void | OnDisplayMessageCenter () |
void | OnDismissMessageCenter () |
Properties | |
EventHandler< DeepLinkEventArgs > | OnDeepLinkReceived |
Add/remove the deep link listener. | |
EventHandler< MessageCenterEventArgs > | OnMessageCenterDisplay |
Add/remove the Message Center display listener. | |
static Airship | Instance [get] |
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 | InAppAutomationEnabled [get, set] |
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. | |
Properties inherited from AirshipDotNet.IAirship |
Events | |
EventHandler< ChannelEventArgs >? | OnChannelCreation |
Add/remove the channel creation listener. | |
EventHandler< PushNotificationStatusEventArgs >? | OnPushNotificationStatusUpdate |
Add/remove the push notification status listener. | |
EventHandler? | OnMessageCenterUpdated |
Add/remove the Message Center updated listener. | |
Events inherited from AirshipDotNet.IAirship | |
EventHandler< ChannelEventArgs > | OnChannelCreation |
Add/remove the channel creation event listener. | |
EventHandler< PushNotificationStatusEventArgs > | OnPushNotificationStatusUpdate |
Add/remove the push notification status listener. | |
EventHandler | OnMessageCenterUpdated |
Add/remove the Inbox updated event listener. | |
Provides cross-platform access to a common subset of functionality between the iOS and Android SDKs.
|
inline |
Add a custom event.
customEvent | The CustomEvent to add. |
Implements AirshipDotNet.IAirship.
|
inline |
Add a custom event.
customEvent | The CustomEvent to add. |
Implements AirshipDotNet.IAirship.
|
inline |
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. |
Implements AirshipDotNet.IAirship.
|
inline |
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. |
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.DeleteMessage | ( | string | messageId | ) |
Delete a specific message.
messageId | The identifier for the message to delete. |
Implements AirshipDotNet.IAirship.
|
inline |
Delete a specific message.
messageId | The identifier for the message to delete. |
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.DisableFeatures | ( | Features | features | ) |
void AirshipDotNet.Airship.DisableFeatures | ( | Features | features | ) |
void AirshipDotNet.Airship.DisplayMessage | ( | string | messageId | ) |
Displays a specific message.
messageId | The identifier for the message to display. |
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.DisplayMessage | ( | string | messageId | ) |
Displays a specific message.
messageId | The identifier for the message to display. |
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.DisplayMessageCenter | ( | ) |
Displays the message center.
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.DisplayMessageCenter | ( | ) |
Displays the message center.
Implements AirshipDotNet.IAirship.
AttributeEditor AirshipDotNet.Airship.EditAttributes | ( | ) |
AttributeEditor AirshipDotNet.Airship.EditAttributes | ( | ) |
AttributeEditor AirshipDotNet.Airship.EditChannelAttributes | ( | ) |
Edit channel attributes.
Implements AirshipDotNet.IAirship.
|
inline |
Edit channel attributes.
Implements AirshipDotNet.IAirship.
|
inline |
Edit channel subscription lists.
Implements AirshipDotNet.IAirship.
|
inline |
Edit channel subscription lists.
Implements AirshipDotNet.IAirship.
|
inline |
Returns an editor for channel tag groups.
Implements AirshipDotNet.IAirship.
|
inline |
Returns an editor for channel tag groups.
Implements AirshipDotNet.IAirship.
AttributeEditor AirshipDotNet.Airship.EditContactAttributes | ( | ) |
Edit contact attributes.
Implements AirshipDotNet.IAirship.
|
inline |
Edit contact attributes.
Implements AirshipDotNet.IAirship.
|
inline |
Edit contact subscription list.
Implements AirshipDotNet.IAirship.
|
inline |
Edit contact subscription list.
Implements AirshipDotNet.IAirship.
|
inline |
Returns an editor for named user tag groups.
Implements AirshipDotNet.IAirship.
|
inline |
Returns an editor for named user tag groups.
Implements AirshipDotNet.IAirship.
|
inline |
Edit the device tags.
Implements AirshipDotNet.IAirship.
Channel.TagEditor AirshipDotNet.Airship.EditDeviceTags | ( | ) |
Edit the device tags.
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.EnableFeatures | ( | Features | features | ) |
void AirshipDotNet.Airship.EnableFeatures | ( | Features | features | ) |
void AirshipDotNet.Airship.GetNamedUser | ( | Action< string > | namedUser | ) |
|
inline |
void AirshipDotNet.Airship.IdentifyContact | ( | string | namedUserId | ) |
void AirshipDotNet.Airship.IdentifyContact | ( | string | namedUserId | ) |
|
inline |
Get the list of messages contained in the messages center.
The list of message.
Implements AirshipDotNet.IAirship.
|
inline |
Get the list of messages contained in the messages center.
The list of message.
Implements AirshipDotNet.IAirship.
bool AirshipDotNet.Airship.IsAnyFeatureEnabled | ( | ) |
Indicates whether any feature is enabled.
true
if any feature is enabled; otherwise, false
.
Implements AirshipDotNet.IAirship.
bool AirshipDotNet.Airship.IsAnyFeatureEnabled | ( | ) |
Indicates whether any feature is enabled.
true
if any feature is enabled; otherwise, false
.
Implements AirshipDotNet.IAirship.
bool AirshipDotNet.Airship.IsFeatureEnabled | ( | Features | feature | ) |
Indicates whether particular features are enabled.
features | The features. |
true
if the features are enabled; otherwise, false
.
Implements AirshipDotNet.IAirship.
bool AirshipDotNet.Airship.IsFeatureEnabled | ( | Features | feature | ) |
Indicates whether particular features are enabled.
features | The features. |
true
if the features are enabled; otherwise, false
.
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.MarkMessageRead | ( | string | messageId | ) |
Mark a specific message as read.
messageId | The identifier for the message to mark as read. |
Implements AirshipDotNet.IAirship.
|
inline |
Mark a specific message as read.
messageId | The identifier for the message to mark as read. |
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.MessageCenterCount | ( | Action< int > | messageCount | ) |
Get the total count of message center messages.
The message center count.
Implements AirshipDotNet.IAirship.
|
inline |
Get the total count of message center messages.
The message center count.
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.MessageCenterUnreadCount | ( | Action< int > | unreadMessageCount | ) |
Get the message center unread count.
The message center unread count.
Implements AirshipDotNet.IAirship.
|
inline |
Get the message center unread count.
The message center unread count.
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.OnChange | ( | PushNotificationStatus | status | ) |
void AirshipDotNet.Airship.OnChannelCreated | ( | string | channelId | ) |
|
inline |
|
inline |
void AirshipDotNet.Airship.OnDisplayMessageCenter | ( | ) |
void AirshipDotNet.Airship.OnDisplayMessageCenter | ( | string | messageID | ) |
void AirshipDotNet.Airship.OnInboxUpdated | ( | ) |
|
inline |
|
inline |
void AirshipDotNet.Airship.ResetContact | ( | ) |
Reset Contacts.
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.ResetContact | ( | ) |
Reset Contacts.
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.TrackScreen | ( | string | screen | ) |
track a screen for a specific app screen
screen | The screen's identifier. to add. |
Implements AirshipDotNet.IAirship.
void AirshipDotNet.Airship.TrackScreen | ( | string | screen | ) |
track a screen for a specific app screen
screen | The screen's identifier. to add. |
Implements AirshipDotNet.IAirship.
|
get |
|
getset |
|
getset |
Gets or sets the In-App Automation display interval.
The display interval.
Implements AirshipDotNet.IAirship.
|
getset |
|
getset |
Gets or sets whether In-App Automation is paused.
Whether In-App Automation is paused.
Implements AirshipDotNet.IAirship.
|
staticget |
|
addremove |
Add/remove the deep link listener.
Implements AirshipDotNet.IAirship.
|
addremove |
Add/remove the Message Center display listener.
Implements AirshipDotNet.IAirship.
|
get |
|
getset |
Indicates whether user notifications are enabled.
true
if notifications are enabled; otherwise, false
.
Implements AirshipDotNet.IAirship.
EventHandler< ChannelEventArgs > AirshipDotNet.Airship.OnChannelCreation |
Add/remove the channel creation listener.
EventHandler AirshipDotNet.Airship.OnMessageCenterUpdated |
Add/remove the Message Center updated listener.
EventHandler< PushNotificationStatusEventArgs > AirshipDotNet.Airship.OnPushNotificationStatusUpdate |
Add/remove the push notification status listener.