Beamable SDK
|
Google local notification relay, for scheduling and canceling background notifications that are local to the device. More...
Public Member Functions | |
void | CreateNotificationChannel (string id, string name, string description) |
Create a notification channel. More... | |
void | ScheduleNotification (string channel, string key, string title, string message, DateTime when, Dictionary< string, string > data) |
Schedule a local notification for the future. More... | |
void | CancelNotification (string key) |
Cancel a specific notification. More... | |
void | ClearDeliveredNotifications () |
Google local notification relay, for scheduling and canceling background notifications that are local to the device.
|
inline |
Cancel a specific notification.
key | Key for identifying which notification to cancel, like "DBCONSOLE" or "BUILD_TIMER". |
Implements Beamable.Api.Notification.Internal.ILocalNotificationRelay.
|
inline |
|
inline |
Create a notification channel.
id | Identifier of the channel (Android) or category (iOS) of the notification. |
name | User facing name for this channel. |
description | User facing description for this channel. |
Implements Beamable.Api.Notification.Internal.ILocalNotificationRelay.
|
inline |
Schedule a local notification for the future.
channel | Identifier of the channel (Android) or category (iOS) of the notification. |
key | Arbitrary string key that can be used for cancelling the notification. |
title | Title text of the notification. |
message | Body text of the notification. |
when | Time when the notification should arrive. This should be a future timestamp. |
data | Arbitrary key/value data to attach to the notification. |
Implements Beamable.Api.Notification.Internal.ILocalNotificationRelay.