System Information
Retrieve Language Code
Retrieves the language setting information of the device, returning a language code according to the ISO 639-1 standard.Retrieve Country Code
The SDK collects the country code based on the initial GeoIP. The country code follows the ISO 3166-1 alpha-2 standard, and if no country information is available, "zz" is returned.The country code initially determined when the app is first run is maintained, but if the logged-in user's country code information differs, the user's country code information is followed.
Retrieve IP-based Country Code
Returns the country code based on the IP of the network to which the device is currently connected.Retrieve Device ID
Returns a value that uniquely identifies the device. This value changes if the device is reset.Retrieve Device Model
Returns the model information of the current device.Retrieve OS Name
Returns the name of the current device's OS (android/ios).Retrieve Network Connection Status
Returns whether the current device is connected to an external network.Retrieve Connected Network Type
Retrieves the type of network to which the current device is connected (wifi/cellular/unknown).Retrieve Set Game Language Code
Returns the set game language code.If no set language code is available, it retrieves the language setting information of the device, returning a language code according to the ISO 639-1 standard.
Android -
iOS -
Set Game Language Code
Configures the platform to synchronize the language used in the game.
When the user changes the game's language in the settings, this API is called to set the platform language, and the corresponding value is saved in the game data.
If there is a saved game language setting, the platform can be started with the saved game language by calling this API before the Start API during the next game launch.
The following language codes are supported:
device: Uses the device's language setting value (default). This is used when you want to revert to the device's setting after setting a specific language.
en: English
ko: Korean
ja: Japanese
zh_hant: Traditional Chinese
zh_hans: Simplified Chinese
Android -
iOS -
0 댓글