You are reading 12.6.0. See this page in 13.4.1.
Titanium.Platform.Android
Extends Titanium.ModuleTitanium.Proxy
The Android-specific Platform module, used to access the device's platform-related functionality.
Properties 10
Android API level identifier of the Operating System.
See the official Android Developers documentation for more information about API levels.
Inherited from Titanium.Proxy
The name of the API that this proxy corresponds to.
Inherited from Titanium.Proxy
Indicates if the proxy will bubble an event to its parent.
Default: true
Inherited from Titanium.Proxy
The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.
Constant to indicate that the physical size category of the current device/emulator is large
See the official Android Developers documentation for more information about large screen sizes
Constant to indicate that the physical size category of the current device/emulator is normal
See the official Android Developers documentation for more information about normal screen sizes
Constant to indicate that the physical size category of the current device/emulator is small
See the official Android Developers documentation for more information about small screen sizes
Constant to indicate that the physical size category of the current device/emulator is undefined
See the official Android Developers documentation for more information about undefined screen sizes
Constant to indicate that the physical size category of the current device/emulator is extra large
See the official Android Developers documentation for more information about extra large screen sizes
The physical size category of the Android device or emulator.
Methods 4
Inherited from Titanium.Proxy
Adds the specified callback as an event listener for the named event.
| Parameters | Type | Description |
|---|---|---|
| name | String | Name of the event. |
| callback | Callback<Titanium.Event> | Callback function to invoke when the event is fired. 4 fields
|
applyProperties
since 3.0.0Inherited from Titanium.Proxy
Applies the properties to the proxy.
| Parameters | Type | Description |
|---|---|---|
| props | Dictionary | A dictionary of properties to apply. |
Inherited from Titanium.Proxy
Fires a synthesized event to any registered listeners.
| Parameters | Type | Description |
|---|---|---|
| name | String | Name of the event. |
| event? | Dictionary | A dictionary of keys and values to add to the Titanium.Event object sent to the listeners. |
Inherited from Titanium.Proxy
Removes the specified callback as an event listener for the named event.
| Parameters | Type | Description |
|---|---|---|
| name | String | Name of the event. |
| callback | Callback<Titanium.Event> | Callback function to remove. Must be the same function passed to 4 fields
|