Skip to content
jhaynie edited this page Sep 13, 2010 · 106 revisions

The following APIs are in progress and likely to change.

TiNative is the main native interface that the application will interact with the gain access to Titanium services.

TiNative.getApp

returns the TiApp class.

TiNative.getDock

returns the TiDock class.

TiNative.getFilesystem

returns the TiFilesystem class

TiNative.getDesktop

returns the TiDesktop class

TiNative.createSystemMenu

returns an instance of the TiSystemMenu class

TiNative.createUserMenu

returns an instance of the TiUserMenu class

TiNative.createWindow

returns an instance of the TiUserWindow class

TiApp

get/setTitle

get/setIcon

hide

show

activate

minimize

beep

playSound

playNamedSound

quit

TiUserWindow

get/setTitle

get/setIcon

get/setBounds

get/setHeight

get/setWidth

get/setPosition

hide

show

close

TiUserMenu

addItem

get/setDisplay

get/setIcon

get/setAction

TiSystemMenu

addItem

addSeparator

hide

show

TiSystemDock

setIcon

setBadge

sets the value on the badge (if supported by platform). if null is passed, no badge will be shown.

notify(severity)

Clone this wiki locally