Gamebase SDK for Android  1.0.0
Toast Gamebase Platform

◆ registerPush()

static void registerPush ( @NonNull final Activity  activity,
@NonNull final PushConfiguration  configuration,
@NonNull final GamebaseCallback  callback 
)
static

Register push information to the push server.

Parameters
activityCurrent activity
configurationSettings of the notification
callbackCallback pass to API result
See also
com.toast.android.gamebase.base.push.PushConfiguration
com.toast.android.gamebase.GamebaseCallback
com.toast.android.gamebase.base.GamebaseException
com.toast.android.gamebase.base.GamebaseError