Skip to end of metadata
Go to start of metadata

List of all new API notices for SDK 6.x.

SDK 6.x

6.3.0

The following APIs are new or have expanded platform support in Release 6.3.0 as of November 1st, 2017.

APITypeNotes
Titanium.UI.Window.extendSafeAreaproperty

Specifies whether the content (subviews) of the window will render inside the safe-area or not. Only used in iOS 11 and later. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getExtendSafeAreamethod

Gets the value of the Titanium.UI.Window.extendSafeArea property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getLargeTitleDisplayModemethod

Gets the value of the Titanium.UI.Window.largeTitleDisplayMode property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getLargeTitleEnabledmethod

Gets the value of the Titanium.UI.Window.largeTitleEnabled property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.largeTitleDisplayModeproperty

The mode to use when displaying the title of the navigation bar. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.largeTitleEnabledproperty

A Boolean value indicating whether the title should be displayed in a large format. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setExtendSafeAreamethod

Sets the value of the Titanium.UI.Window.extendSafeArea property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setLargeTitleDisplayModemethod

Sets the value of the Titanium.UI.Window.largeTitleDisplayMode property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setLargeTitleEnabledmethod

Sets the value of the Titanium.UI.Window.largeTitleEnabled property. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LARGE_TITLE_DISPLAY_MODE_ALWAYSproperty

Always use a larger title when this item is top most. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LARGE_TITLE_DISPLAY_MODE_AUTOMATICproperty

Automatically use the large out-of-line title based on the state of the p revious item in the navigation bar. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LARGE_TITLE_DISPLAY_MODE_NEVERproperty

Never use a larger title when this item is top most. (New API, supported on iPhone and iPad.)

6.2.0

The following APIs are new or have expanded platform support in Release 6.2.0 as of September 13th, 2017.

APITypeNotes
Titanium.Android.Activity.getSupportToolbarmethod

Gets the value of the Titanium.Android.Activity.supportToolbar property. (New API, supported on Android.)

Titanium.Android.Activity.setSupportActionBarmethod

Sets a toolbar instance to be used as an ActionBar. (New API, supported on Android.)

Titanium.Android.Activity.setSupportToolbarmethod

Sets the value of the Titanium.Android.Activity.supportToolbar property. (New API, supported on Android.)

Titanium.Android.Activity.supportToolbarproperty

Toolbar instance that serves as ActionBar (New API, supported on Android.)

Titanium.Android.Notification.addActionmethod

Add an action button to the notification (New API, supported on Android.)

Titanium.Android.Notification.getGroupKeymethod

Gets the value of the Titanium.Android.Notification.groupKey property. (New API, supported on Android.)

Titanium.Android.Notification.getGroupSummarymethod

Gets the value of the Titanium.Android.Notification.groupSummary property. (New API, supported on Android.)

Titanium.Android.Notification.groupKeyproperty

The group key that the notification will belong to. (New API, supported on Android.)

Titanium.Android.Notification.groupSummaryproperty

Specifies if this is a group summary notification. (New API, supported on Android.)

Titanium.Android.Notification.setGroupKeymethod

Sets the value of the Titanium.Android.Notification.groupKey property. (New API, supported on Android.)

Titanium.Android.Notification.setGroupSummarymethod

Sets the value of the Titanium.Android.Notification.groupSummary property. (New API, supported on Android.)

Titanium.Media.AudioPlayer.AUDIO_TYPE_ALARMproperty

Used to identify the volume of audio streams for alarms. (New API, supported on Android.)

Titanium.Media.AudioPlayer.AUDIO_TYPE_MEDIAproperty

Used to identify the volume of audio streams for media playback. (New API, supported on Android.)

Titanium.Media.AudioPlayer.AUDIO_TYPE_NOTIFICATIONproperty

Used to identify the volume of audio streams for notifications. (New API, supported on Android.)

Titanium.Media.AudioPlayer.AUDIO_TYPE_RINGproperty

Used to identify the volume of audio streams for the phone ring. (New API, supported on Android.)

Titanium.Media.AudioPlayer.AUDIO_TYPE_SIGNALLINGproperty

Used to identify the volume of audio streams for DTMF tones or beeps. (New API, supported on Android.)

Titanium.Media.AudioPlayer.AUDIO_TYPE_VOICEproperty

Used to identify the volume of audio streams for voice calls. (New API, supported on Android.)

Titanium.Media.AudioPlayer.audioTypeproperty

Changes the audio-stream-type. (New API, supported on Android.)

Titanium.Media.AudioPlayer.getAudioTypemethod

Gets the value of the Titanium.Media.AudioPlayer.audioType property. (New API, supported on Android.)

Titanium.Media.AudioPlayer.setAudioTypemethod

Sets the value of the Titanium.Media.AudioPlayer.audioType property. (New API, supported on Android.)

Titanium.Media.AudioRecorderobject

An audio recorder object used for recording audio from the device microphone. (Added support for Android.)

Titanium.Media.Sound.AUDIO_TYPE_ALARMproperty

Used to identify the volume of audio streams for alarms. (New API, supported on Android.)

Titanium.Media.Sound.AUDIO_TYPE_MEDIAproperty

Used to identify the volume of audio streams for media playback. (New API, supported on Android.)

Titanium.Media.Sound.AUDIO_TYPE_NOTIFICATIONproperty

Used to identify the volume of audio streams for notifications. (New API, supported on Android.)

Titanium.Media.Sound.AUDIO_TYPE_RINGproperty

Used to identify the volume of audio streams for the phone ring. (New API, supported on Android.)

Titanium.Media.Sound.AUDIO_TYPE_SIGNALLINGproperty

Used to identify the volume of audio streams for DTMF tones or beeps. (New API, supported on Android.)

Titanium.Media.Sound.AUDIO_TYPE_VOICEproperty

Used to identify the volume of audio streams for voice calls. (New API, supported on Android.)

Titanium.Media.Sound.audioTypeproperty

Changes the audio-stream-type. (New API, supported on Android.)

Titanium.Media.Sound.getAudioTypemethod

Gets the value of the Titanium.Media.Sound.audioType property. (New API, supported on Android.)

Titanium.Media.Sound.setAudioTypemethod

Sets the value of the Titanium.Media.Sound.audioType property. (New API, supported on Android.)

Titanium.Media.VIDEO_REPEAT_MODE_NONEproperty

Constant for disabling repeat on video playback. (Added support for Android.)

Titanium.Media.VIDEO_REPEAT_MODE_ONEproperty

Constant for repeating one video (i.e., the one video will repeat constantly) during playback. (Added support for Android.)

Titanium.Media.VideoPlayer.getRepeatModemethod

Gets the value of the Titanium.Media.VideoPlayer.repeatMode property. (Added support for Android.)

Titanium.Media.VideoPlayer.repeatModeproperty

Determines how the movie player repeats when reaching the end of playback. (Added support for Android.)

Titanium.Media.VideoPlayer.setRepeatModemethod

Sets the value of the Titanium.Media.VideoPlayer.repeatMode property. (Added support for Android.)

Titanium.Media.canRecordproperty

true if the device has a recording input device available. (Added support for Android.)

Titanium.Media.createAudioRecordermethod

Creates and returns an instance of Titanium.Media.AudioRecorder. (Added support for Android.)

Titanium.Media.getCanRecordmethod

Gets the value of the Titanium.Media.canRecord property. (Added support for Android.)

Titanium.Media.hasAudioRecorderPermissionsmethod

Returns true if the app has audio permissions. (Added support for Android.)

Titanium.Media.requestAudioRecorderPermissionsmethod

Request the user's permission for audio recording. (Added support for Android.)

Titanium.Network.Cookie.isValidmethod

Returns true if the cookie is valid. (Added support for Android.)

Titanium.UI.AlertDialog.getHinttextidmethod

Gets the value of the Titanium.UI.AlertDialog.hinttextid property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.getLoginhinttextidmethod

Gets the value of the Titanium.UI.AlertDialog.loginhinttextid property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.getPasswordhinttextidmethod

Gets the value of the Titanium.UI.AlertDialog.passwordhinttextid property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.hinttextidproperty

Key identifying a string from the locale file to use for the hintText property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.loginhinttextidproperty

Key identifying a string from the locale file to use for the loginHintText property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.passwordhinttextidproperty

Key identifying a string from the locale file to use for the passwordHintText property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setHinttextidmethod

Sets the value of the Titanium.UI.AlertDialog.hinttextid property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setLoginhinttextidmethod

Sets the value of the Titanium.UI.AlertDialog.loginhinttextid property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setPasswordhinttextidmethod

Sets the value of the Titanium.UI.AlertDialog.passwordhinttextid property. (New API, supported on iPhone and iPad.)

Titanium.UI.Android.DrawerLayoutobject

An elevated view with rounded corners. (New API, supported on Android.)

Titanium.UI.ListView.dimBackgroundForSearchproperty

A Boolean indicating whether the underlying content is dimmed during a search. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getDimBackgroundForSearchmethod

Gets the value of the Titanium.UI.ListView.dimBackgroundForSearch property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setDimBackgroundForSearchmethod

Sets the value of the Titanium.UI.ListView.dimBackgroundForSearch property. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.dragendevent

Fired when the scrollable region stops being dragged. (Added support for Android.)

Titanium.UI.ScrollView.dragstartevent

Fired when the scrollable region starts being dragged. (Added support for Android.)

Titanium.UI.Slider.getSplitTrackmethod

Gets the value of the Titanium.UI.Slider.splitTrack property. (New API, supported on Android.)

Titanium.UI.Slider.setSplitTrackmethod

Sets the value of the Titanium.UI.Slider.splitTrack property. (New API, supported on Android.)

Titanium.UI.Slider.splitTrackproperty

Separates the thumbImage from the slider track. (New API, supported on Android.)

Titanium.UI.Tab.popToRootWindowmethod

Closes all windows that are currently opened inside the tab. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.TabGroup.getTabsTranslucentmethod

Gets the value of the Titanium.UI.TabGroup.tabsTranslucent property. (New API, supported on iPhone and iPad.)

Titanium.UI.TabGroup.setTabsTranslucentmethod

Sets the value of the Titanium.UI.TabGroup.tabsTranslucent property. (New API, supported on iPhone and iPad.)

Titanium.UI.TabGroup.tabsTranslucentproperty

A Boolean value that indicates whether the tab bar is translucent. (New API, supported on iPhone and iPad.)

Titanium.UI.TableView.dimBackgroundForSearchproperty

A Boolean indicating whether the underlying content is dimmed during a search. (New API, supported on iPhone and iPad.)

Titanium.UI.TableView.getDimBackgroundForSearchmethod

Gets the value of the Titanium.UI.TableView.dimBackgroundForSearch property. (New API, supported on iPhone and iPad.)

Titanium.UI.TableView.setDimBackgroundForSearchmethod

Sets the value of the Titanium.UI.TableView.dimBackgroundForSearch property. (New API, supported on iPhone and iPad.)

Titanium.UI.TextField.getHinttextidmethod

Gets the value of the Titanium.UI.TextField.hinttextid property. (New API, supported on Android, iPhone, iPad, Mobile Web and Windows Phone.)

Titanium.UI.TextField.hinttextidproperty

Key identifying a string from the locale file to use for the hintText property. (New API, supported on Android, iPhone, iPad, Mobile Web and Windows Phone.)

Titanium.UI.TextField.setHinttextidmethod

Sets the value of the Titanium.UI.TextField.hinttextid property. (New API, supported on Android, iPhone, iPad, Mobile Web and Windows Phone.)

6.1.0

The following APIs are new or have expanded platform support in Release 6.1.0 as of May 26th, 2017.

APITypeNotes
Titanium.Android.Notification.setProgressmethod

Set the progress this notification represents. (New API, supported on Android.)

Titanium.Blob.imageAsCompressedmethod

Creates a new blob by compressing the underlying image to the specified quality. (New API, supported on Android, iPhone and iPad.)

Titanium.Calendar.Calendar.getSourceIdentifiermethod

Gets the value of the Titanium.Calendar.Calendar.sourceIdentifier property. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Calendar.getSourceTitlemethod

Gets the value of the Titanium.Calendar.Calendar.sourceTitle property. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Calendar.getSourceTypemethod

Gets the value of the Titanium.Calendar.Calendar.sourceType property. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Calendar.sourceIdentifierproperty

Displays the source identifier. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Calendar.sourceTitleproperty

Displays the source title. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Calendar.sourceTypeproperty

Displays the source type. (New API, supported on iPhone and iPad.)

Titanium.Calendar.SOURCE_TYPE_BIRTHDAYSproperty

A birthday calendar source. (New API, supported on iPhone and iPad.)

Titanium.Calendar.SOURCE_TYPE_CALDAVproperty

A calDev calendar source. (New API, supported on iPhone and iPad.)

Titanium.Calendar.SOURCE_TYPE_EXCHANGEproperty

A microsoft exchange calendar source. (New API, supported on iPhone and iPad.)

Titanium.Calendar.SOURCE_TYPE_LOCALproperty

A local calendar source. (New API, supported on iPhone and iPad.)

Titanium.Calendar.SOURCE_TYPE_MOBILEMEproperty

A mobileMe calendar source. (New API, supported on iPhone and iPad.)

Titanium.Calendar.SOURCE_TYPE_SUBSCRIBEDproperty

A subscribed calendar source. (New API, supported on iPhone and iPad.)

Titanium.Filesystem.File.createFilemethod

Creates a file at the path identified by this file object. (Added support for Android.)

Titanium.Media.SystemAlertobject

An object for playing system sounds. (New API, supported on iPhone and iPad.)

Titanium.Media.hasAudioRecorderPermissionsmethod

Returns true if the app has audio permissions. (New API, supported on iPhone and iPad.)

Titanium.Media.requestAudioRecorderPermissionsmethod

Request the user's permission for audio recording. (New API, supported on iPhone, iPad and Windows Phone.)

Titanium.UI.ATTRIBUTE_SUBSCRIPT_STYLEproperty

Use with Attribute.type to place the text in a lower position. (New API, supported on Android.)

Titanium.UI.ATTRIBUTE_SUPERSCRIPT_STYLEproperty

Use with Attribute.type to place the text in an upper position. (New API, supported on Android.)

Titanium.UI.AlertDialog.getLoginValuemethod

Gets the value of the Titanium.UI.AlertDialog.loginValue property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.getPasswordValuemethod

Gets the value of the Titanium.UI.AlertDialog.passwordValue property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.getValuemethod

Gets the value of the Titanium.UI.AlertDialog.value property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.loginValueproperty

Value of the login text field inside the dialog. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.passwordValueproperty

Value of the password text field inside the dialog. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setLoginValuemethod

Sets the value of the Titanium.UI.AlertDialog.loginValue property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setPasswordValuemethod

Sets the value of the Titanium.UI.AlertDialog.passwordValue property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setValuemethod

Sets the value of the Titanium.UI.AlertDialog.value property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.valueproperty

Value of the text field inside the dialog. (New API, supported on iPhone and iPad.)

Titanium.UI.Button.backgroundSelectedColorproperty

Selected background color of the view, as a color name or hex triplet. (Added support for iPhone and iPad.)

Titanium.UI.Button.getBackgroundSelectedColormethod

Gets the value of the Titanium.UI.Button.backgroundSelectedColor property. (Added support for iPhone and iPad.)

Titanium.UI.Button.setBackgroundSelectedColormethod

Sets the value of the Titanium.UI.Button.backgroundSelectedColor property. (Added support for iPhone and iPad.)

Titanium.UI.Clipboard.allowCreationproperty

Create a clipboard identified by name if it doesn't exist. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.getAllowCreationmethod

Gets the value of the Titanium.UI.Clipboard.allowCreation property. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.getNamemethod

Gets the value of the Titanium.UI.Clipboard.name property. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.getUniquemethod

Gets the value of the Titanium.UI.Clipboard.unique property. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.nameproperty

Create a new named clipboard. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.removemethod

Removes the clipboard. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.setAllowCreationmethod

Sets the value of the Titanium.UI.Clipboard.allowCreation property. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.setNamemethod

Sets the value of the Titanium.UI.Clipboard.name property. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.setUniquemethod

Sets the value of the Titanium.UI.Clipboard.unique property. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.uniqueproperty

Create a new clipboard identified by a unique system-generated name. (New API, supported on iPhone and iPad.)

Titanium.UI.HIDDEN_BEHAVIOR_GONEproperty

Release free space when hiding an object. (New API, supported on Android.)

Titanium.UI.HIDDEN_BEHAVIOR_INVISIBLEproperty

Keeps free space when hiding an object. (New API, supported on Android.)

Titanium.UI.Label.getMaxLinesmethod

Gets the value of the Titanium.UI.Label.maxLines property. (Added support for iPhone and iPad.)

Titanium.UI.Label.getMinimumFontSizemethod

Gets the value of the Titanium.UI.Label.minimumFontSize property. (Added support for Android.)

Titanium.UI.Label.maxLinesproperty

Makes the label at most this many lines tall. (Added support for iPhone and iPad.)

Titanium.UI.Label.minimumFontSizeproperty

Minimum font size when the font is sized based on the contents. (Added support for Android.)

Titanium.UI.Label.setMaxLinesmethod

Sets the value of the Titanium.UI.Label.maxLines property. (Added support for iPhone and iPad.)

Titanium.UI.Label.setMinimumFontSizemethod

Sets the value of the Titanium.UI.Label.minimumFontSize property. (Added support for Android.)

Titanium.UI.ListItem.getSelectedSubtitleColormethod

Gets the value of the Titanium.UI.ListItem.selectedSubtitleColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListItem.selectedSubtitleColorproperty

Color to use for the item subtitle when the item is selected, as a color name or hex triplet. (New API, supported on iPhone and iPad.)

Titanium.UI.ListItem.setSelectedSubtitleColormethod

Sets the value of the Titanium.UI.ListItem.selectedSubtitleColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListItem.subtitleColorproperty

Default text color of the subtitle, as a color name or hex triplet. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.canScrollproperty

Determines if the list view can scroll in response to user actions. (Added support for Android.)

Titanium.UI.ListView.cancelprefetchevent

Fired when list items that previously were considered as candidates for pre-fetching were not actually used. Note that this event is only available on iOS 10 and later (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getCanScrollmethod

Gets the value of the Titanium.UI.ListView.canScroll property. (Added support for Android.)

Titanium.UI.ListView.getResultsBackgroundColormethod

Gets the value of the Titanium.UI.ListView.resultsBackgroundColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getResultsSeparatorColormethod

Gets the value of the Titanium.UI.ListView.resultsSeparatorColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getResultsSeparatorInsetsmethod

Gets the value of the Titanium.UI.ListView.resultsSeparatorInsets property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getResultsSeparatorStylemethod

Gets the value of the Titanium.UI.ListView.resultsSeparatorStyle property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.prefetchevent

Fired when new list items are prefetched. The items are ordered ascending by geometric distance from the list view. Note that this event is only available on iOS 10 and later. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.resultsBackgroundColorproperty

The background color of the search results (iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.resultsSeparatorColorproperty

Separator line color between rows inside search results, as a color name or hex triplet (iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.resultsSeparatorInsetsproperty

The insets for search results separators (applies to all cells & iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.resultsSeparatorStyleproperty

The separator style of the search results (iOS-only). (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.scrollingevent

Fires when the list view is scrolling. Calling the scrollTo methods will not fire this event (Added support for Android.)

Titanium.UI.ListView.setCanScrollmethod

Sets the value of the Titanium.UI.ListView.canScroll property. (Added support for Android.)

Titanium.UI.ListView.setResultsBackgroundColormethod

Sets the value of the Titanium.UI.ListView.resultsBackgroundColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setResultsSeparatorColormethod

Sets the value of the Titanium.UI.ListView.resultsSeparatorColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setResultsSeparatorInsetsmethod

Sets the value of the Titanium.UI.ListView.resultsSeparatorInsets property. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setResultsSeparatorStylemethod

Sets the value of the Titanium.UI.ListView.resultsSeparatorStyle property. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_ALIGNMENT_JUSTIFYproperty

Justify align text. (New API, supported on iPhone and iPad.)

Titanium.UI.Tab.badgeColorproperty

If this item displays a badge, this color will be used for the badge's background. If set to null, the default background color will be used instead. (New API, supported on iPhone and iPad.)

Titanium.UI.Tab.getBadgeColormethod

Gets the value of the Titanium.UI.Tab.badgeColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.Tab.setBadgeColormethod

Sets the value of the Titanium.UI.Tab.badgeColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.TabGroup.getUnselectedItemTintColormethod

Gets the value of the Titanium.UI.TabGroup.unselectedItemTintColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.TabGroup.setUnselectedItemTintColormethod

Sets the value of the Titanium.UI.TabGroup.unselectedItemTintColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.TabGroup.unselectedItemTintColorproperty

Unselected items in this tab group will be tinted with this color. Setting this value to null indicates that the tab group should use its default value instead. (New API, supported on iPhone and iPad.)

Titanium.UI.TextArea.fullscreenproperty

Leave some space above the keyboard in landscape mode or not. (New API, supported on Android.)

Titanium.UI.TextArea.getFullscreenmethod

Gets the value of the Titanium.UI.TextArea.fullscreen property. (New API, supported on Android.)

Titanium.UI.TextArea.getPaddingmethod

Gets the value of the Titanium.UI.TextArea.padding property. (Added support for iPhone and iPad.)

Titanium.UI.TextArea.paddingproperty

Sets the left and right padding of this TextArea. The text will always be vertically centered. (Added support for iPhone and iPad.)

Titanium.UI.TextArea.setFullscreenmethod

Sets the value of the Titanium.UI.TextArea.fullscreen property. (New API, supported on Android.)

Titanium.UI.TextArea.setPaddingmethod

Sets the value of the Titanium.UI.TextArea.padding property. (Added support for iPhone and iPad.)

Titanium.UI.TextField.fullscreenproperty

Leave some space above the keyboard in landscape mode or not. (New API, supported on Android.)

Titanium.UI.TextField.getFullscreenmethod

Gets the value of the Titanium.UI.TextField.fullscreen property. (New API, supported on Android.)

Titanium.UI.TextField.setFullscreenmethod

Sets the value of the Titanium.UI.TextField.fullscreen property. (New API, supported on Android.)

Titanium.UI.View.getHiddenBehaviormethod

Gets the value of the Titanium.UI.View.hiddenBehavior property. (New API, supported on Android.)

Titanium.UI.View.getTouchFeedbackmethod

Gets the value of the Titanium.UI.View.touchFeedback property. (New API, supported on Android.)

Titanium.UI.View.getTouchFeedbackColormethod

Gets the value of the Titanium.UI.View.touchFeedbackColor property. (New API, supported on Android.)

Titanium.UI.View.getViewByIdmethod

Returns the matching view of a given view ID. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.View.hiddenBehaviorproperty

Sets the behavior when hiding an object to release or keep the free space (New API, supported on Android.)

Titanium.UI.View.setHiddenBehaviormethod

Sets the value of the Titanium.UI.View.hiddenBehavior property. (New API, supported on Android.)

Titanium.UI.View.setTouchFeedbackmethod

Sets the value of the Titanium.UI.View.touchFeedback property. (New API, supported on Android.)

Titanium.UI.View.setTouchFeedbackColormethod

Sets the value of the Titanium.UI.View.touchFeedbackColor property. (New API, supported on Android.)

Titanium.UI.View.touchFeedbackproperty

A material design visual construct that provides an instantaneous visual confirmation of touch point. (New API, supported on Android.)

Titanium.UI.View.touchFeedbackColorproperty

Optional touch feedback ripple color. This has no effect unless touchFeedback is true. (New API, supported on Android.)

Titanium.UI.WebView.blacklistedURLsproperty

An array of url strings to blacklist. (Added support for iPhone and iPad.)

Titanium.UI.WebView.blacklisturlevent

Fired when a blacklisted URL is stopped. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.disableContextMenuproperty

Determines whether or not the webview should not be able to display the context menu. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.getBlacklistedURLsmethod

Gets the value of the Titanium.UI.WebView.blacklistedURLs property. (Added support for iPhone and iPad.)

Titanium.UI.WebView.getDisableContextMenumethod

Gets the value of the Titanium.UI.WebView.disableContextMenu property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.getKeyboardDisplayRequiresUserActionmethod

Gets the value of the Titanium.UI.WebView.keyboardDisplayRequiresUserAction property. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.getRequestHeadersmethod

Gets the value of the Titanium.UI.WebView.requestHeaders property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.getUserAgentmethod

Gets the value of the Titanium.UI.WebView.userAgent property. (Added support for iPhone and iPad.)

Titanium.UI.WebView.keyboardDisplayRequiresUserActionproperty

A Boolean value indicating whether web content can programmatically display the keyboard. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.requestHeadersproperty

Sets extra request headers for this web view to use on subsequent URL requests. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.setBlacklistedURLsmethod

Sets the value of the Titanium.UI.WebView.blacklistedURLs property. (Added support for iPhone and iPad.)

Titanium.UI.WebView.setDisableContextMenumethod

Sets the value of the Titanium.UI.WebView.disableContextMenu property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.setKeyboardDisplayRequiresUserActionmethod

Sets the value of the Titanium.UI.WebView.keyboardDisplayRequiresUserAction property. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.setRequestHeadersmethod

Sets the value of the Titanium.UI.WebView.requestHeaders property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.setUserAgentmethod

Sets the value of the Titanium.UI.WebView.userAgent property. (Added support for iPhone and iPad.)

Titanium.UI.WebView.userAgentproperty

The User-Agent header used by the web view when requesting content. (Added support for iPhone and iPad.)

Titanium.UI.iOS.AnimationStyle.CROSS_DISSOLVEproperty

A transition that dissolves from one view to the next. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AnimationStyle.FLIP_FROM_BOTTOMproperty

Flip from bottom to top during a transition animation. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AnimationStyle.FLIP_FROM_TOPproperty

Flip from top to bottom during a transition animation. (New API, supported on iPhone and iPad.)

6.0.0

The following APIs are new or have expanded platform support in Release 6.0.0 as of November 14th, 2016.

APITypeNotes
Titanium.App.Properties.removeAllPropertiesmethod

Removes all properties that have been set by the user on runtime, or does nothing otherwise. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.App.iOS.SearchableItemAttributeSet.fullyFormattedAddressproperty

The fully formatted address of the item (obtained from MapKit). (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.getFullyFormattedAddressmethod

Gets the value of the Titanium.App.iOS.SearchableItemAttributeSet.fullyFormattedAddress property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.getPostalCodemethod

Gets the value of the Titanium.App.iOS.SearchableItemAttributeSet.postalCode property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.getSubThoroughfaremethod

Gets the value of the Titanium.App.iOS.SearchableItemAttributeSet.subThoroughfare property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.getThoroughfaremethod

Gets the value of the Titanium.App.iOS.SearchableItemAttributeSet.thoroughfare property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.postalCodeproperty

The postal code for the item according to guidelines established by the provider. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.setFullyFormattedAddressmethod

Sets the value of the Titanium.App.iOS.SearchableItemAttributeSet.fullyFormattedAddress property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.setPostalCodemethod

Sets the value of the Titanium.App.iOS.SearchableItemAttributeSet.postalCode property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.setSubThoroughfaremethod

Sets the value of the Titanium.App.iOS.SearchableItemAttributeSet.subThoroughfare property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.setThoroughfaremethod

Sets the value of the Titanium.App.iOS.SearchableItemAttributeSet.thoroughfare property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.subThoroughfareproperty

The sub-location (e.g., street number) for the item according to guidelines established by the provider. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSet.thoroughfareproperty

The location (e.g., street name) for the item according to guidelines established by the provider. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.handleurlevent

Fired when a new URL is handled by the application. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_ROLE_CHAIRproperty

Attendee role is chair. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_ROLE_NON_PARTICIPANTproperty

Attendee is not a participant. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_ROLE_OPTIONALproperty

Attendee role is optional. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_ROLE_REQUIREDproperty

Attendee role is required. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_ROLE_UNKNOWNproperty

Attendee role is unknown. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_STATUS_ACCEPTEDproperty

Attendee status is accepted. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_STATUS_DECLINEDproperty

Attendee status is declined. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_STATUS_DELEGATEDproperty

Attendee status is delegated. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_STATUS_IN_PROCESSproperty

Attendee status is in process. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_STATUS_PENDINGproperty

Attendee status is pending. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_STATUS_TENTATIVEproperty

Attendee status is tentative. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_STATUS_UNKNOWNproperty

Attendee status is unknown. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_TYPE_GROUPproperty

Attendee type is group. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_TYPE_PERSONproperty

Attendee type is person. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_TYPE_RESOURCEproperty

Attendee type is resource. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_TYPE_ROOMproperty

Attendee type is room. (New API, supported on iPhone and iPad.)

Titanium.Calendar.ATTENDEE_TYPE_UNKNOWNproperty

Attendee type is unknown. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Attendeeobject

An object that represents a single attendee of an event. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Event.attendeesproperty

The list of event attendees. This list will be empty if the event has no attendees. (New API, supported on iPhone and iPad.)

Titanium.Calendar.Event.getAttendeesmethod

Gets the value of the Titanium.Calendar.Event.attendees property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.canceledOnTouchOutsideproperty

When this is set to true, the dialog is canceled when touched outside the window's bounds. (New API, supported on Android.)

Titanium.UI.AlertDialog.getCanceledOnTouchOutsidemethod

Gets the value of the Titanium.UI.AlertDialog.canceledOnTouchOutside property. (New API, supported on Android.)

Titanium.UI.AlertDialog.getPreferredmethod

Gets the value of the Titanium.UI.AlertDialog.preferred property. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.preferredproperty

Index to define the preferred button. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setCanceledOnTouchOutsidemethod

Sets the value of the Titanium.UI.AlertDialog.canceledOnTouchOutside property. (New API, supported on Android.)

Titanium.UI.AlertDialog.setPreferredmethod

Sets the value of the Titanium.UI.AlertDialog.preferred property. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.hasColorsmethod

Indicates whether any colors are stored in the clipboard. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.hasImagesmethod

Indicates whether any images are stored in the clipboard. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.hasURLsmethod

Indicates whether any URLs are stored in the clipboard. (New API, supported on iPhone and iPad.)

Titanium.UI.RefreshControl.refreshendevent

Fired in response to a user finished action to refresh the contents of the table view, list view or scroll view. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.getKeyboardDismissModemethod

Gets the value of the Titanium.UI.ScrollView.keyboardDismissMode property. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.getRefreshControlmethod

Gets the value of the Titanium.UI.ScrollView.refreshControl property. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.keyboardDismissModeproperty

The manner in which the keyboard is dismissed when a drag begins in the scroll view. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.refreshControlproperty

View positioned above the first row that is only revealed when the user drags the scroll view contents down. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.setKeyboardDismissModemethod

Sets the value of the Titanium.UI.ScrollView.keyboardDismissMode property. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollView.setRefreshControlmethod

Sets the value of the Titanium.UI.ScrollView.refreshControl property. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_ELLIPSIZE_TRUNCATE_CHAR_WRAPproperty

Add ellipses before the first character that doesnt fit. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_ELLIPSIZE_TRUNCATE_CLIPproperty

Lines are simply not drawn past the edge of the text container. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_ELLIPSIZE_TRUNCATE_NONEproperty

Disables ellipsizing of the label. The text will be cut off if it is too long. (New API, supported on Android.)

Titanium.UI.TEXT_ELLIPSIZE_TRUNCATE_WORD_WRAPproperty

Add ellipses at word boundaries, unless the word itself doesn't fit on a single line. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_STYLE_CALLOUTproperty

Specifies the text style for the Font Object. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_STYLE_TITLE1property

Specifies the text style for the Font Object. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_STYLE_TITLE2property

Specifies the text style for the Font Object. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_STYLE_TITLE3property

Specifies the text style for the Font Object. (New API, supported on iPhone and iPad.)

Titanium.UI.TextArea.getPaddingmethod

Gets the value of the Titanium.UI.TextArea.padding property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextArea.paddingproperty

Sets the left and right padding of this TextArea. The text will always be vertically centered. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextArea.setPaddingmethod

Sets the value of the Titanium.UI.TextArea.padding property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextField.getPaddingmethod

Gets the value of the Titanium.UI.TextField.padding property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextField.paddingproperty

Sets the padding of this text field. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextField.setPaddingmethod

Sets the value of the Titanium.UI.TextField.padding property. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Window.getHidesBarsOnSwipemethod

Gets the value of the Titanium.UI.Window.hidesBarsOnSwipe property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getHidesBarsOnTapmethod

Gets the value of the Titanium.UI.Window.hidesBarsOnTap property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getHidesBarsWhenKeyboardAppearsmethod

Gets the value of the Titanium.UI.Window.hidesBarsWhenKeyboardAppears property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.getHidesBarsWhenVerticallyCompactmethod

Gets the value of the Titanium.UI.Window.hidesBarsWhenVerticallyCompact property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.hidesBarsOnSwipeproperty

Set this to true to hide the navigation bar on swipe. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.hidesBarsOnTapproperty

Set this to true to hide the navigation bar on tap. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.hidesBarsWhenKeyboardAppearsproperty

Set this to true to hide the navigation bar when the keyboard appears. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.hidesBarsWhenVerticallyCompactproperty

Set this to true to hide the navigation bar in a vertically compact environment. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHidesBarsOnSwipemethod

Sets the value of the Titanium.UI.Window.hidesBarsOnSwipe property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHidesBarsOnTapmethod

Sets the value of the Titanium.UI.Window.hidesBarsOnTap property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHidesBarsWhenKeyboardAppearsmethod

Sets the value of the Titanium.UI.Window.hidesBarsWhenKeyboardAppears property. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHidesBarsWhenVerticallyCompactmethod

Sets the value of the Titanium.UI.Window.hidesBarsWhenVerticallyCompact property. (New API, supported on iPhone and iPad.)

Titanium.UI.getTintColormethod

Gets the value of the Titanium.UI.tintColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.NavigationWindow.popToRootWindowmethod

Closes all windows that are currently opened inside the navigation window. (New API, supported on iPhone and iPad.)

Titanium.UI.setTintColormethod

Sets the value of the Titanium.UI.tintColor property. (New API, supported on iPhone and iPad.)

Titanium.UI.tintColorproperty

Sets the global tint color of the application. It is inherited by the child views and can be overwritten by them using the tintColor property. (New API, supported on iPhone and iPad.)

Titanium.WatchSession.getHasContentPendingmethod

Gets the value of the Titanium.WatchSession.hasContentPending property. (New API, supported on iPhone.)

Titanium.WatchSession.getRemainingComplicationUserInfoTransfersmethod

Gets the value of the Titanium.WatchSession.remainingComplicationUserInfoTransfers property. (New API, supported on iPhone.)

Titanium.WatchSession.hasContentPendingproperty

Returns true if there is more content for the session to deliver. (New API, supported on iPhone.)

Titanium.WatchSession.remainingComplicationUserInfoTransfersproperty

The number of calls remaining to transferCurrentComplication before the system starts transferring the complicationUserInfo as regular userInfos. (New API, supported on iPhone.)

  • No labels