Airship.Net
AirshipDotNet.NotificationResponseEventArgs Class Reference

Event args for the user interacting with a notification. More...

Inherits EventArgs.

Public Member Functions

 NotificationResponseEventArgs (PushReceivedEventArgs push, string? actionId, bool isForeground)

Properties

PushReceivedEventArgs Push [get]
 Gets the underlying push payload.
string? ActionId [get]
 Gets the action identifier the user tapped, or null for the default tap.
bool IsForeground [get]
 True if the action ran in the foreground.

Detailed Description

Event args for the user interacting with a notification.

Constructor & Destructor Documentation

◆ NotificationResponseEventArgs()

AirshipDotNet.NotificationResponseEventArgs.NotificationResponseEventArgs ( PushReceivedEventArgs push,
string? actionId,
bool isForeground )
inline

Property Documentation

◆ ActionId

string? AirshipDotNet.NotificationResponseEventArgs.ActionId
get

Gets the action identifier the user tapped, or null for the default tap.

◆ IsForeground

bool AirshipDotNet.NotificationResponseEventArgs.IsForeground
get

True if the action ran in the foreground.

◆ Push

PushReceivedEventArgs AirshipDotNet.NotificationResponseEventArgs.Push
get

Gets the underlying push payload.