![]() |
Gamebase SDK for Android 2.47.0
NHN Cloud Gamebase Platform
|
This class provides wrapping of function execution related to push notification. More...

Static Public Member Functions | |
| static void | registerPush (@NonNull final Activity activity, @NonNull final PushConfiguration pushConfiguration, @NonNull final GamebaseCallback callback) |
| Register push information to the push server. More... | |
| static void | registerPush (@NonNull final Activity activity, @NonNull final PushConfiguration pushConfiguration, @NonNull final GamebaseNotificationOptions notificationOptions, @NonNull final GamebaseCallback callback) |
| Register push information to the push server. More... | |
| static void | queryPush (@NonNull final Activity activity, @NonNull final GamebaseDataCallback< PushConfiguration > callback) |
| Get push settings from the the push server. More... | |
| static void | queryTokenInfo (@NonNull final Activity activity, @NonNull final GamebaseDataCallback< GamebasePushTokenInfo > callback) |
| Get push settings from the the push server. More... | |
| static GamebaseNotificationOptions | getNotificationOptions (@NonNull final Context context) |
| Get notification options in device. More... | |
| static void | queryNotificationAllowed (@NonNull final Context context, @NonNull final GamebaseDataCallback< Boolean > callback) |
| This API tells that the user has allowed the device to display notification. More... | |
This class provides wrapping of function execution related to push notification.
|
static |
Get notification options in device.
| context | Application context. The activity is OK, too. |
Example Usage:
|
static |
This API tells that the user has allowed the device to display notification.
| context | Application context. The activity is OK, too. |
| callback | The result. |
Example Usage:
|
static |
Get push settings from the the push server.
This is legacy push API. We recommend to use the new API Push#queryTokenInfo(Activity, GamebaseDataCallback).
| activity | Current activity. |
| callback | Callback pass to API result. |
Example Usage:
|
static |
Get push settings from the the push server.
| activity | Current activity. |
| callback | Callback pass to API result. |
Example Usage:
|
static |
Register push information to the push server.
| activity | Current activity. |
| pushConfiguration | Settings of the push from server. |
| callback | Callback pass to API result. |
Example Usage:
|
static |
Register push information to the push server.
| activity | Current activity. |
| pushConfiguration | Settings of the push from server. |
| notificationOptions | Settings of the local notification. |
| callback | Callback pass to API result. |
Example Usage: