Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnalyticsEvent.PushNotificationEnable

public static Analytics.AnalyticsResult PushNotificationEnable(IDictionary<string,object> eventData);

Parameters

eventData Dictionary of custom parameters. (optional)

Returns

AnalyticsResult The result of the analytics event sent.

Description

Sends a push_notification_enable event.

Send this event when the player enables or grants permission for the game to use push notifications.

Did you find this page useful? Please give it a rating: