AirshipSDK.AirshipPushAndroid Class Reference
Android Push. More...
Inheritance diagram for AirshipSDK.AirshipPushAndroid:
Collaboration diagram for AirshipSDK.AirshipPushAndroid:Public Member Functions | |
| bool | IsNotificationChannelEnabled (string channel) |
| Checks if a notification category/channel is enabled. | |
| void | SetNotificationConfig (AndroidNotificationConfig config) |
| Sets the notification config. | |
| void | SetForegroundNotificationsEnabled (bool enabled) |
| Enables/disables showing notifications in the foreground. | |
| bool | IsForegroundNotificationsEnabled () |
| Checks if notifications show in the foreground. | |
Detailed Description
Android Push.
Member Function Documentation
◆ IsForegroundNotificationsEnabled()
|
inline |
Checks if notifications show in the foreground.
- Returns
- true if notifications show in the foreground, otherwise false.
Implements AirshipSDK.IAirshipPushAndroid.
◆ IsNotificationChannelEnabled()
Checks if a notification category/channel is enabled.
- Parameters
-
channel The channel name.
- Returns
- true if the channel is enabled, otherwise false.
Implements AirshipSDK.IAirshipPushAndroid.
◆ SetForegroundNotificationsEnabled()
Enables/disables showing notifications in the foreground.
- Parameters
-
enabled true to enable, false to disable.
Implements AirshipSDK.IAirshipPushAndroid.
References AirshipSDK.List.
◆ SetNotificationConfig()
|
inline |
Sets the notification config.
- Parameters
-
config The notification config.
Implements AirshipSDK.IAirshipPushAndroid.
References AirshipSDK.List.
1.9.8