Information about system and platform
Members
(static) source :String
Current platform type
Type:
- String
(static) isMobile :Boolean
Whether on mobile device
Type:
- Boolean
(static) isNative :Boolean
Whether on native
Type:
- Boolean
(static) os :String
OS name
Type:
- String
(static) isInApp :Boolean
Whether in app
Type:
- Boolean
(static) language :String
Player's current language
Type:
- String
(static) deviceName :String
Device name
Type:
- String
(static) deviceVersion :String
Device version
Type:
- String
(static) deviceID :String
Device ID
Type:
- String
Methods
(static) changeLanguage(language)
Change player's current language
Parameters:
Name | Type | Description |
---|---|---|
language | String | Language code, e.g. "en", "ru" |