Codestrong is currently undergoing maintenance. Please check back soon. Some data will be unavailable during the migration.
Deprecated
Titanium.API
Properties
- APP_UPDATE
- A constant representing an app update component type
- CRITICAL
- A constant representing CRITICAL severity
- DEBUG
- A constant representing DEBUG severity
- EQ
- A constant representing an equality dependency
- ERROR
- A constant representing ERROR severity
- FATAL
- A constant representing FATAL severity
- GT
- A constant representing a greater-than dependency
- GTE
- A constant representing a greather-than-or-equal dependency
- INFO
- A constant representing INFO severity
- LT
- A constant representing a less-than dependency
- LTE
- A constant representing a less-than-or-equal dependency
- MOBILESDK
- A constant representing a mobile SDK component type
- MODULE
- A constant representing a module component type
- NOTICE
- A constant representing NOTICE severity
- RUNTIME
- A constant representing a runtime component type
- SDK
- A constant representing an SDK component type
- TRACE
- A constant representing TRACE severity
- UNKNOWN
- A constant representing an UNKNOWN component type
- WARN
- A constant representing WARN severity
Methods
- addEventListener ( eventName, callback )
- Register a root event listener
- createBlob ( contents )
- Create a Kroll Blob object.
- createDependency ( type, name, version, requirement )
- A constructor for dependency objects
- createKList ( toWrap )
- Create a Kroll list.
- createKMethod ( toWrap )
- Create a Kroll method.
- createKObject ( toWrap )
- Create a Kroll object.
- critical ( statement )
- Log a statement with CRITICAL severity
- debug ( statement )
- Log a statement with DEBUG severity
- error ( statement )
- Log a statement with ERROR severity
- fatal ( statement )
- Log a statement with FATAL severity
- fireEvent ( event )
- Fire the event with a given name
- get ( key )
- Get an attribute in the global object
- getApplication ( )
- Get the currently running application
- getComponentSearchPaths ( )
- Get a list of the paths on which Kroll searches for installed components. This does not include paths of bundled components.
- getEnvironment ( )
- Get the system environment
- getInstalledComponents ( )
- Get a list of the currently installed Kroll components
- getInstalledMobileSDKs ( )
- Get a list of the currently installed Kroll Mobile SDK components
- getInstalledModules ( )
- Get a list of the currently installed Kroll module components
- getInstalledRuntimes ( )
- Get a list of the currently installed Kroll runtime components
- getInstalledSDKs ( )
- Get a list of the currently installed Kroll SDK components
- getLogLevel ( )
- Get the log level of the root logger
- info ( statement )
- Log a statement with INFO severity
- installDependencies ( dependencies, callback )
- Invoke the installer to find and install a list of dependencies
- log ( type, statement )
- Log a statement with a given severity
- notice ( statement )
- Log a statement with NOTICE severity
- print ( data )
- Print a raw string to stdout (no newlines are appended)
- readApplicationManifest ( manifestPath, applicationPath )
- Read an application manifest at a given path
- removeEventListener ( id )
- Remove a root event listener
- runOnMainThread ( method, ... )
- Execute the method on the main thread
- runOnMainThreadAsync ( method, ... )
- Execute the method asynchronously on the main thread
- set ( key, value )
- Set an attribute in the global object
- setLogLevel ( level )
- Set the log level of the root logger
- trace ( statement )
- Log a statement with TRACE severity
- warn ( statement )
- Log a statement with WARN severity
Objects
- Application
- API.Application Object
- Component
- API.Component Object
- Dependency
- API.Dependency Object
- Script
- API.Script Object
Last Modified on July 7, 2009, 05:07 AM by Jeff Haynie Edit |
History