C# Class DeltaDNA.AndroidNotifications

Android Notifications enables a game to register with Google's GCM service. Is uses our native Android plugin to retreive the registration id required to send a push notification to a game. This id is sent to our platform as appropriate.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: deltaDNA/unity-sdk

Méthodes publiques

Méthode Description
DidFailToRegisterForPushNotifications ( string error ) : void
DidLaunchWithPushNotification ( string notification ) : void
DidReceivePushNotification ( string notification ) : void
DidRegisterForPushNotifications ( string registrationId ) : void
RegisterForPushNotifications ( ) : void

Registers for push notifications.

UnregisterForPushNotifications ( ) : void

Unregisters for push notifications.

Private Methods

Méthode Description
Awake ( ) : void

Method Details

DidFailToRegisterForPushNotifications() public méthode

public DidFailToRegisterForPushNotifications ( string error ) : void
error string
Résultat void

DidLaunchWithPushNotification() public méthode

public DidLaunchWithPushNotification ( string notification ) : void
notification string
Résultat void

DidReceivePushNotification() public méthode

public DidReceivePushNotification ( string notification ) : void
notification string
Résultat void

DidRegisterForPushNotifications() public méthode

public DidRegisterForPushNotifications ( string registrationId ) : void
registrationId string
Résultat void

RegisterForPushNotifications() public méthode

Registers for push notifications.
public RegisterForPushNotifications ( ) : void
Résultat void

UnregisterForPushNotifications() public méthode

Unregisters for push notifications.
public UnregisterForPushNotifications ( ) : void
Résultat void