Titanium.API

Submodule of Titanium.
Platform Since
Android 0.1
iPhone 0.1
iPad 0.1
Mobile Web 0.1

Summary

The top level API module. The API module is mainly used for logging.

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

debug

function for logging debug messages

error

function for logging error messages

fireEvent

Fires a synthesized event to any registered listeners.

info

function for logging informational messages

log

function for logging custom severity messages

removeEventListener

Removes the specified callback as an event listener for the named event.

warn

function for logging warning messages

Properties

This type has no properties.

Events

This type has no events.