Acts as the public interface used when interfacing with UserWise PN-related content.
More...
Acts as the public interface used when interfacing with UserWise PN-related content.
◆ GetModuleName()
string UserWiseSDK.PushNotifications.PushNotificationsModule.GetModuleName |
( |
| ) |
|
◆ GetPushNotification()
void UserWiseSDK.PushNotifications.PushNotificationsModule.GetPushNotification |
( |
string |
pushNotificationId, |
|
|
Action< PushNotification > |
completed |
|
) |
| |
|
inline |
Retrieves the push notification's data from the UserWise service.
- Parameters
-
notificationId | The notification's ID. |
◆ RegisterDeviceToken()
void UserWiseSDK.PushNotifications.PushNotificationsModule.RegisterDeviceToken |
( |
NotificationPlatform |
platform, |
|
|
string |
deviceToken, |
|
|
Action< bool > |
completed |
|
) |
| |
|
inline |
Registers the provided device token for the current player, within UserWise.
- Parameters
-
platform | The platform the device token is for. |
deviceToken | The device token to register. |
◆ UnregisterDeviceToken()
void UserWiseSDK.PushNotifications.PushNotificationsModule.UnregisterDeviceToken |
( |
string |
deviceToken, |
|
|
Action< bool > |
completed |
|
) |
| |
|
inline |
Severes the link between the provided device token and the current player, within UserWise.
- Parameters
-
deviceToken | The device token to register. |
◆ UpdateImpressionState()
Sets the notification as viewed for the player. This should be called after displaying the message to the user.
- Parameters
-
pushNotificationImpression | Impression to set as viewed |
The documentation for this class was generated from the following file:
- userwise_sdk_source/userwise_sdk/PushNotifications/PushNotificationsModule.cs