NotificationCancelled
Track when a notification is cancelled.
Name
Type
Select
Backend name
Description
title
string
Required
title
Title of notification.
cancelledTimeUtc
DateTime
Required
timestamp
Time notification was cancelled.
message
string
Required
message
What message was included in the notification.
type
string
Required
type
Type of a notification local/remote.
notificationID
string
Required
notification_id
Identifier for notification.
cancelledReason
string
Optional
cancelled_reason
Reason why notification was cancelled.
additionalData
Dictionary<string, object>
Optional
additional_data
Any additional information
Code examples:
DateTime utcNow = DateTime.UtcNow;
LionAnalytics.NotificationCancelled(
title: "life_refill",
cancelledTimeUtc: utcNow,
message: "Lives are Full, Open Game to continue Playing",
type: "local",
notificationID: 12345,
cancelledReason: "app_opened");Last updated
Was this helpful?