Gamebase SDK for Android  1.9.0
Toast Gamebase Platform
Gamebase.Launching Class Reference

This class is provided to check information such as launch information, status, and so on. More...

Collaboration diagram for Gamebase.Launching:
Collaboration graph

Static Public Member Functions

static LaunchingInfo getLaunchingInformations ()
 Get various information provided by the launching server. More...
 
static int getLaunchingStatus ()
 Gets the launching state. More...
 
static boolean addOnUpdateStatusListener (final LaunchingOnUpdateListener listener)
 Add a callback to be invoked when launching status is changed. More...
 
static boolean removeOnUpdateStatusListener (final LaunchingOnUpdateListener listener)
 Remove a callback to be invoked when launching status is changed. More...
 

Detailed Description

This class is provided to check information such as launch information, status, and so on.

Member Function Documentation

◆ addOnUpdateStatusListener()

static boolean addOnUpdateStatusListener ( final LaunchingOnUpdateListener  listener)
static

Add a callback to be invoked when launching status is changed.

Since
Added 1.4.0.
Parameters
listenerThe callback that will run.
See also
com.toast.android.gamebase.launching.LaunchingOnUpdateListener.
Returns
True if listener registration succeeded, false otherwise.
Deprecated:
As of release 1.8.0, use Gamebase#addObserver(Observer) method instead.

◆ getLaunchingInformations()

static LaunchingInfo getLaunchingInformations ( )
static

Get various information provided by the launching server.

Since
Added 1.4.0.
Returns
The Launching information.
See also
com.toast.android.gamebase.launching.data.LaunchingInfo.

◆ getLaunchingStatus()

static int getLaunchingStatus ( )
static

Gets the launching state.

Since
Added 1.4.0.
Returns
The launching status.
See also
com.toast.android.gamebase.launching.data.LaunchingStatus.

◆ removeOnUpdateStatusListener()

static boolean removeOnUpdateStatusListener ( final LaunchingOnUpdateListener  listener)
static

Remove a callback to be invoked when launching status is changed.

Since
Added 1.4.0.
Parameters
listenerThe callback that will removed.
See also
com.toast.android.gamebase.launching.LaunchingOnUpdateListener.
Returns
True if listener unregistration succeeded, false otherwise.
Deprecated:
As of release 1.8.0, use Gamebase#removeObserver(Observer) method instead.