You are reading 12.6.4. See this page in 13.4.1.
Titanium.API
Extends Titanium.ModuleTitanium.Proxy
The top-level API module, containing methods to output messages to the system log.
Properties 3
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.
Methods 11
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. |
Logs messages with a debug severity-level.
| Parameters | Type | Description |
|---|---|---|
| message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Logs messages with an error severity-level.
| Parameters | Type | Description |
|---|---|---|
| message | Array<String> | String | Message to log. Accepts an array on iOS only. |
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. |
Logs messages with an info severity-level.
| Parameters | Type | Description |
|---|---|---|
| message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Logs messages with the specified severity-level.
| Parameters | Type | Description |
|---|---|---|
| level | String | Log level. One of |
| message | Array<String> | String | Message to log. Accepts an array on iOS only. |
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
|
timestamp
iPhoneiPadmacOSLogs messages with a timestamp severity-level, prefixed with a timestamp float number
representing the number of seconds since January 1st, 2001.
| Parameters | Type | Description |
|---|---|---|
| message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Logs messages with a trace severity-level.
| Parameters | Type | Description |
|---|---|---|
| message | Array<String> | String | Message to log. Accepts an array on iOS only. |
Logs messages with a warn severity-level.
| Parameters | Type | Description |
|---|---|---|
| message | Array<String> | String | Message to log. Accepts an array on iOS only. |