# GamebaseSystemInfo

class GamebaseSystemInfo

## Properties

configuration
Link copied to clipboard
open var configuration: GamebaseConfiguration
gamebaseLanguage
Link copied to clipboard
open val gamebaseLanguage: GamebaseLanguage

## Functions

addOnSystemInfoListener
Link copied to clipboard
open fun addOnSystemInfoListener(listener: OnSystemInfoListener)
Register a listener to receive events from SystemInfo
getAppId
Link copied to clipboard
@NonNull
open fun getAppId(): String
getApplicationContext
Link copied to clipboard
open fun getApplicationContext(): Context
getAppName
Link copied to clipboard
@NonNull
open fun getAppName(): String
getAppVersion
Link copied to clipboard
@Nullable
open fun getAppVersion(): String
getCarrierCode
Link copied to clipboard
open fun getCarrierCode(): String
getCarrierName
Link copied to clipboard
open fun getCarrierName(): String
getConfigurationLanguageCode
Link copied to clipboard
open fun getConfigurationLanguageCode(): String
getCountryCode
Link copied to clipboard
@NonNull
open fun getCountryCode(): String
getCountryCodeOfDevice
Link copied to clipboard
@NonNull
open fun getCountryCodeOfDevice(): String
getCountryCodeOfUSIM
Link copied to clipboard
@NonNull
open fun getCountryCodeOfUSIM(): String
getDeviceKey
Link copied to clipboard
@NonNull
open fun getDeviceKey(): String
getDeviceLanguageCode
Link copied to clipboard
@Nullable
open fun getDeviceLanguageCode(): String
getDeviceModel
Link copied to clipboard
@Nullable
open fun getDeviceModel(): String
'Nullable' 어노테이션이 없다면 getDeviceModel()이 null을 리턴했을때 kotlin에서 'as String?' 캐스팅 없이 호출하는 경우 Any?.toString() 확장 함수가 아닌 'java.lang.String.toString()'이 호출되다가 NullPointerException이 발생함.
getDisplayLanguageCode
Link copied to clipboard
@NonNull
open fun getDisplayLanguageCode(): String
getGameEngine
Link copied to clipboard
@Nullable
open fun getGameEngine(): String
getGuestUUID
Link copied to clipboard
open fun getGuestUUID(): String
getInstance
Link copied to clipboard
open fun getInstance(): GamebaseSystemInfo
getNetworkCapabilities
Link copied to clipboard
open fun getNetworkCapabilities(): Array<String>
getNetworkName
Link copied to clipboard
@Nullable
open fun getNetworkName(): String
getNetworkOperatorName
Link copied to clipboard
open fun getNetworkOperatorName(): String
getOsCode
Link copied to clipboard
@NonNull
open fun getOsCode(): String
getOsCodeForGamebaseServer
Link copied to clipboard
open fun getOsCodeForGamebaseServer(): String
For Gamebase server only.
getOsVersion
Link copied to clipboard
open fun getOsVersion(): String
getSDKVersion
Link copied to clipboard
@NonNull
open fun getSDKVersion(): String
getServerApiVersion
Link copied to clipboard
@NonNull
open fun getServerApiVersion(): String
getServerUrlList
Link copied to clipboard
open fun getServerUrlList(): List<String>
getStoreCode
Link copied to clipboard
@Nullable
open fun getStoreCode(): String
getZoneType
Link copied to clipboard
@NonNull
open fun getZoneType(): String
initialize
Link copied to clipboard
open fun initialize(applicationContext: Context, gamebaseLanguage: GamebaseLanguage)
isDebugMode
Link copied to clipboard
open fun isDebugMode(): Boolean
removeAllOnSystemInfoListener
Link copied to clipboard
open fun removeAllOnSystemInfoListener()
removeOnSystemInfoListener
Link copied to clipboard
open fun removeOnSystemInfoListener(listener: OnSystemInfoListener)