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
h4. get/setIcon
h4. hide
h4. show
h4. activate
h4. minimize
h4. beep
h4. playSound
h4. playNamedSound
h4. quit

TIUserWindow

get/setTitle
h4. get/setIcon
h4. get/setBounds
h4. get/setHeight
h4. get/setWidth
h4. get/setPosition
h4. hide
h4. show
h4. close

TIUserMenu

addItem
h4. get/setDisplay
h4. get/setIcon
h4. get/setAction

TISystemMenu

addItem
h4. addSeparator
h4. hide
h4. show

TISystemDock

setIcon
h4. setIconBadge
h4. notify(severity)

Clone this wiki locally