Gamebase SDK for Android 2.50.0
NHN Cloud Gamebase Platform
Loading...
Searching...
No Matches
GamebaseConfiguration.Builder Class Reference
Collaboration diagram for GamebaseConfiguration.Builder:
Collaboration graph

Public Member Functions

 Builder (String appId, String appVersion)
 Set the required parameters for the Gamebase SDK initialization. More...
 
Builder enablePopup (boolean enable)
 
Builder enableLaunchingStatusPopup (boolean enable)
 
Builder enableBanPopup (boolean enable)
 
Builder setDisplayLanguageCode (String displayLanguage)
 
Builder setPushType (String pushType)
 Set the type of push. More...
 
GamebaseConfiguration build ()
 
Builder setZoneType (String zoneType)
 API for the test application. More...
 
Builder setStoreCode (String storeCode)
 Set store code. More...
 

Protected Member Functions

 Builder (String appId, String appVersion, String storeCode)
 

Protected Attributes

String mServerApiVersion = DEFAULT_SERVER_API_VERSION
 
String mZoneType = DEFAULT_SERVICE_ZONE
 
String mPushType = PushProvider.Type.NONE
 
String mServerUrl
 

Constructor & Destructor Documentation

◆ Builder() [1/2]

Builder ( String  appId,
String  appVersion,
String  storeCode 
)
protected

◆ Builder() [2/2]

Builder ( String  appId,
String  appVersion 
)

Set the required parameters for the Gamebase SDK initialization.

Since
Added 1.0.0.
Parameters
appIdProjectKey of the TOAST Console.
appVersionClient version of the Gamebase.

Member Function Documentation

◆ build()

◆ enableBanPopup()

Builder enableBanPopup ( boolean  enable)

◆ enableLaunchingStatusPopup()

Builder enableLaunchingStatusPopup ( boolean  enable)

◆ enablePopup()

Builder enablePopup ( boolean  enable)

◆ setDisplayLanguageCode()

Builder setDisplayLanguageCode ( String  displayLanguage)

◆ setPushType()

Builder setPushType ( String  pushType)

Set the type of push.

You can use this api when you want to select a desired push module among multiple push modules. It is not recommended to include multiple push modules in one build for purposes other than testing.

Please check the PushProvider.Type class for available types.

Since
Added 2.40.0.
Returns
a builder itself.
See also
PushProvider.Type

◆ setStoreCode()

Builder setStoreCode ( String  storeCode)

Set store code.

Since
Added 1.4.0.
Parameters
storeCodeStore code

◆ setZoneType()

Builder setZoneType ( String  zoneType)

API for the test application.

Since
Added 1.0.0.
Parameters
zoneType
Returns
Here is the call graph for this function:

Member Data Documentation

◆ mPushType

String mPushType = PushProvider.Type.NONE
protected

◆ mServerApiVersion

String mServerApiVersion = DEFAULT_SERVER_API_VERSION
protected

◆ mServerUrl

String mServerUrl
protected

◆ mZoneType

String mZoneType = DEFAULT_SERVICE_ZONE
protected