Mojo.Environment
Namespace Detail
Summary
- Mojo.Environment.AZERTY
- Mojo.Environment.AZERTY_ACC
- Mojo.Environment.build
- Mojo.Environment.DeviceInfo
- Mojo.Environment.QWERTY
- Mojo.Environment.QWERTZ
- Mojo.Environment.QWERTZ_ACC
Detail
Mojo.Environment.AZERTY
AZERTY keyboard type.
Mojo.Environment.AZERTY_ACC
Accented AZERTY keyboard type.
Mojo.Environment.build
Provides the build number to applications. Use this to determine if the feature you need is available in this device's build of version 1 framework
Since
1.2
Mojo.Environment.DeviceInfo
Provides information on the platform on which the application is running. It is a JSON object containing:
Property | Type | Description |
---|---|---|
bluetoothAvailable | Boolean | True if bluetooth is available on device |
carrierName | String | Name of carrier |
coreNaviButton | Boolean | True if physical core navi button available on device |
keyboardAvailable | Boolean | True if physical keyboard available on device |
keyboardSlider | Boolean | True if keyboard slider available on device |
keyboardType | String | Keyboard type (e.g. Mojo.Environment.QWERTY; refer to full list of keyboard types) |
maximumCardWidth | Integer | Maximum card width in pixels |
maximumCardHeight | Integer | Maximum card height in pixels |
minimumCardWidth | Integer | Minimum card width in pixels |
minimumCardHeight | Integer | Minimum card height in pixels |
modelName | String | Model name of device in UTF-8 format |
modelNameAscii | String | Model name of device in ASCII format |
platformVersion | String | Full OS version string in the form "Major.Minor.Dot.Sub" |
platformVersionDot | Integer | Subset of OS version string: Dot version number |
platformVersionMajor | Integer | Subset of OS version string: Major version number |
platformVersionMinor | Integer | Subset of OS version string: Minor version number |
screenWidth | Integer | Width in pixels |
screenHeight | Integer | Height in pixels |
serialNumber | String | Device serial number |
touchableRows | Integer | Number of rows |
wifiAvailable | Boolean | True if WiFi available on device |
Use touchable rows to lay out the screen of your application per the HI user interface guidelines.
Mojo.Environment.QWERTY
QWERTY keyboard type.
Mojo.Environment.QWERTZ
QWERTZ keyboard type.
Mojo.Environment.QWERTZ_ACC
Accented QWERTZ keyboard type.