Airship Push interface.
More...
◆ EnableUserNotifications()
Enables user notifications with optional fallback behavior.
- Parameters
-
| args | Optional arguments for enabling notifications. |
- Returns
- True if notifications were enabled, false otherwise.
◆ GetPushNotificationStatus()
Gets the push notification status.
- Returns
- The current push notification status.
◆ IsOptedIn()
| Task< bool > AirshipDotNet.IAirshipPush.IsOptedIn |
( |
| ) |
|
Checks if notifications are opted in.
- Returns
- True if opted in, false otherwise.
◆ IsUserNotificationsEnabled()
| Task< bool > AirshipDotNet.IAirshipPush.IsUserNotificationsEnabled |
( |
| ) |
|
Checks if user notifications are enabled.
- Returns
- True if user notifications are enabled, false otherwise.
◆ ResetBadge()
| Task AirshipDotNet.IAirshipPush.ResetBadge |
( |
| ) |
|
Resets the badge count.
- Returns
- A task that completes when the badge is reset.
◆ SetUserNotificationsEnabled()
| Task AirshipDotNet.IAirshipPush.SetUserNotificationsEnabled |
( |
bool | enabled | ) |
|
Enables or disables user notifications.
- Parameters
-
| enabled | True to enable, false to disable. |
◆ UserNotificationsEnabled
| bool AirshipDotNet.IAirshipPush.UserNotificationsEnabled |
|
getset |
Gets or sets whether user notifications are enabled.