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
Show file Open project: deltaDNA/unity-sdk

Public Methods

Method 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

Method Description
Awake ( ) : void

Method Details

DidFailToRegisterForPushNotifications() public method

public DidFailToRegisterForPushNotifications ( string error ) : void
error string
return void

DidLaunchWithPushNotification() public method

public DidLaunchWithPushNotification ( string notification ) : void
notification string
return void

DidReceivePushNotification() public method

public DidReceivePushNotification ( string notification ) : void
notification string
return void

DidRegisterForPushNotifications() public method

public DidRegisterForPushNotifications ( string registrationId ) : void
registrationId string
return void

RegisterForPushNotifications() public method

Registers for push notifications.
public RegisterForPushNotifications ( ) : void
return void

UnregisterForPushNotifications() public method

Unregisters for push notifications.
public UnregisterForPushNotifications ( ) : void
return void