Gamebase SDK for Unity 2.76.0 Toast Gamebase Platform

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Gamebase.Push Class Reference

The Push class provides registering push token API to ToastCloud Push Server and querying push token API. More...

Collaboration diagram for Gamebase.Push:

## 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.

## Detailed Description

The Push class provides registering push token API to ToastCloud Push Server and querying push token API.

Since
  Added 1.4.0.