Gamebase SDK for Android

Gamebase Client Android SDK

Documentations

See Developers guides

Samples

See Sample App

Deprecated APIs

Class API Name Added Version Deprecated Version Removed Version Replacement API Name
GamebaseConfiguration.Builder GamebaseConfiguration.Builder() 1.0.0 1.10.0 2.6.0 {@link com.toast.android.gamebase.GamebaseConfiguration#newBuilder(String, String, String)}
GamebaseConfiguration.Builder GamebaseConfiguration.Builder(String, String) 1.0.0 2.6.0 {@link com.toast.android.gamebase.GamebaseConfiguration#newBuilder(String, String, String)}
GamebaseConfiguration.Builder setAppId(String) 1.4.0 1.10.0 2.6.0 {@link com.toast.android.gamebase.GamebaseConfiguration#newBuilder(String, String, String)}
GamebaseConfiguration.Builder setAppVersion(String) 1.4.0 1.10.0 2.6.0 {@link com.toast.android.gamebase.GamebaseConfiguration#newBuilder(String, String, String)}
GamebaseConfiguration.Builder setStoreCode(String) 1.4.0 2.6.0 {@link com.toast.android.gamebase.GamebaseConfiguration#newBuilder(String, String, String)}
GamebaseConfiguration.Builder setFCMSenderId(String) 1.4.0 2.6.0 2.18.2 This API is not working anymore. Include a string resource of key 'gcm_defaultSenderId' in your build.
GamebaseConfiguration.Builder setTencentAccessKey(String) 1.4.0 2.6.0 2.18.2 Tencent push module is not supported anymore.
GamebaseConfiguration.Builder setTencentAccessId(String) 1.4.0 2.6.0 2.18.2 Tencent push module is not supported anymore.
GamebaseConfiguration getServerApiVersion() 1.0.0 2.6.0 Do not call this method anymore.
GamebaseConfiguration getZoneType() 1.0.0 2.6.0 Do not call this method anymore.
GamebaseConfiguration getFCMSenderId() 1.4.0 2.6.0 2.18.2 This API is not used anymore.
GamebaseConfiguration getTencentAccessId() 1.4.0 2.6.0 2.18.2 This API is not used anymore.
GamebaseConfiguration getTencentAccessKey() 1.4.0 2.6.0 2.18.2 This API is not used anymore.
PushConfiguration PushConfiguration(boolean, boolean, boolean) 1.4.0 2.44.0 {@link com.toast.android.gamebase.base.push.PushConfiguration.Builder#build()}
PushConfiguration PushConfiguration(boolean, boolean, boolean, String) 1.4.0 2.44.0 {@link com.toast.android.gamebase.base.push.PushConfiguration.Builder#build()}
PushConfiguration Initialize(boolean, boolean, boolean, String) 1.4.0 2.44.0 {@link com.toast.android.gamebase.base.push.PushConfiguration.Builder#build()}
PushConfiguration doNotRequestPermissionAutomatically(boolean) 2.44.0 2.45.0 2.45.0 {@link com.toast.android.gamebase.base.push.PushConfiguration.Builder#enableRequestNotificationPermission(boolean)}
UIPopupConfiguration enableKickoutPopup 1.8.0 2.34.0 This API is not used anymore.
Gamebase activeApp(Context) 1.4.0 2.6.0 You don't need to call this API anymore. This API is called automatically.
Gamebase getAuthBanInfo() 1.2.0 1.11.0 2.6.0 {@link com.toast.android.gamebase.Gamebase#getBanInfo()}
Gamebase getLanguageCode() 1.4.0 1.7.0 2.6.0 {@link com.toast.android.gamebase.Gamebase#getDeviceLanguageCode()}
Gamebase issueTransferKey(long, GamebaseDataCallback) 1.9.0 2.1.0 2.1.0 {@link com.toast.android.gamebase.Gamebase#issueTransferAccount(com.toast.android.gamebase.GamebaseDataCallback)}}
Gamebase requestTransfer(String, GamebaseDataCallback) 1.9.0 2.1.0 2.1.0 {@link com.toast.android.gamebase.Gamebase#transferAccountWithIdPLogin(String, String, com.toast.android.gamebase.GamebaseDataCallback)}}
Gamebase addServerPushEvent(ServerPushEvent) 1.8.0 {@link com.toast.android.gamebase.Gamebase#addEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase removeServerPushEvent(ServerPushEvent) 1.8.0 {@link com.toast.android.gamebase.Gamebase#removeEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase removeAllServerPushEvent() 1.8.0 {@link com.toast.android.gamebase.Gamebase#removeAllEventHandler()}
Gamebase addObserver(Observer) 1.8.0 {@link com.toast.android.gamebase.Gamebase#addEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase removeObserver(Observer) 1.8.0 {@link com.toast.android.gamebase.Gamebase#removeEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase removeAllObserver() 1.8.0 {@link com.toast.android.gamebase.Gamebase#removeAllEventHandler()}
Gamebase.Launching addOnUpdatedListener(LaunchingOnUpdateListener) 1.4.0 1.8.0 1.14.0 {@link com.toast.android.gamebase.Gamebase#addEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase.Launching removeOnUpdatedListener(LaunchingOnUpdateListener) 1.4.0 1.8.0 1.14.0 {@link com.toast.android.gamebase.Gamebase#removeEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase.Logger initialize(Context, GamebaseCallback) 2.6.0 2.9.0 Instead of calling this function, include a string resource of key 'gamebase_toast_logger_app_key' in your build.
Gamebase.Network addOnChangedListener(NetworkManager.OnChangedListener) 1.4.0 1.8.0 1.14.0 {@link com.toast.android.gamebase.Gamebase#addEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase.Network removeOnChangedListener(NetworkManager.OnChangedListener) 1.4.0 1.8.0 1.14.0 {@link com.toast.android.gamebase.Gamebase#removeEventHandler(com.toast.android.gamebase.event.GamebaseEventHandler)}
Gamebase.WebView showWebBrowser(Activity, String) 1.4.0 1.5.0 1.14.0 {@link com.toast.android.gamebase.Gamebase.WebView#openWebBrowser(android.app.Activity, String)}
Gamebase.Purchase getStoreCode() 1.4.0 2.6.0 Changing the storeCode in runtime is no longer supported.
Gamebase.Purchase setStoreCode(String) 1.4.0 2.6.0 {@link com.toast.android.gamebase.GamebaseConfiguration#newBuilder(String, String, String)}
Gamebase.Purchase requestRetryTransaction(Activity, GamebaseDataCallback) 1.4.0 2.6.0 {@link com.toast.android.gamebase.Gamebase.Purchase#requestItemListOfNotConsumed(android.app.Activity, com.toast.android.gamebase.base.purchase.PurchasableConfiguration, com.toast.android.gamebase.GamebaseDataCallback>)}
Gamebase.Purchase requestItemListOfNotConsumed(Activity, GamebaseDataCallback>) 1.4.0 2.45.0 {@link com.toast.android.gamebase.Gamebase.Purchase#requestItemListOfNotConsumed(android.app.Activity, com.toast.android.gamebase.base.purchase.PurchasableConfiguration, com.toast.android.gamebase.GamebaseDataCallback>)}
Gamebase.Purchase requestActivatedPurchases(Activity, GamebaseDataCallback>) 2.6.0 2.45.0 {@link com.toast.android.gamebase.Gamebase.Purchase#requestActivatedPurchases(android.app.Activity, com.toast.android.gamebase.base.purchase.PurchasableConfiguration, com.toast.android.gamebase.GamebaseDataCallback>)}
Gamebase.Purchase requestItemListAtIAPConsole(Activity, GamebaseDataCallback>) 1.4.0 2.76.0 {@link com.toast.android.gamebase.Gamebase.Purchase#requestItemListPurchasable(android.app.Activity, com.toast.android.gamebase.GamebaseDataCallback>)}
LaunchingStatus isPlayable() 1.4.0 2.6.0 Do not call this method anymore. You have to do the processing according to the launching status code.

All modules:

Link copied to clipboard