# GetPushNotificationToken

## Description

Returns the push notification token for this device, this must be sent to your server that sends out the notifications so that it can send notifications to this device. If PushNotificationSetup returned 1 then you should keep calling this command until it returns a non-empty string. If PushNotificationSetup returned 0 then this command will always return an empty string.
Please see the guide on Android Push Notifications for more details on how to use the device token to send push notifications to this device.

## Definition

string GetPushNotificationToken()

char* agk::GetPushNotificationToken()