|
Gamebase SDK for Unity 2.71.1
Toast Gamebase Platform
|
The Push class provides registering push token API to ToastCloud Push Server and querying push token API. More...

Static Public Member Functions | |
| static void | RegisterPush (GamebaseRequest.Push.PushConfiguration pushConfiguration, GamebaseCallback.ErrorDelegate callback) |
| With user's agreement to enablePush, enableAdPush, and enableAdNightPush, call following API to complete registration. | |
| static void | QueryPush (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Push.PushConfiguration > callback) |
| Get push settings from the the push server. | |
| static void | SetSandboxMode (bool isSandbox) |
| Set SandboxMode. | |
| static void | RegisterPush (GamebaseRequest.Push.PushConfiguration pushConfiguration, GamebaseRequest.Push.NotificationOptions options, GamebaseCallback.ErrorDelegate callback) |
| Register push information to the push server. | |
| static void | QueryTokenInfo (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Push.TokenInfo > callback) |
| Get push settings from the the push server. | |
| static GamebaseResponse.Push.NotificationOptions | GetNotificationOptions () |
| Get notification options in device. | |
| static void | QueryNotificationAllowed (GamebaseCallback.GamebaseDelegate< bool > callback) |
| This API tells that the user has allowed the device to display notification. | |
The Push class provides registering push token API to ToastCloud Push Server and querying push token API.