Skip to end of metadata
Go to start of metadata

This document lists every SDK new API notice.

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

SDK 8.x

8.1.0

The following APIs are new or have expanded platform support in release 8.1.0.

APITypeNotes
Titanium.Database.DB.executeAllmethod

Synchronously executes an array of SQL statements against the database and returns an array of ResultSet.On failure, this will throw an Error that reports the failed index and partial results(New API, supported on Android.)

Titanium.Database.DB.executeAllAsyncmethod

Asynchronously executes an array of SQL statements against the database and fires a callback with a possible Error, and an array of ResultSet.On failure, this will call the callback with an Error that reports the failed index, and a second arguemnt with the partial results(New API, supported on Android.)

Titanium.Database.DB.executeAsyncmethod

Asynchronously executes an SQL statement against the database and fires a callback with a possible Error argument, and a second argument holding a possible ResultSet.(New API, supported on Android.)

Titanium.Platform.canOpenURLmethod

Returns whether the system is configured with a default application to handle the URL's protocol/scheme.(Added support for Android.)

Titanium.UI.Animation.dampingRatioproperty

The damping ratio for the spring animation as it approaches its quiescent state.(New API, supported on iPhone and iPad.)

Titanium.UI.Animation.getDampingRatiomethod

Access Titanium.UI.Animation.dampingRatio instead.

Titanium.UI.Animation.getSpringVelocitymethod

Access Titanium.UI.Animation.springVelocity instead.

Titanium.UI.Animation.setDampingRatiomethod

Set the value using Titanium.UI.Animation.dampingRatio instead.

Titanium.UI.Animation.setSpringVelocitymethod

Set the value using Titanium.UI.Animation.springVelocity instead.

Titanium.UI.Animation.springVelocityproperty

The initial spring velocity. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getSeparatorStylemethod

Access Titanium.UI.ListView.separatorStyle instead.

Titanium.UI.ListView.getShowSearchBarInNavBarmethod

Access Titanium.UI.ListView.showSearchBarInNavBar instead.

Titanium.UI.ListView.separatorStyleproperty

Separator style constant. (Added support for Android.)

Titanium.UI.ListView.setSeparatorStylemethod

Set the value using Titanium.UI.ListView.separatorStyle instead.

Titanium.UI.ListView.setShowSearchBarInNavBarmethod

Set the value using Titanium.UI.ListView.showSearchBarInNavBar instead.

Titanium.UI.ListView.showSearchBarInNavBarproperty

A Boolean indicating whether search bar will be in navigation bar. (New API, supported on iPhone and iPad.)

Titanium.UI.TEXT_STYLE_LARGE_TITLEproperty

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

Titanium.UI.TableView.getShowSearchBarInNavBarmethod

Access Titanium.UI.TableView.showSearchBarInNavBar instead.

Titanium.UI.TableView.setShowSearchBarInNavBarmethod

Set the value using Titanium.UI.TableView.showSearchBarInNavBar instead.

Titanium.UI.TableView.showSearchBarInNavBarproperty

A Boolean indicating whether search bar will be in navigation bar. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.setHtmlmethod

Sets the value of html property. (Added support for Android.)

Titanium.UI.Window.getHidesSearchBarWhenScrollingmethod

Access Titanium.UI.Window.hidesSearchBarWhenScrolling instead.

Titanium.UI.Window.hidesSearchBarWhenScrollingproperty

A Boolean value indicating whether the integrated search bar is hidden when scrolling any underlying content. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHidesSearchBarWhenScrollingmethod

Set the value using Titanium.UI.Window.hidesSearchBarWhenScrolling instead.

 

8.0.0

The following APIs are new or have expanded platform support in release 8.0.0.

APITypeNotes
Titanium.Android.rootActivityproperty

The first activity launched by the application. (New API, supported on Android.)

Titanium.App.startedevent

Fired after the "app.js" or "alloy.js" gets executed during application startup. (New API, supported on Android, iPhone and iPad.)

Titanium.Platform.cpusmethod

Returns an array of basic cpu information for all logical processors (New API, supported on Android.)

Titanium.UI.ANIMATION_CURVE_EASE_INproperty

Use with Animation.curve to specify an animation that starts slowly and speeds up. (Added support for Android.)

Titanium.UI.ANIMATION_CURVE_EASE_IN_OUTproperty

Use with Animation.curve to specify an animation that starts slowly, and speeds up, then slows down at the end of the animation. (Added support for Android.)

Titanium.UI.ANIMATION_CURVE_EASE_OUTproperty

Use with Animation.curve to specify an animation that starts quickly, then slows down at the end of the animation. (Added support for Android.)

Titanium.UI.ANIMATION_CURVE_LINEARproperty

Use with Animation.curve to specify an animation that proceeds at a constant rate. (Added support for Android.)

Titanium.UI.Android.TABS_STYLE_BOTTOM_NAVIGATIONproperty

TabGroup style taking advantage of a bottom navigation controller for switching between tabs. (New API, supported on Android.)

Titanium.UI.Android.TABS_STYLE_DEFAULTproperty

The default TabGroup style that places the Tabs bellow the ActionBar and above the Window content. (New API, supported on Android.)

Titanium.UI.Animation.curveproperty

Animation curve or easing function to apply to the animation. (Added support for Android.)

Titanium.UI.Matrix2Dobject

The 2D Matrix is an object for holding values for an affine transformation matrix. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Matrix3Dobject

The 3D Matrix is an object for holding values for a 3D affine transform. (New API, supported on iPhone and iPad.)

Titanium.UI.NavigationWindowobject

NavigationWindow implements a specialized view that manages the navigation of hierarchical content. (New API, supported on iPhone and iPad.)

Titanium.UI.ProgressBar.trackTintColorproperty

The color shown for the portion of the progress bar that is not filled. (Added support for Android.)

Titanium.UI.Tab.activeTitleColorproperty

Defines the color of the title of tab when it's active. (Added support for Android.)

Titanium.UI.Tab.titleColorproperty

Defines the color of the title of tab when it's inactive. (Added support for Android.)

Titanium.UI.TabGroup.shiftModeproperty

Determines whether the BOTTOM_NAVIGATION_VIEW_STYLE uses shiftMode. (New API, supported on Android.)

Titanium.UI.TabGroup.styleproperty

Property defining which style for the TabGroup to be used. (New API, supported on Android.)

Titanium.UI.TabbedBarobject

A button bar that maintains a selected state. (Added support for Android.)

Titanium.UI.WebView.addScriptMessageHandlermethod

Adds a script message handler. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.addUserScriptmethod

Adds a user script. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.allowedURLSchemesproperty

List of allowed URL schemes for the web view. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.allowsBackForwardNavigationGesturesproperty

A Boolean value indicating whether horizontal swipe gestures will trigger back-forward list navigations. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.backForwardListmethod

An object which maintains a list of visited pages used to go back and forward to the most recent page. 
(New API, supported on iPhone and iPad.)

Titanium.UI.WebView.cachePolicyproperty

The cache policy for the request. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.configurationproperty

The configuration for the new web view. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.handleurlevent

Fired when Titanium.UI.WebView.allowedURLSchemes contains scheme of opening url. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.messageevent

Fired when a script message is received from a webpage. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.progressproperty

An estimate of what fraction of the current navigation has been loaded. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.progressevent

Fired when web page download progresses. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.redirectevent

Fired when a web view receives a server redirect. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.removeAllUserScriptsmethod

Removes all associated user scripts. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.removeScriptMessageHandlermethod

Removes a script message handler. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.secureproperty

A Boolean value indicating whether all resources on the page have been loaded through securely encrypted connections. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.selectionGranularityproperty

The level of granularity with which the user can interactively select content in the web view. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.sslerrorevent

Fired when an SSL error occurred. (Added support for iPhone and iPad.)

Titanium.UI.WebView.startListeningToPropertiesmethod

Add native properties for observing for change. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.stopListeningToPropertiesmethod

Remove native properties from observing. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.takeSnapshotmethod

Takes a snapshot of the view's visible viewport. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.timeoutproperty

The timeout interval for the request, in seconds. (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.titleproperty

Returns page title of webpage. (New API, supported on iPhone and iPad.)

Titanium.UI.createMatrix3Dmethod

Creates and returns an instance of Titanium.UI.Matrix3D. (New API, supported on iPhone and iPad.)

Titanium.UI.createNavigationWindowmethod

Creates and returns an instance of Titanium.UI.NavigationWindow. (New API, supported on iPhone and iPad.)

Titanium.UI.createTabbedBarmethod

Creates and returns an instance of Titanium.UI.TabbedBar. (Added support for Android.)

Titanium.UI.iOS.ACTION_POLICY_ALLOWproperty

Allow the navigation to continue. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.ACTION_POLICY_CANCELproperty

Cancel the navigation. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AUDIOVISUAL_MEDIA_TYPE_ALLproperty

All media types require a user gesture to begin playing. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AUDIOVISUAL_MEDIA_TYPE_AUDIOproperty

Media types containing audio require a user gesture to begin playing. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AUDIOVISUAL_MEDIA_TYPE_NONEproperty

No media types require a user gesture to begin playing. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AUDIOVISUAL_MEDIA_TYPE_VIDEOproperty

Media types containing video require a user gesture to begin playing. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CACHE_POLICY_RELOAD_IGNORING_LOCAL_CACHE_DATAproperty

Specifies that the data for the URL load should be loaded from the originating source. No existing cache data should be used to satisfy a URL load request. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CACHE_POLICY_RETURN_CACHE_DATA_DONT_LOADproperty

Specifies that the existing cache data should be used to satisfy a request, regardless of its age or expiration date. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CACHE_POLICY_RETURN_CACHE_DATA_ELSE_LOADproperty

Specifies that the existing cached data should be used to satisfy the request, regardless of its age or expiration date. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CACHE_POLICY_USE_PROTOCOL_CACHE_POLICYproperty

Specifies that the caching logic defined in the protocol implementation, if any, is used for a particular URL load request. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CREDENTIAL_PERSISTENCE_FOR_SESSIONproperty

Credential should be stored only for this session. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CREDENTIAL_PERSISTENCE_NONEproperty

Credential should not be stored. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CREDENTIAL_PERSISTENCE_PERMANENTproperty

Credential should be stored in the keychain. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.CREDENTIAL_PERSISTENCE_SYNCHRONIZABLEproperty

Credential should be stored permanently in the keychain, and in addition should be distributed to other devices based on the owning AppleID. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.INJECTION_TIME_DOCUMENT_ENDproperty

Inject the script after the document finishes loading, but before other subresources finish loading. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.INJECTION_TIME_DOCUMENT_STARTproperty

Inject the script after the document element is created, but before any other content is loaded. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SELECTION_GRANULARITY_CHARACTERproperty

Selection endpoints can be placed at any character boundary. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SELECTION_GRANULARITY_DYNAMICproperty

Selection granularity varies automatically depending on the selection. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.WebViewConfigurationobject

A collection of properties used to initialize a web view. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.WebViewDecisionHandlerobject

It represents the decision handler to tell to webview, whether allow or cancel the navigation. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.WebViewProcessPoolobject

It represents a pool of Web Content processes. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createWebViewConfigurationmethod

Creates and returns an instance of Titanium.UI.iOS.WebViewConfiguration. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createWebViewDecisionHandlermethod

Creates and returns an instance of Titanium.UI.iOS.WebViewDecisionHandler. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createWebViewProcessPoolmethod

Creates and returns an instance of Titanium.UI.iOS.WebViewProcessPool. (New API, supported on iPhone and iPad.)


 

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

SDK 7.x

7.5.0

APITypeNotes
Global.console.timeLogmethod

Log duration taken so far for an operation. (New API, supported on Android, iPhone and iPad.)

Titanium.Android.Activity.userinteractionevent

Called whenever a key, touch, or trackball event is dispatched to the activity. (New API, supported on Android.)

Titanium.Android.NotificationChannel.getSoundmethod

Gets the value of the Titanium.Android.NotificationChannel.sound property. (New API, supported on Android.)

Titanium.Android.NotificationChannel.setSoundmethod

Sets the value of the Titanium.Android.NotificationChannel.sound property. (New API, supported on Android.)

Titanium.Android.NotificationChannel.soundproperty

A URL to the sound to play. (New API, supported on Android.)

Titanium.App.Android.shortcutitemclickevent

Fired when a Titanium.UI.ShortcutItem is clicked. (New API, supported on Android.)

Titanium.App.shortcutitemclickevent

Fired when a Titanium.UI.ShortcutItem is clicked. (New API, supported on Android, iPhone and iPad.)

Titanium.App.trackUserInteractionproperty

Indicates whether or not the user interaction shoud be tracked. (New API, supported on iPhone and iPad.)

Titanium.App.userinteractionevent

Called whenever an interaction with the window occurred. To be used together with the Titanium.App.trackUserInteraction property. (New API, supported on Android, iPhone and iPad.)

Titanium.Locale.changeevent

Fired when the device locale changes. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_BUFFERINGproperty

Audio data is being buffered from the network. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_INITIALIZEDproperty

Audio playback is being initialized. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_PAUSEDproperty

Playback is paused. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_PLAYINGproperty

Audio playback is active. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_STARTINGproperty

Audio playback is starting. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_STOPPEDproperty

Audio playback is stopped. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_STOPPINGproperty

Audio playback is stopping. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_WAITING_FOR_DATAproperty

Player is waiting for audio data from the network. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AUDIO_STATE_WAITING_FOR_QUEUEproperty

Player is waiting for audio data to fill the queue. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.allowsExternalPlaybackproperty

Indicates whether the player allows switching to "external playback" mode. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.completeevent

Fired when the audio has finished playing. (Added support for iPhone and iPad.)

Titanium.Media.AudioPlayer.externalPlaybackActiveproperty

Indicates whether the player is currently playing video in "external playback" mode. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.getAllowsExternalPlaybackmethod

Gets the value of the Titanium.Media.AudioPlayer.allowsExternalPlayback property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.getExternalPlaybackActivemethod

Gets the value of the Titanium.Media.AudioPlayer.externalPlaybackActive property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.getMutedmethod

Gets the value of the Titanium.Media.AudioPlayer.muted property. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.getRatemethod

Gets the value of the Titanium.Media.AudioPlayer.rate property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.metadataevent

Fired when the timed metadata was encountered most recently within the media as it plays. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.mutedproperty

Indicates whether or not audio output of the player is muted. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.rateproperty

Indicates the desired rate of playback; 0.0 means "paused", 1.0 indicates a desire to play at the natural rate of the current item. In addition, 2.0would mean that the audio plays twice as fast. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.releasemethod

Stops buffering audio data and releases audio resources. (Added support for iPhone and iPad.)

Titanium.Media.AudioPlayer.restartmethod

Restarts (stops and stars) audio playback. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.seekToTimemethod

Moves the playback cursor and invokes the specified block when the seek operation has either been completed or been interrupted. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.setAllowsExternalPlaybackmethod

Sets the value of the Titanium.Media.AudioPlayer.allowsExternalPlayback property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.setMutedmethod

Sets the value of the Titanium.Media.AudioPlayer.muted property. (New API, supported on Android, iPhone and iPad.)

Titanium.Media.AudioPlayer.setRatemethod

Sets the value of the Titanium.Media.AudioPlayer.rate property. (New API, supported on iPhone and iPad.)

Titanium.Media.QUALITY_640x480property

Media type constant for medium-quality video recording. (Added support for Android.)

Titanium.Media.QUALITY_HIGHproperty

Media type constant for high-quality video recording. (Added support for Android.)

Titanium.Media.QUALITY_IFRAME_1280x720property

Media type constant for medium-quality video recording. (Added support for Android.)

Titanium.Media.QUALITY_LOWproperty

Media type constant for low-quality video recording. (Added support for Android.)

Titanium.Media.getQUALITY_640x480method

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

Titanium.Media.getQUALITY_IFRAME_1280x720method

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

Titanium.UI.ATTRIBUTE_PARAGRAPH_STYLEproperty

Use with Attribute.type to manages the behaviour of string set. (New API, supported on iPhone and iPad.)

Titanium.UI.ActivityIndicator.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.ActivityIndicator.getAnchorPointmethod

Gets the value of the Titanium.UI.ActivityIndicator.anchorPoint property. (Added support for Android.)

Titanium.UI.ActivityIndicator.setAnchorPointmethod

Sets the value of the Titanium.UI.ActivityIndicator.anchorPoint property. (Added support for Android.)

Titanium.UI.AlertDialog.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.AlertDialog.buttonClickRequiredproperty

Setting this to true requires the end-user to click a dialog button to close the dialog. (New API, supported on Android.)

Titanium.UI.AlertDialog.getAnchorPointmethod

Gets the value of the Titanium.UI.AlertDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.AlertDialog.getButtonClickRequiredmethod

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

Titanium.UI.AlertDialog.setAnchorPointmethod

Sets the value of the Titanium.UI.AlertDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.AlertDialog.setButtonClickRequiredmethod

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

Titanium.UI.Android.FLAG_TRANSLUCENT_NAVIGATIONproperty

Window flag which makes the Android system's navigation bar semi-transparent. (New API, supported on Android.)

Titanium.UI.Android.FLAG_TRANSLUCENT_STATUSproperty

Window flag which makes the Android system's top status bar semi-transparent. (New API, supported on Android.)

Titanium.UI.Android.ProgressIndicator.anchorPointproperty

Coordinate of the view about which to pivot an animation. (New API, supported on Android.)

Titanium.UI.Android.ProgressIndicator.getAnchorPointmethod

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

Titanium.UI.Android.ProgressIndicator.setAnchorPointmethod

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

Titanium.UI.Button.attributedStringproperty

Specify an attributed string for the label. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Button.getAttributedStringmethod

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

Titanium.UI.Button.setAttributedStringmethod

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

Titanium.UI.EmailDialog.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.EmailDialog.getAnchorPointmethod

Gets the value of the Titanium.UI.EmailDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.EmailDialog.setAnchorPointmethod

Sets the value of the Titanium.UI.EmailDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.OptionDialog.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.OptionDialog.getAnchorPointmethod

Gets the value of the Titanium.UI.OptionDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.OptionDialog.setAnchorPointmethod

Sets the value of the Titanium.UI.OptionDialog.anchorPoint property. (Added support for Android.)

Titanium.UI.Picker.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.Picker.getAnchorPointmethod

Gets the value of the Titanium.UI.Picker.anchorPoint property. (Added support for Android.)

Titanium.UI.Picker.setAnchorPointmethod

Sets the value of the Titanium.UI.Picker.anchorPoint property. (Added support for Android.)

Titanium.UI.ScrollableView.clipViewsproperty

Determines whether the previous and next pages are clipped, so that they are not visibleadjacent to the current page. (Added support for Android.)

Titanium.UI.ScrollableView.getClipViewsmethod

Gets the value of the Titanium.UI.ScrollableView.clipViews property. (Added support for Android.)

Titanium.UI.ScrollableView.getPaddingmethod

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

Titanium.UI.ScrollableView.paddingproperty

The padding applied to the scrollable view. (New API, supported on Android.)

Titanium.UI.ScrollableView.setClipViewsmethod

Sets the value of the Titanium.UI.ScrollableView.clipViews property. (Added support for Android.)

Titanium.UI.ScrollableView.setPaddingmethod

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

Titanium.UI.SearchBar.fieldBackgroundDisabledImageproperty

Background image of the text field in disabled state, specified as a local file path or URL. (New API, supported on iPhone and iPad.)

Titanium.UI.SearchBar.fieldBackgroundImageproperty

Background image of the text field, specified as a local file path or URL. (New API, supported on iPhone and iPad.)

Titanium.UI.SearchBar.getFieldBackgroundDisabledImagemethod

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

Titanium.UI.SearchBar.getFieldBackgroundImagemethod

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

Titanium.UI.SearchBar.setFieldBackgroundDisabledImagemethod

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

Titanium.UI.SearchBar.setFieldBackgroundImagemethod

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

Titanium.UI.ShortcutItemobject

An application shortcut. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Tab.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.Tab.getAnchorPointmethod

Gets the value of the Titanium.UI.Tab.anchorPoint property. (Added support for Android.)

Titanium.UI.Tab.setAnchorPointmethod

Sets the value of the Titanium.UI.Tab.anchorPoint property. (Added support for Android.)

Titanium.UI.TabGroup.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.TabGroup.getAnchorPointmethod

Gets the value of the Titanium.UI.TabGroup.anchorPoint property. (Added support for Android.)

Titanium.UI.TabGroup.setAnchorPointmethod

Sets the value of the Titanium.UI.TabGroup.anchorPoint property. (Added support for Android.)

Titanium.UI.TextArea.getLinesmethod

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

Titanium.UI.TextArea.getMaxLinesmethod

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

Titanium.UI.TextArea.linesproperty

Number of lines tall the text area height will be, if set. (New API, supported on Android.)

Titanium.UI.TextArea.maxLinesproperty

Maximum line count of text field input. (New API, supported on Android.)

Titanium.UI.TextArea.setLinesmethod

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

Titanium.UI.TextArea.setMaxLinesmethod

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

Titanium.UI.TextField.getPasswordRulesmethod

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

Titanium.UI.TextField.passwordRulesproperty

Set password rules that should be used for this text field. (New API, supported on iPhone and iPad.)

Titanium.UI.TextField.setPasswordRulesmethod

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

Titanium.UI.View.anchorPointproperty

Coordinate of the view about which to pivot an animation. (Added support for Android.)

Titanium.UI.View.getAnchorPointmethod

Gets the value of the Titanium.UI.View.anchorPoint property. (Added support for Android.)

Titanium.UI.View.setAnchorPointmethod

Sets the value of the Titanium.UI.View.anchorPoint property. (Added support for Android.)

Titanium.UI.WebView.getMixedContentModemethod

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

Titanium.UI.WebView.getOnlinkmethod

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

Titanium.UI.WebView.mixedContentModeproperty

If true, allows the loading of insecure resources from a secure origin. (New API, supported on Android.)

Titanium.UI.WebView.onlinkproperty

Fired before navigating to a link. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.WebView.setMixedContentModemethod

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

Titanium.UI.WebView.setOnlinkmethod

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

Titanium.UI.Window.extendSafeAreaproperty

Specifies whether the screen insets/notches are allowed to overlap the window's content or not. (Added support for Android.)

Titanium.UI.Window.getExtendSafeAreamethod

Gets the value of the Titanium.UI.Window.extendSafeArea property. (Added support for Android.)

Titanium.UI.Window.getHidesBackButtonmethod

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

Titanium.UI.Window.getSafeAreaPaddingmethod

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

Titanium.UI.Window.hidesBackButtonproperty

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

Titanium.UI.Window.safeAreaPaddingproperty

The padding needed to safely display content without it being overlapped by the screen insets and notches. (New API, supported on Android.)

Titanium.UI.Window.setExtendSafeAreamethod

Sets the value of the Titanium.UI.Window.extendSafeArea property. (Added support for Android.)

Titanium.UI.Window.setHidesBackButtonmethod

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

Titanium.UI.createShortcutItemmethod

Creates and returns an instance of Titanium.UI.ShortcutItem. (New API, supported on Android, iPhone and iPad.)

 

7.4.0

The following APIs are new or have expanded platform support in Release 7.4.0 as of September 17th, 2018.

API
Type
Notes
Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_PROVISIONALproperty

The application is provisionally authorized to post non-interruptive user notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_TYPE_CRITICAL_ALERTproperty

The ability to play sounds for critical alerts.Use with the types property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_TYPE_PROVIDES_APP_NOTIFICATION_SETTINGSproperty

An option indicating the system should display a button for in-app notification settings.Use with the types property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_TYPE_PROVISIONALproperty

The ability to post non-interrupting notifications provisionally to the Notification Center.Use with the types property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserActivity.deleteAllSavedUserActivitiesmethod

Deletes all user activities created by your app. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserActivity.deleteSavedUserActivitiesForPersistentIdentifiersmethod

Deletes user activities created by your app that have the specified persistent identifiers. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserActivity.eligibleForPredictionproperty

A Boolean value that determines whether Siri can suggest the user activity as a shortcut to the user. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserActivity.getEligibleForPredictionmethod

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

Titanium.App.iOS.UserActivity.getPersistentIdentifiermethod

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

Titanium.App.iOS.UserActivity.persistentIdentifierproperty

A value used to identify the user activity. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserActivity.setEligibleForPredictionmethod

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

Titanium.App.iOS.UserActivity.setPersistentIdentifiermethod

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

Titanium.App.iOS.UserActivity.useractivitydeletedevent

Fired when the user activity get deleted using the Titanium.App.iOS.UserActivity.deleteAllSavedUserActivities or Titanium.App.iOS.UserActivity.deleteSavedUserActivitiesForPersistentIdentifiers methods. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserNotificationCategory.categorySummaryFormatproperty

A format string for the summary description used when the system groups the category's notifications. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NEW_PASSWORDproperty

Specifies the expectation of a new password. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ONE_TIME_CODEproperty

Specifies the expectation of a single-factor SMS login code. (New API, supported on iPhone and iPad.)

7.3.1

The following APIs are new or have expanded platform support in Release 7.3.1 as of August 30th, 2018.

API
Type
Notes
Global.console.timemethod

Start a timer to track duration of an operation. (New API, supported on Android, iPhone and iPad.)

Global.console.timeEndmethod

Stop a timer that was previously started. (New API, supported on Android, iPhone and iPad.)

Titanium.Android.R.animatorproperty

Animator resources. See R.animator in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.boolproperty

Boolean resources. See R.bool in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.fractionproperty

Fraction resources. See R.fraction in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.interpolatorproperty

Interpolator resources. See R.fraction in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.menuproperty

Menu resources. See R.menu in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.mipmapproperty

Mipmap resources. See R.mipmap in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.pluralsproperty

Plurals resources. See R.plurals in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.rawproperty

Raw resources. See R.raw in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.transitionproperty

Transition resources. See R.transition in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.xmlproperty

XML resources. See R.xml in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.Service.foregroundCancelmethod

Puts the service into the "background" state and removes its foreground notification. (New API, supported on Android.)

Titanium.Android.Service.foregroundNotifymethod

Puts the service into the "foreground" state and displays a notification. (New API, supported on Android.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_ALERTproperty

A alert dialog is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_BANNERproperty

A banner is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_NONEproperty

No banner or alert dialog is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_AUTHORIZEDproperty

The application is authorized to post user notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_DENIEDproperty

The application is not authorized to post user notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_NOT_DETERMINEDproperty

The user has not yet made a choice regarding whether the application may postuser notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_ALLOW_IN_CARPLAYproperty

Allow CarPlay to display notifications of this type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_CUSTOM_DISMISS_ACTIONproperty

Send dismiss actions to the UNUserNotificationCenter object's delegate for handling. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_HIDDEN_PREVIEWS_SHOW_SUBTITLEproperty

Show the notification's subtitle, even if the user has disabled notification previews for the app. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_HIDDEN_PREVIEWS_SHOW_TITLEproperty

Show the notification's title, even if the user has disabled notification previews for the app. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_NONEproperty

No options. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_DISABLEDproperty

The notification setting is turned off. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_ENABLEDproperty

The notification setting is turned on. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_NOT_SUPPORTEDproperty

The application does not support this notification type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserNotificationCenterobject

The top-level App iOS Notification Center module. It is used to control scheduled notificationsand receive details about the system-wide notification settings. (New API, supported on iPhone and iPad.)

Titanium.Filesystem.File.appendmethod

Appends data to the file identified by this file object. (Added support for Android.)

Titanium.Filesystem.File.copymethod

Copies the file identified by this file object to a new path. (Added support for iPhone and iPad.)

Titanium.Filesystem.File.createdAtmethod

Returns the creation Date for the file identified by this file object. (Added support for Android, iPhone and iPad.)

Titanium.Filesystem.File.modifiedAtmethod

Returns the last modification Date for the file identified by this file object. (Added support for Android, iPhone and iPad.)

Titanium.Geolocation.getShowBackgroundLocationIndicatormethod

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

Titanium.Geolocation.setShowBackgroundLocationIndicatormethod

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

Titanium.Geolocation.showBackgroundLocationIndicatorproperty

Specifies that an indicator be shown when the app makes use of continuous background location updates. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_CLEARproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLORproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLOR_BURNproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLOR_DODGEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COPYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DARKENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_ATOPproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_INproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_OUTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_OVERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DIFFERENCEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_EXCLUSIONproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_HARD_LIGHTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_HUEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_LIGHTENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_LUMINOSITYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_MULTIPLYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_NORMALproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_OVERLAYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_PLUS_DARKERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_PLUS_LIGHTERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SATURATIONproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_SCREENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOFT_LIGHTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_ATOPproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_INproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_OUTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_XORproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.MaskedImageobject

A control that displays an image composited with a background image or color. (Added support for Android.)

Titanium.UI.TableView.getResultsBackgroundColormethod

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

Titanium.UI.TableView.getResultsSeparatorColormethod

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

Titanium.UI.TableView.getResultsSeparatorInsetsmethod

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

Titanium.UI.TableView.getResultsSeparatorStylemethod

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

Titanium.UI.TableView.getScrollablemethod

Gets the value of the Titanium.UI.TableView.scrollable property. (Added support for Android.)

Titanium.UI.TableView.resultsBackgroundColorproperty

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

Titanium.UI.TableView.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.TableView.resultsSeparatorInsetsproperty

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

Titanium.UI.TableView.resultsSeparatorStyleproperty

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

Titanium.UI.TableView.scrollableproperty

If true, the tableview can be scrolled. (Added support for Android.)

Titanium.UI.TableView.setResultsBackgroundColormethod

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

Titanium.UI.TableView.setResultsSeparatorColormethod

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

Titanium.UI.TableView.setResultsSeparatorInsetsmethod

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

Titanium.UI.TableView.setResultsSeparatorStylemethod

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

Titanium.UI.TableView.setScrollablemethod

Sets the value of the Titanium.UI.TableView.scrollable property. (Added support for Android.)

Titanium.UI.View.getHorizontalMotionEffectmethod

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

Titanium.UI.View.getVerticalMotionEffectmethod

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

Titanium.UI.View.horizontalMotionEffectproperty

Adds a horizontal parallax effect to the view (New API, supported on iPhone and iPad.)

Titanium.UI.View.setHorizontalMotionEffectmethod

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

Titanium.UI.View.setVerticalMotionEffectmethod

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

Titanium.UI.View.verticalMotionEffectproperty

Adds a vertical parallax effect to the view (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.getZoomLevelmethod

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

Titanium.UI.WebView.setZoomLevelmethod

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

Titanium.UI.WebView.zoomLevelproperty

Manage the zoom-level of the current page. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Window.getHomeIndicatorAutoHiddenmethod

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

Titanium.UI.Window.getNavigationWindowmethod

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

Titanium.UI.Window.homeIndicatorAutoHiddenproperty

Boolean value indicating whether the system is allowed to hide the visual indicator for returning to the Home screen. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.navigationWindowproperty

The Titanium.UI.iOS.NavigationWindow instance hosting this window. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHomeIndicatorAutoHiddenmethod

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

Titanium.UI.createMaskedImagemethod

Creates and returns an instance of Titanium.UI.MaskedImage. (Added support for Android.)

Titanium.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_CONTEXTproperty

View presented over its parent window. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREENproperty

Presented view covers the screen. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.setMODAL_PRESENTATION_OVER_CURRENT_CONTEXTmethod

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

Titanium.UI.iOS.setMODAL_PRESENTATION_OVER_CURRENT_FULL_SCREENmethod

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

7.3.0

The following APIs are new or have expanded platform support in Release 7.3.0 as of August 17th, 2018.

API
Type
Notes
Global.console.timemethod

Start a timer to track duration of an operation. (New API, supported on Android, iPhone and iPad.)

Global.console.timeEndmethod

Stop a timer that was previously started. (New API, supported on Android, iPhone and iPad.)

Titanium.Android.R.animatorproperty

Animator resources. See R.animator in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.boolproperty

Boolean resources. See R.bool in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.fractionproperty

Fraction resources. See R.fraction in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.interpolatorproperty

Interpolator resources. See R.fraction in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.menuproperty

Menu resources. See R.menu in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.mipmapproperty

Mipmap resources. See R.mipmap in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.pluralsproperty

Plurals resources. See R.plurals in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.rawproperty

Raw resources. See R.raw in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.transitionproperty

Transition resources. See R.transition in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.R.xmlproperty

XML resources. See R.xml in the Android Developer Reference. (New API, supported on Android.)

Titanium.Android.Service.foregroundCancelmethod

Puts the service into the "background" state and removes its foreground notification. (New API, supported on Android.)

Titanium.Android.Service.foregroundNotifymethod

Puts the service into the "foreground" state and displays a notification. (New API, supported on Android.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_ALERTproperty

A alert dialog is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_BANNERproperty

A banner is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_ALERT_STYLE_NONEproperty

No banner or alert dialog is presented when the notification is received. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_AUTHORIZEDproperty

The application is authorized to post user notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_DENIEDproperty

The application is not authorized to post user notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_AUTHORIZATION_STATUS_NOT_DETERMINEDproperty

The user has not yet made a choice regarding whether the application may postuser notifications. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_ALLOW_IN_CARPLAYproperty

Allow CarPlay to display notifications of this type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_CUSTOM_DISMISS_ACTIONproperty

Send dismiss actions to the UNUserNotificationCenter object's delegate for handling. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_HIDDEN_PREVIEWS_SHOW_SUBTITLEproperty

Show the notification's subtitle, even if the user has disabled notification previews for the app. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_HIDDEN_PREVIEWS_SHOW_TITLEproperty

Show the notification's title, even if the user has disabled notification previews for the app. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_CATEGORY_OPTION_NONEproperty

No options. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_DISABLEDproperty

The notification setting is turned off. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_ENABLEDproperty

The notification setting is turned on. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_SETTING_NOT_SUPPORTEDproperty

The application does not support this notification type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserNotificationCenterobject

The top-level App iOS Notification Center module. It is used to control scheduled notificationsand receive details about the system-wide notification settings. (New API, supported on iPhone and iPad.)

Titanium.Filesystem.File.appendmethod

Appends data to the file identified by this file object. (Added support for Android.)

Titanium.Filesystem.File.copymethod

Copies the file identified by this file object to a new path. (Added support for iPhone and iPad.)

Titanium.Filesystem.File.createdAtmethod

Returns the creation Date for the file identified by this file object. (Added support for Android, iPhone and iPad.)

Titanium.Filesystem.File.modifiedAtmethod

Returns the last modification Date for the file identified by this file object. (Added support for Android, iPhone and iPad.)

Titanium.Geolocation.getShowBackgroundLocationIndicatormethod

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

Titanium.Geolocation.setShowBackgroundLocationIndicatormethod

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

Titanium.Geolocation.showBackgroundLocationIndicatorproperty

Specifies that an indicator be shown when the app makes use of continuous background location updates. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_CLEARproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLORproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLOR_BURNproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COLOR_DODGEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_COPYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DARKENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_ATOPproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_INproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_OUTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DESTINATION_OVERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_DIFFERENCEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_EXCLUSIONproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_HARD_LIGHTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_HUEproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_LIGHTENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_LUMINOSITYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_MULTIPLYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_NORMALproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_OVERLAYproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_PLUS_DARKERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_PLUS_LIGHTERproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SATURATIONproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_SCREENproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOFT_LIGHTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_ATOPproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_INproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_SOURCE_OUTproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.BLEND_MODE_XORproperty

Use with MaskedImage.mode to specify a blend mode. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.MaskedImageobject

A control that displays an image composited with a background image or color. (Added support for Android.)

Titanium.UI.TableView.getResultsBackgroundColormethod

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

Titanium.UI.TableView.getResultsSeparatorColormethod

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

Titanium.UI.TableView.getResultsSeparatorInsetsmethod

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

Titanium.UI.TableView.getResultsSeparatorStylemethod

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

Titanium.UI.TableView.getScrollablemethod

Gets the value of the Titanium.UI.TableView.scrollable property. (Added support for Android.)

Titanium.UI.TableView.resultsBackgroundColorproperty

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

Titanium.UI.TableView.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.TableView.resultsSeparatorInsetsproperty

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

Titanium.UI.TableView.resultsSeparatorStyleproperty

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

Titanium.UI.TableView.scrollableproperty

If true, the tableview can be scrolled. (Added support for Android.)

Titanium.UI.TableView.setResultsBackgroundColormethod

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

Titanium.UI.TableView.setResultsSeparatorColormethod

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

Titanium.UI.TableView.setResultsSeparatorInsetsmethod

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

Titanium.UI.TableView.setResultsSeparatorStylemethod

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

Titanium.UI.TableView.setScrollablemethod

Sets the value of the Titanium.UI.TableView.scrollable property. (Added support for Android.)

Titanium.UI.View.getHorizontalMotionEffectmethod

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

Titanium.UI.View.getVerticalMotionEffectmethod

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

Titanium.UI.View.horizontalMotionEffectproperty

Adds a horizontal parallax effect to the view (New API, supported on iPhone and iPad.)

Titanium.UI.View.setHorizontalMotionEffectmethod

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

Titanium.UI.View.setVerticalMotionEffectmethod

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

Titanium.UI.View.verticalMotionEffectproperty

Adds a vertical parallax effect to the view (New API, supported on iPhone and iPad.)

Titanium.UI.WebView.getZoomLevelmethod

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

Titanium.UI.WebView.setZoomLevelmethod

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

Titanium.UI.WebView.zoomLevelproperty

Manage the zoom-level of the current page. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Window.getHomeIndicatorAutoHiddenmethod

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

Titanium.UI.Window.getNavigationWindowmethod

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

Titanium.UI.Window.homeIndicatorAutoHiddenproperty

Boolean value indicating whether the system is allowed to hide the visual indicator for returning to the Home screen. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.navigationWindowproperty

The Titanium.UI.iOS.NavigationWindow instance hosting this window. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.setHomeIndicatorAutoHiddenmethod

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

Titanium.UI.createMaskedImagemethod

Creates and returns an instance of Titanium.UI.MaskedImage. (Added support for Android.)

Titanium.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_CONTEXTproperty

View presented over its parent window. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREENproperty

Presented view covers the screen. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.setMODAL_PRESENTATION_OVER_CURRENT_CONTEXTmethod

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

Titanium.UI.iOS.setMODAL_PRESENTATION_OVER_CURRENT_FULL_SCREENmethod

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

7.2.1

The following APIs are new or have expanded platform support in Release 7.2.1 as of August 17th, 2018.

API
Type
Notes
Titanium.Analytics.getOptedOutmethod

Gets the value of the Titanium.Analytics.optedOut property. (New API, supported on Android, iPhone, iPad and Windows Phone.)

Titanium.Analytics.optedOutproperty

Allows the user to opt out from Analytics during runtime to comply to GPDR. (New API, supported on Android, iPhone, iPad and Windows Phone.)

Titanium.Analytics.setOptedOutmethod

Sets the value of the Titanium.Analytics.optedOut property. (New API, supported on Android, iPhone, iPad and Windows Phone.)

7.1.1

The following APIs are new or have expanded platform support in Release 7.1.1 as of May 2nd, 2018.

API
Type
Notes
Titanium.Android.ActionBar.customViewproperty

Sets a view to be used for a custom navigation mode. (New API, supported on Android.)

Titanium.Android.ActionBar.getCustomViewmethod

Gets the value of the Titanium.Android.ActionBar.customView property. (New API, supported on Android.)

Titanium.Android.ActionBar.setCustomViewmethod

Sets the value of the Titanium.Android.ActionBar.customView property. (New API, supported on Android.)

Titanium.Android.NotificationManager.areNotificationsEnabledmethod

Returns whether showing notifications is enabled for the application. (New API, supported on Android.)

Titanium.Calendar.Event.createRecurrenceRulemethod

Creates an recurrence pattern for a recurring event.All of the properties for the recurrence rule must be set during creation. The recurrence rule properties cannot be modified. (Added support for Android.)

Titanium.Calendar.Event.getRecurrenceRulesmethod

Gets the value of the Titanium.Calendar.Event.recurrenceRules property. (Added support for Android.)

Titanium.Calendar.Event.recurrenceRulesproperty

The recurrence rules for the calendar item. (Added support for Android.)

Titanium.Calendar.Event.savemethod

Saves changes to an event permanently. (Added support for Android.)

Titanium.Calendar.Event.setRecurrenceRulesmethod

Sets the value of the Titanium.Calendar.Event.recurrenceRules property. (Added support for Android.)

Titanium.Calendar.RecurrenceRuleobject

An object that is used to describe the recurrence pattern for a recurring event. (Added support for Android.)

Titanium.Media.VideoPlayer.getShowsControlsmethod

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

Titanium.Media.VideoPlayer.setShowsControlsmethod

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

Titanium.Media.VideoPlayer.showsControlsproperty

Whether or not the receiver shows playback controls. Default is true. (Added support for Android.)

Titanium.UI.Android.DrawerLayout.getToolbarmethod

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

Titanium.UI.Android.DrawerLayout.setToolbarmethod

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

Titanium.UI.Android.DrawerLayout.toolbarproperty

A Toolbar instance to use as a toolbar. (New API, supported on Android.)

Titanium.UI.Android.SearchView.getHintTextColormethod

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

Titanium.UI.Android.SearchView.hintTextColorproperty

Color of hint text that displays when field is empty. (New API, supported on Android.)

Titanium.UI.Android.SearchView.setHintTextColormethod

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

Titanium.UI.SearchBar.colorproperty

Color of the text in this text field, as a color name or hex triplet. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.SearchBar.getColormethod

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

Titanium.UI.SearchBar.getHintTextColormethod

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

Titanium.UI.SearchBar.hintTextColorproperty

Hint text color to display when the field is empty. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.SearchBar.setColormethod

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

Titanium.UI.SearchBar.setHintTextColormethod

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

Titanium.UI.TabGroup.closeevent

Fired when the tab group is closed. (Added support for Android.)

7.1.0

The following APIs are new or have expanded platform support in Release 7.1.0 as of March 14th, 2018.

API
Type
Notes
Titanium.Android.ActionBar.customViewproperty

Sets a view to be used for a custom navigation mode. (New API, supported on Android.)

Titanium.Android.ActionBar.getCustomViewmethod

Gets the value of the Titanium.Android.ActionBar.customView property. (New API, supported on Android.)

Titanium.Android.ActionBar.setCustomViewmethod

Sets the value of the Titanium.Android.ActionBar.customView property. (New API, supported on Android.)

Titanium.Android.NotificationManager.areNotificationsEnabledmethod

Returns whether showing notifications is enabled for the application. (New API, supported on Android.)

Titanium.Calendar.Event.createRecurrenceRulemethod

Creates an recurrence pattern for a recurring event.All of the properties for the recurrence rule must be set during creation. The recurrence rule properties cannot be modified. (Added support for Android.)

Titanium.Calendar.Event.getRecurrenceRulesmethod

Gets the value of the Titanium.Calendar.Event.recurrenceRules property. (Added support for Android.)

Titanium.Calendar.Event.recurrenceRulesproperty

The recurrence rules for the calendar item. (Added support for Android.)

Titanium.Calendar.Event.savemethod

Saves changes to an event permanently. (Added support for Android.)

Titanium.Calendar.Event.setRecurrenceRulesmethod

Sets the value of the Titanium.Calendar.Event.recurrenceRules property. (Added support for Android.)

Titanium.Calendar.RecurrenceRuleobject

An object that is used to describe the recurrence pattern for a recurring event. (Added support for Android.)

Titanium.Media.VideoPlayer.getShowsControlsmethod

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

Titanium.Media.VideoPlayer.setShowsControlsmethod

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

Titanium.Media.VideoPlayer.showsControlsproperty

Whether or not the receiver shows playback controls. Default is true. (Added support for Android.)

Titanium.UI.Android.DrawerLayout.getToolbarmethod

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

Titanium.UI.Android.DrawerLayout.setToolbarmethod

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

Titanium.UI.Android.DrawerLayout.toolbarproperty

A Toolbar instance to use as a toolbar. (New API, supported on Android.)

Titanium.UI.Android.SearchView.getHintTextColormethod

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

Titanium.UI.Android.SearchView.hintTextColorproperty

Color of hint text that displays when field is empty. (New API, supported on Android.)

Titanium.UI.Android.SearchView.setHintTextColormethod

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

Titanium.UI.SearchBar.colorproperty

Color of the text in this text field, as a color name or hex triplet. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.SearchBar.getColormethod

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

Titanium.UI.SearchBar.getHintTextColormethod

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

Titanium.UI.SearchBar.hintTextColorproperty

Hint text color to display when the field is empty. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.SearchBar.setColormethod

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

Titanium.UI.SearchBar.setHintTextColormethod

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

Titanium.UI.TabGroup.closeevent

Fired when the tab group is closed. (Added support for Android.)

7.0.1

The following APIs are new or have expanded platform support in Release 7.0.1 as of December 21st, 2017.

API
Type
Notes
Titanium.Android.IMPORTANCE_DEFAULTproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_HIGHproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_LOWproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_MAXproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_MINproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_NONEproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_UNSPECIFIEDproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.Notification.colorproperty

Accent color used behind icon. (New API, supported on Android.)

Titanium.Android.Notification.getColormethod

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

Titanium.Android.Notification.setColormethod

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

Titanium.Android.NotificationChannelobject

Module for notification channels. (New API, supported on Android.)

Titanium.Android.QuickSettingsServiceobject

Android service for creating custom quick settings tiles and handling user's interaction with them. (New API, supported on Android.)

Titanium.Android.TILE_STATE_ACTIVEproperty

QuickSettings tile is active. (New API, supported on Android.)

Titanium.Android.TILE_STATE_INACTIVEproperty

QuickSettings tile is inactive. (New API, supported on Android.)

Titanium.Android.TILE_STATE_UNAVAILABLEproperty

QuickSettings tile is unavailble. (New API, supported on Android.)

Titanium.Media.VIDEO_SCALING_RESIZEproperty

Specifies that the video should be stretched to fill the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VIDEO_SCALING_RESIZE_ASPECTproperty

Specifies that the player should preserve the aspect ratio of video and fit the video within the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VIDEO_SCALING_RESIZE_ASPECT_FILLproperty

Specifies that the player should preserve the aspect ratio of video and fill the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VideoPlayer.getShowsControlsmethod

Gets the value of the Titanium.Media.VideoPlayer.showsControls property. (Added support for iPhone and iPad.)

Titanium.Media.VideoPlayer.setShowsControlsmethod

Sets the value of the Titanium.Media.VideoPlayer.showsControls property. (Added support for iPhone and iPad.)

Titanium.Media.VideoPlayer.showsControlsproperty

Whether or not the receiver shows playback controls. Default is true. (Added support for iPhone and iPad.)

Titanium.Platform.getIdentifierForAdvertisingmethod

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

Titanium.Platform.getIdentifierForVendormethod

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

Titanium.Platform.getIsAdvertisingTrackingEnabledmethod

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

Titanium.Platform.identifierForAdvertisingproperty

An alphanumeric string unique to each device, used only for serving advertisements. (New API, supported on iPhone and iPad.)

Titanium.Platform.identifierForVendorproperty

An alphanumeric string that uniquely identifies a device to the app's vendor. (New API, supported on iPhone and iPad.)

Titanium.Platform.isAdvertisingTrackingEnabledproperty

A Boolean value that indicates whether the user has limited ad tracking. (New API, supported on iPhone and iPad.)

Titanium.Platform.setIdentifierForAdvertisingmethod

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

Titanium.UI.ATTRIBUTE_BASELINE_OFFSETproperty

Use with Attribute.type to apply a different baseline to the text. (Added support for Android.)

Titanium.UI.ListView.allowsMultipleSelectionDuringEditingproperty

Determines whether multiple items of this list view can be selected at the same time while editing the table. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getAllowsMultipleSelectionDuringEditingmethod

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

Titanium.UI.ListView.getSelectedItemsmethod

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

Titanium.UI.ListView.selectedItemsproperty

Returns the selected list view items. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setAllowsMultipleSelectionDuringEditingmethod

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

Titanium.UI.ListView.setSelectedItemsmethod

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

Titanium.UI.ScrollView.scrollToTopmethod

Moves the top of the scrollable region into the viewable area. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextArea.getHintTypemethod

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

Titanium.UI.TextArea.hintTypeproperty

Hint type to display on the text field. (New API, supported on Android.)

Titanium.UI.TextArea.setHintTypemethod

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

Titanium.UI.TextField.getHintTypemethod

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

Titanium.UI.TextField.hintTypeproperty

Hint type to display on the text field. (New API, supported on Android.)

Titanium.UI.TextField.setHintTypemethod

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

Titanium.UI.Window.getSustainedPerformanceModemethod

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

Titanium.UI.Window.setSustainedPerformanceModemethod

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

Titanium.UI.Window.sustainedPerformanceModeproperty

Maintain a sustainable level of performance. (New API, supported on Android.)

7.0.0

The following APIs are new or have expanded platform support in Release 7.0.0 as of December 8th, 2017.

API
Type
Notes
Titanium.Android.IMPORTANCE_DEFAULTproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_HIGHproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_LOWproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_MAXproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_MINproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_NONEproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.IMPORTANCE_UNSPECIFIEDproperty

Used with NotificationChannel to specify an importance level. (New API, supported on Android.)

Titanium.Android.Notification.colorproperty

Accent color used behind icon. (New API, supported on Android.)

Titanium.Android.Notification.getColormethod

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

Titanium.Android.Notification.setColormethod

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

Titanium.Android.NotificationChannelobject

Module for notification channels. (New API, supported on Android.)

Titanium.Android.QuickSettingsServiceobject

Android service for creating custom quick settings tiles and handling user's interaction with them. (New API, supported on Android.)

Titanium.Android.TILE_STATE_ACTIVEproperty

QuickSettings tile is active. (New API, supported on Android.)

Titanium.Android.TILE_STATE_INACTIVEproperty

QuickSettings tile is inactive. (New API, supported on Android.)

Titanium.Android.TILE_STATE_UNAVAILABLEproperty

QuickSettings tile is unavailble. (New API, supported on Android.)

Titanium.Media.VIDEO_SCALING_RESIZEproperty

Specifies that the video should be stretched to fill the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VIDEO_SCALING_RESIZE_ASPECTproperty

Specifies that the player should preserve the aspect ratio of video and fit the video within the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VIDEO_SCALING_RESIZE_ASPECT_FILLproperty

Specifies that the player should preserve the aspect ratio of video and fill the bounds of layer. (New API, supported on iPhone and iPad.)

Titanium.Media.VideoPlayer.getShowsControlsmethod

Gets the value of the Titanium.Media.VideoPlayer.showsControls property. (Added support for iPhone and iPad.)

Titanium.Media.VideoPlayer.setShowsControlsmethod

Sets the value of the Titanium.Media.VideoPlayer.showsControls property. (Added support for iPhone and iPad.)

Titanium.Media.VideoPlayer.showsControlsproperty

Whether or not the receiver shows playback controls. Default is true. (Added support for iPhone and iPad.)

Titanium.Platform.getIdentifierForAdvertisingmethod

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

Titanium.Platform.getIdentifierForVendormethod

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

Titanium.Platform.getIsAdvertisingTrackingEnabledmethod

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

Titanium.Platform.identifierForAdvertisingproperty

An alphanumeric string unique to each device, used only for serving advertisements. (New API, supported on iPhone and iPad.)

Titanium.Platform.identifierForVendorproperty

An alphanumeric string that uniquely identifies a device to the app's vendor. (New API, supported on iPhone and iPad.)

Titanium.Platform.isAdvertisingTrackingEnabledproperty

A Boolean value that indicates whether the user has limited ad tracking. (New API, supported on iPhone and iPad.)

Titanium.Platform.setIdentifierForAdvertisingmethod

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

Titanium.UI.ATTRIBUTE_BASELINE_OFFSETproperty

Use with Attribute.type to apply a different baseline to the text. (Added support for Android.)

Titanium.UI.AUTOFILL_TYPE_ADDRESSproperty

Specifies the expectation of an address. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_CITYproperty

Specifies the expectation of a city name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_CITY_STATEproperty

Specifies the expectation of a city name combined with a state name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_LINE1property

Specifies the expectation of the first line of a street address. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_LINE2property

Specifies the expectation of the second line of a street address. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ADDRESS_STATEproperty

Specifies the expectation of a state name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_DATEproperty

Specifies the expectation of a card expiration date. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_DAYproperty

Specifies the expectation of a card expiration day. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_MONTHproperty

Specifies the expectation of a card expiration month. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_EXPIRATION_YEARproperty

Specifies the expectation of a card expiration year. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_CARD_NUMBERproperty

Specifies the expectation of a card number. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_CARD_SECURITY_CODEproperty

Specifies the expectation of a card security code. (New API, supported on Android.)

Titanium.UI.AUTOFILL_TYPE_COUNTRY_NAMEproperty

Specifies the expectation of a country name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_EMAILproperty

Specifies the expectation of an email address. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_FAMILY_NAMEproperty

Specifies the expectation of a family name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_GIVEN_NAMEproperty

Specifies the expectation of a given name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_JOB_TITLEproperty

Specifies the expectation of a job title. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_LOCATIONproperty

Specifies the expectation of a location, such as a point of interest, an address, or another way to identify a location. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_MIDDLE_NAMEproperty

Specifies the expectation of a middle name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NAMEproperty

Specifies the expectation of a name. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NAME_PREFIXproperty

Specifies the expectation of a prefix or title, such as 'Dr.' (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NAME_SUFFIXproperty

Specifies the expectation of a suffix, such as 'Jr.' (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_NICKNAMEproperty

Specifies the expectation of a nickname. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_ORGANIZATION_NAMEproperty

Specifies the expectation of an organization name. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_PASSWORDproperty

Specifies the expectation of a password. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_PHONEproperty

Specifies the expectation of a telephone number. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_POSTAL_CODEproperty

Specifies the expectation of a postal code. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_SUBLOCALITYproperty

Specifies the expectation of a sublocality. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_URLproperty

Specifies the expectation of a URL. (New API, supported on iPhone and iPad.)

Titanium.UI.AUTOFILL_TYPE_USERNAMEproperty

Specifies the expectation of an account or login name. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ListView.allowsMultipleSelectionDuringEditingproperty

Determines whether multiple items of this list view can be selected at the same time while editing the table. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getAllowsMultipleSelectionDuringEditingmethod

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

Titanium.UI.ListView.getSelectedItemsmethod

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

Titanium.UI.ListView.selectedItemsproperty

Returns the selected list view items. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setAllowsMultipleSelectionDuringEditingmethod

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

Titanium.UI.ListView.setSelectedItemsmethod

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

Titanium.UI.ScrollView.getRefreshControlmethod

Gets the value of the Titanium.UI.ScrollView.refreshControl property. (Added support for Android.)

Titanium.UI.ScrollView.refreshControlproperty

View positioned above the first row that is only revealed when the user drags the scroll view contents down. (Added support for Android.)

Titanium.UI.ScrollView.scrollToTopmethod

Moves the top of the scrollable region into the viewable area. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ScrollView.setRefreshControlmethod

Sets the value of the Titanium.UI.ScrollView.refreshControl property. (Added support for Android.)

Titanium.UI.TextArea.autofillTypeproperty

Sets the autofill type for the text area. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextArea.getAutofillTypemethod

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

Titanium.UI.TextArea.getHintTypemethod

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

Titanium.UI.TextArea.hintTypeproperty

Hint type to display on the text field. (New API, supported on Android.)

Titanium.UI.TextArea.setAutofillTypemethod

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

Titanium.UI.TextArea.setHintTypemethod

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

Titanium.UI.TextField.autofillTypeproperty

Sets the autofill type for the text field. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TextField.getAutofillTypemethod

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

Titanium.UI.TextField.getHintTypemethod

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

Titanium.UI.TextField.hintTypeproperty

Hint type to display on the text field. (New API, supported on Android.)

Titanium.UI.TextField.setAutofillTypemethod

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

Titanium.UI.TextField.setHintTypemethod

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

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.0 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.getSustainedPerformanceModemethod

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

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.Window.setSustainedPerformanceModemethod

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

Titanium.UI.Window.sustainedPerformanceModeproperty

Maintain a sustainable level of performance. (New API, supported on Android.)

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 previous 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.)


 

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.)


 

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

SDK 5.x

5.5.0

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

API
Type
Notes
Titanium.App.iOS.SearchQueryobject

A search query object manages the criteria to apply when searching app content that you have previously indexed by using the Core Spotlight APIs. (New API, supported on iPhone and iPad.)

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.createSearchQuerymethod

Creates and returns an instance of Titanium.App.iOS.SearchQuery. (New API, supported on iPhone and iPad.)

Titanium.Media.hasAudioPermissionsmethod

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

Titanium.UI.CLIPBOARD_OPTION_EXPIRATION_DATEproperty

Specifies the time and date that you want the system to remove the clipboard items from the clipboard. (New API, supported on iPhone and iPad.)

Titanium.UI.CLIPBOARD_OPTION_LOCAL_ONLYproperty

Specifies that the clipboard items should not be available to other devices through Handoff. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboard.getItemsmethod

Gets the items that have been specified earlier using Titanium.UI.Clipboard.setItems. (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.Clipboard.setItemsmethod

Adds an array of items to a clipboard, and sets privacy options for all included items. (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.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.setRefreshControlmethod

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

Titanium.UI.iOS.BLUR_EFFECT_STYLE_PROMINENTproperty

Use with BlurView.effect to specify a blur effect. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.BLUR_EFFECT_STYLE_REGULARproperty

Use with BlurView.effect to specify a blur effect. (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.)

5.4.0

The following APIs are new or have expanded platform support in Release 5.4.0 as of August 10th, 2016.

API
Type
Notes
Titanium.Android.Notification.getStylemethod

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

Titanium.Android.Notification.setStylemethod

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

Titanium.Android.Notification.styleproperty

Style object that can apply a rich notification style. (New API, supported on Android.)

Titanium.Android.hasPermissionmethod

Returns true if the app has permission access. (New API, supported on Android.)

Titanium.Android.requestPermissionsmethod

Request for permission access. (New API, supported on Android.)

Titanium.Database.DB.fileproperty

File object representing the file where this database is stored. Must only be used for setting file properties. (Added support for Android.)

Titanium.Database.DB.getFilemethod

Gets the value of the Titanium.Database.DB.file property. (Added support for Android.)

Titanium.Filesystem.getAssetmethod

Returns a Blob object representing the asset catalog image identified by the path arguments. (New API, supported on iPhone and iPad.)

Titanium.Filesystem.hasStoragePermissionsmethod

Returns true if the app has storage permissions. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.Filesystem.requestStoragePermissionsmethod

Requests for storage permissions (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.Media.AudioPlayer.getAudioSessionIdmethod

Returns the audio session id. (New API, supported on Android.)

Titanium.Media.startVideoCapturemethod

Starts video capture using the camera specified. (Added support for Android.)

Titanium.Media.stopVideoCapturemethod

Stops video capture using the camera specified. (Added support for Android.)

Titanium.UI.AlertDialog.getHintTextmethod

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

Titanium.UI.AlertDialog.getLoginHintTextmethod

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

Titanium.UI.AlertDialog.getPasswordHintTextmethod

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

Titanium.UI.AlertDialog.hintTextproperty

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

Titanium.UI.AlertDialog.loginHintTextproperty

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

Titanium.UI.AlertDialog.passwordHintTextproperty

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

Titanium.UI.AlertDialog.setHintTextmethod

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

Titanium.UI.AlertDialog.setLoginHintTextmethod

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

Titanium.UI.AlertDialog.setPasswordHintTextmethod

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

Titanium.UI.Android.GRAVITY_AXIS_CLIPproperty

Raw bit controlling whether the right/bottom edge is clipped to its container, based on the gravity direction being applied. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_AXIS_PULL_AFTERproperty

Raw bit controlling how the right/bottom edge is placed. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_AXIS_PULL_BEFOREproperty

Raw bit controlling how the left/top edge is placed. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_AXIS_SPECIFIEDproperty

Raw bit indicating the gravity for an axis has been specified. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_AXIS_X_SHIFTproperty

Bits defining the horizontal axis. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_AXIS_Y_SHIFTproperty

Bits defining the vertical axis. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_BOTTOMproperty

Push object to the bottom of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_CENTERproperty

Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_CENTER_HORIZONTALproperty

Place object in the horizontal center of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_CENTER_VERTICALproperty

Place object in the vertical center of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_CLIP_HORIZONTALproperty

Flag to clip the edges of the object to its container along the horizontal axis. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_CLIP_VERTICALproperty

Flag to clip the edges of the object to its container along the vertical axis. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_DISPLAY_CLIP_HORIZONTALproperty

Special constant to enable clipping to an overall display along the horizontal dimension. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_DISPLAY_CLIP_VERTICALproperty

Special constant to enable clipping to an overall display along the vertical dimension. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_ENDproperty

Push object to x-axis position at the end of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_FILLproperty

Grow the horizontal and vertical size of the object if needed so it completely fills its container. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_FILL_HORIZONTALproperty

Grow the horizontal size of the object if needed so it completely fills its container. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_FILL_VERTICALproperty

Grow the vertical size of the object if needed so it completely fills its container. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_HORIZONTAL_GRAVITY_MASKproperty

Binary mask to get the absolute horizontal gravity of a gravity. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_LEFTproperty

Push object to the left of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_NO_GRAVITYproperty

Constant indicating that no gravity has been set (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_RELATIVE_HORIZONTAL_GRAVITY_MASKproperty

Binary mask for the horizontal gravity and script specific direction bit. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_RELATIVE_LAYOUT_DIRECTIONproperty

Raw bit controlling whether the layout direction is relative or not (GRAVITY_START/GRAVITY_END instead of absolute GRAVITY_LEFT/GRAVITY_RIGHT). (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_RIGHTproperty

Push object to the right of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_STARTproperty

Push object to x-axis position at the start of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_TOPproperty

Push object to the top of its container, not changing its size. (New API, supported on Android.)

Titanium.UI.Android.GRAVITY_VERTICAL_GRAVITY_MASKproperty

Binary mask to get the vertical gravity of a gravity. (New API, supported on Android.)

Titanium.UI.Button.getTintColormethod

Gets the value of the Titanium.UI.Button.tintColor property. (Added support for Android.)

Titanium.UI.Button.setTintColormethod

Sets the value of the Titanium.UI.Button.tintColor property. (Added support for Android.)

Titanium.UI.Button.tintColorproperty

Button tint color. (Added support for Android.)

Titanium.UI.ImageView.getTintColormethod

Gets the value of the Titanium.UI.ImageView.tintColor property. (Added support for Android.)

Titanium.UI.ImageView.setTintColormethod

Sets the value of the Titanium.UI.ImageView.tintColor property. (Added support for Android.)

Titanium.UI.ImageView.tintColorproperty

The view's tintColor. (Added support for Android.)

Titanium.UI.Label.getLineSpacingmethod

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

Titanium.UI.Label.lineSpacingproperty

Line spacing of the text, as a dictionary with the properties add and multiply. (New API, supported on Android.)

Titanium.UI.Label.setLineSpacingmethod

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

Titanium.UI.ListView.allowsSelectionDuringEditingproperty

Determines whether this list View rows can be selected while editing the table. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.disableBounceproperty

Determines whether the scroll-bounce of the list view should be disabled. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.getAllowsSelectionDuringEditingmethod

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

Titanium.UI.ListView.getDisableBouncemethod

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

Titanium.UI.ListView.getListSeparatorInsetsmethod

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

Titanium.UI.ListView.insertevent

Fired when a list row is inserted by the user. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.listSeparatorInsetsproperty

The insets for the list view header and footer. This property is applicable on iOS 7 and greater. (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 (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.setAllowsSelectionDuringEditingmethod

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

Titanium.UI.ListView.setDisableBouncemethod

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

Titanium.UI.ListView.setListSeparatorInsetsmethod

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

Titanium.UI.Notification.getGravitymethod

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

Titanium.UI.Notification.gravityproperty

Determines the location at which the notification should appear on the screen. (New API, supported on Android.)

Titanium.UI.Notification.setGravitymethod

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

Titanium.UI.Picker.getNativeSpinnermethod

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

Titanium.UI.Picker.nativeSpinnerproperty

Creates a native Android control for creating a Time Spinner with Type Ti.UI.PICKER_TYPE_TIME. This is invoked rather than the default native "dropdown" style. (New API, supported on Android.)

Titanium.UI.Picker.setNativeSpinnermethod

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

Titanium.UI.PickerRow.colorproperty

Color of the item text, as a color name or hex triplet. (Added support for Android, iPhone and iPad.)

Titanium.UI.PickerRow.getColormethod

Gets the value of the Titanium.UI.PickerRow.color property. (Added support for Android, iPhone and iPad.)

Titanium.UI.PickerRow.setColormethod

Sets the value of the Titanium.UI.PickerRow.color property. (Added support for Android, iPhone and iPad.)

Titanium.UI.ScrollableView.currentPageIndicatorColorproperty

Color for the current page of the paging control, as a color name or hex triplet. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollableView.getCurrentPageIndicatorColormethod

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

Titanium.UI.ScrollableView.getPageIndicatorColormethod

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

Titanium.UI.ScrollableView.insertViewsAtmethod

Inserts views at the specified position in the views array. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ScrollableView.pageIndicatorColorproperty

Color of the paging control, as a color name or hex triplet. (New API, supported on iPhone and iPad.)

Titanium.UI.ScrollableView.setCurrentPageIndicatorColormethod

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

Titanium.UI.ScrollableView.setPageIndicatorColormethod

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

Titanium.UI.SearchBar.cancelButtonTitleproperty

The title of the cancel button when the search bar field is focused. (New API, supported on iPhone and iPad.)

Titanium.UI.SearchBar.getCancelButtonTitlemethod

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

Titanium.UI.SearchBar.getStylemethod

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

Titanium.UI.SearchBar.setCancelButtonTitlemethod

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

Titanium.UI.SearchBar.setStylemethod

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

Titanium.UI.SearchBar.styleproperty

Determines the style of the search bar. (New API, supported on iPhone and iPad.)

Titanium.UI.TextField.getHintTextColormethod

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

Titanium.UI.TextField.hintTextColorproperty

Hint text color to display when the field is empty. (Added support for iPhone and iPad.)

Titanium.UI.TextField.setHintTextColormethod

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

Titanium.UI.WebView.allowsLinkPreviewproperty

A Boolean value that determines whether pressing on a link displays a preview of the destination for the link. (New API, supported on iPhone.)

Titanium.UI.WebView.blacklistedURLsproperty

An array of url strings to blacklist. (New API, supported on Android.)

Titanium.UI.WebView.getAllowsLinkPreviewmethod

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

Titanium.UI.WebView.getBlacklistedURLsmethod

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

Titanium.UI.WebView.onStopBlacklistedUrlevent

Fired when a blacklisted Url is stopped (New API, supported on Android.)

Titanium.UI.WebView.setAllowsLinkPreviewmethod

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

Titanium.UI.WebView.setBlacklistedURLsmethod

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

Titanium.UI.Window.hideToolbarmethod

Makes the bottom toolbar invisible. (New API, supported on iPhone and iPad.)

Titanium.UI.Window.showToolbarmethod

Makes the bottom toolbar visible. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AlertDialogStyleobject

A set of constants for the style that can be used for the style property of Titanium.UI.AlertDialog. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.AnimationStyleobject

A set of constants for the animation styles used for view transitions. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.BLUR_EFFECT_STYLE_DARKproperty

Use with BlurView.effect to specify a blur effect. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.BLUR_EFFECT_STYLE_EXTRA_LIGHTproperty

Use with BlurView.effect to specify a blur effect. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.BLUR_EFFECT_STYLE_LIGHTproperty

Use with BlurView.effect to specify a blur effect. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.BlurViewobject

A Titanium.UI.iOS.BlurView object gives you an easy way implement some complex visual effects. The blur effect is applied to every view the blur view is added to by default. You can also place the blur view above other views and all visible views layered under the blur view are blurred as well.

For more information on BlurView, please refer to the official Apple documentation. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.ListViewCellSelectionStyleobject

A set of constants for the style that can be used for the selectionStyle property of a ListItem, which is set in the properties dictionary of either the ListDataItem or ItemTemplate. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.ListViewScrollPositionobject

A set of constants for the position value that can be used for the position property of ListViewAnimationProperties when invoking the ListView's scrollToItemappendSection,deleteSectionAtinsertSectionAt and replaceSectionAt methods. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SEARCH_BAR_STYLE_MINIMALproperty

Use with Titanium.UI.Searchbar.style to change the search bar style. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SEARCH_BAR_STYLE_PROMINENTproperty

Use with Titanium.UI.Searchbar.style to change the search bar style. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.ScrollIndicatorStyleobject

A set of constants for the styles available for scrollbars used with Titanium.UI.ScrollView.scrollIndicatorStyle and Titanium.UI.TableView.scrollIndicatorStyle properties. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.StatusBarobject

A set of constants for the status bar style. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.Stepperobject

A widget used to increment and decrement a value (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.iOS.SystemButtonobject

A set of constants for creating standard iOS system buttons. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SystemButtonStyleobject

A set of constants for the system button styles that can be used for the button style property. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.TableViewCellSelectionStyleobject

A set of constants for the style that can be used for the selectionStyle property of Titanium.UI.TableViewRow. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.TableViewScrollPositionobject

A set of constants for the position value that can be used for the position property of Titanium.UI.TableView when invoking scrollToIndex. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.appBadgeproperty

Value of the badge for the application's springboard icon. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.appSupportsShakeToEditproperty

Determines whether the shake to edit system-wide capability is enabled. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createBlurViewmethod

Creates and returns an instance of Titanium.UI.iOS.BlurView. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createSteppermethod

Creates and returns an instance of Titanium.UI.iOS.Stepper. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createSystemButtonmethod

Creates and returns an instance of Titanium.UI.iOS.SystemButton. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.getAppBadgemethod

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

Titanium.UI.iOS.getAppSupportsShakeToEditmethod

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

Titanium.UI.iOS.setAppBadgemethod

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

Titanium.UI.iOS.setAppSupportsShakeToEditmethod

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

Titanium.WatchSession.ACTIVATION_STATE_ACTIVATEDproperty

The watch is currently activated. (New API, supported on iPhone.)

Titanium.WatchSession.ACTIVATION_STATE_INACTIVEproperty

The watch is currently inactive. (New API, supported on iPhone.)

Titanium.WatchSession.ACTIVATION_STATE_NOT_ACTIVATEDproperty

The watch is currently not activated. (New API, supported on iPhone.)

Titanium.WatchSession.activationCompletedevent

Called when the session has completed activation. If session state is Titanium.WatchSession.ACTIVATION_STATE_NOT_ACTIVATED there will be an error with more details. (New API, supported on iPhone.)

Titanium.WatchSession.activationStateproperty

Returns the current activation state of the watch. (New API, supported on iPhone.)

Titanium.WatchSession.deactivateevent

Called when all events for the previously selected watch has occurred. The session can be re-activated for the now selected watch using activateSession. (New API, supported on iPhone.)

Titanium.WatchSession.getActivationStatemethod

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

Titanium.WatchSession.getIsActivatedmethod

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

Titanium.WatchSession.inactiveevent

Called when the session can no longer be used to modify or add any new transfers and, all interactive messages will be cancelled, but events for background transfers can still fire. This will happen when the selected watch is being changed. (New API, supported on iPhone.)

Titanium.WatchSession.isActivatedproperty

Returns true if the watch is currently activated. (New API, supported on iPhone.)

5.2.0

The following APIs are new or have expanded platform support in Release 5.2.0 as of February 22nd, 2016.

API
Type
Notes
Titanium.Calendar.calendarAuthorizationproperty

Returns an authorization constant indicating if the application has access to the events in the EventKit. (New API, supported on iPhone and iPad.)

Titanium.Calendar.getCalendarAuthorizationmethod

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

Titanium.Media.CAMERA_AUTHORIZATION_UNKNOWNproperty

Constant specifying that app is not yet authorized to use camera. This is available on iOS7 and later. (New API, supported on iPhone and iPad.)

Titanium.Media.MEDIA_TYPE_LIVEPHOTOproperty

Media type constant for live photo media. (New API, supported on iPhone and iPad.)

Titanium.Media.cameraAuthorizationproperty

Returns the authorization status for the camera. (New API, supported on iPhone and iPad.)

Titanium.Media.getCameraAuthorizationmethod

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

Titanium.UI.AlertDialog.getKeyboardAppearancemethod

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

Titanium.UI.AlertDialog.keyboardAppearanceproperty

Keyboard appearance to be displayed when the text field inside the dialog is focused. (New API, supported on iPhone and iPad.)

Titanium.UI.AlertDialog.setKeyboardAppearancemethod

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

Titanium.UI.Android.TRANSITION_CHANGE_BOUNDSproperty

Captures layout bounds of target views before and after the scene change and animates those changes during the transition. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_CHANGE_CLIP_BOUNDSproperty

Captures the clip bounds before and after the scene change and animates those changes during the transition. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_CHANGE_IMAGE_TRANSFORMproperty

Captures an ImageView's matrix before and after the scene change and animates it during the transition. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_CHANGE_TRANSFORMproperty

Captures scale and rotation for Views before and after the scene change and animates those changes during the transition. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_EXPLODEproperty

Moves views in or out from the edges of the scene. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_FADE_INproperty

Fades in the views. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_FADE_OUTproperty

Fades out the views. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_NONEproperty

Resets transition to platform default. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_SLIDE_BOTTOMproperty

Moves views to bottom. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_SLIDE_LEFTproperty

Moves views to left. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_SLIDE_RIGHTproperty

Moves views to right. (New API, supported on Android.)

Titanium.UI.Android.TRANSITION_SLIDE_TOPproperty

Moves views to top. (New API, supported on Android.)

Titanium.UI.KEYBOARD_APPEARANCE_DARKproperty

Use the platform-specific dark keyboard appearance. (New API, supported on iPhone and iPad.)

Titanium.UI.KEYBOARD_APPEARANCE_LIGHTproperty

Use the platform-specific light keyboard appearance. (New API, supported on iPhone and iPad.)

Titanium.UI.KEYBOARD_TYPE_ASCIIproperty

Use an ASCII keyboard, with the standard keyboard layout. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.KEYBOARD_TYPE_DECIMAL_PADproperty

Use a keyboard with decimal numbers only, with the pad keyboard layout. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.KEYBOARD_TYPE_DEFAULTproperty

Use the default keyboard, depending on the platform. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.KEYBOARD_TYPE_EMAILproperty

Use a keyboard suitable for composing email, with the standard keyboard layout. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.KEYBOARD_TYPE_NAMEPHONE_PADproperty

Use a keyboard suitable for entering names and phone numbers, with the pad keyboard layout. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.KEYBOARD_TYPE_NUMBERS_PUNCTUATIONproperty

Use a keyboard with numbers and punctuation only, with the standard keyboard layout. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.KEYBOARD_TYPE_NUMBER_PADproperty

Use a keyboard with a number pad only, with the pad keyboard layout. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.KEYBOARD_TYPE_PHONE_PADproperty

Use a keyboard with a phone-style number pad, with the pad keyboard layout. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.KEYBOARD_TYPE_TWITTERproperty

Use a keyboard optimized for twitter text entry, with easy access to the @ and (New API, supported on iPhone and iPad.)

Titanium.UI.KEYBOARD_TYPE_URLproperty

Use a keyboard optimized for entering URLs, with the standard keyboard layout. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.KEYBOARD_TYPE_WEBSEARCHproperty

Use a keyboard optimized for web search terms and URL entry. (New API, supported on iPhone and iPad.)

Titanium.UI.ListItem.canInsertproperty

Specifies if the item can be inserted by a user initiated action. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.dragendevent

Fired when the user stops dragging the list view. (New API, supported on iPhone and iPad.)

Titanium.UI.ListView.dragstartevent

Fired when the user starts dragging the list view. (New API, supported on iPhone and iPad.)

Titanium.UI.Picker.backgroundColorproperty

Background color of the picker, as a color name or hex triplet. (Added support for iPhone and iPad.)

Titanium.UI.Picker.dateTimeColorproperty

Sets the text color of date- and time-pickers. (New API, supported on iPhone and iPad.)

Titanium.UI.Picker.getBackgroundColormethod

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

Titanium.UI.Picker.getDateTimeColormethod

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

Titanium.UI.Picker.setBackgroundColormethod

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

Titanium.UI.Picker.setDateTimeColormethod

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

Titanium.UI.ProgressBar.getTrackTintColormethod

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

Titanium.UI.ProgressBar.setTrackTintColormethod

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

Titanium.UI.ProgressBar.trackTintColorproperty

The color shown for the portion of the progress bar that is not filled. (New API, supported on iPhone and iPad.)

Titanium.UI.RETURNKEY_CONTINUEproperty

Set the return key text to "Continue". (New API, supported on iPhone and iPad.)

Titanium.UI.SearchBar.getKeyboardAppearancemethod

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

Titanium.UI.SearchBar.keyboardAppearanceproperty

Determines the appearance of the keyboard to be displayed the field is focused. (New API, supported on iPhone and iPad.)

Titanium.UI.SearchBar.setKeyboardAppearancemethod

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

Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_NONEproperty

The row divider is hidden. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.TABLE_VIEW_SEPARATOR_STYLE_SINGLE_LINEproperty

The row divider is shown as a single line. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.Tab.getIconInsetsmethod

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

Titanium.UI.Tab.iconInsetsproperty

The icon inset or outset for each edge. (New API, supported on iPhone and iPad.)

Titanium.UI.Tab.selectedevent

Fired when the tab is selected. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.Tab.setIconInsetsmethod

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

Titanium.UI.Tab.unselectedevent

Fired when the tab is no longer selected. (New API, supported on Android, iPhone, iPad and Mobile Web.)

Titanium.UI.TableView.getMaxClassnamemethod

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

Titanium.UI.TableView.getSeparatorStylemethod

Gets the value of the Titanium.UI.TableView.separatorStyle property. (Added support for Android.)

Titanium.UI.TableView.maxClassnameproperty

Max number of row class names. (New API, supported on Android.)

Titanium.UI.TableView.separatorStyleproperty

Separator style constant. (Added support for Android.)

Titanium.UI.TableView.setMaxClassnamemethod

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

Titanium.UI.TableView.setSeparatorStylemethod

Sets the value of the Titanium.UI.TableView.separatorStyle property. (Added support for Android.)

Titanium.UI.TextField.getInputTypemethod

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

Titanium.UI.TextField.inputTypeproperty

Input type to accept in thetext field. Also influences the Keyboard type to display. (New API, supported on Android.)

Titanium.UI.TextField.setInputTypemethod

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

Titanium.UI.Window.addSharedElementmethod

Adds a common UI element to participate in window transition animation. (New API, supported on Android.)

Titanium.UI.Window.getSwipeToClosemethod

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

Titanium.UI.Window.removeAllSharedElementsmethod

Clears all added shared elements. (New API, supported on Android.)

Titanium.UI.Window.setSwipeToClosemethod

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

Titanium.UI.Window.swipeToCloseproperty

Boolean value indicating if the user should be able to close a window using a swipe gesture. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LIVEPHOTO_PLAYBACK_STYLE_FULLproperty

Plays back the entire motion and sound content of the Live Photo, including transition effects at the start and end. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LIVEPHOTO_PLAYBACK_STYLE_HINTproperty

Plays back only a brief section of the motion content of the Live Photo, without sound. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.LivePhotoViewobject

A view to display a Live Photo object introduced in iOS 9.1. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createLivePhotoViewmethod

Creates and returns an instance of Titanium.UI.iOS.LivePhotoView. (New API, supported on iPhone and iPad.)

Titanium.UI.iPad.Popover.backgroundColorproperty

Sets the background color of the popover. (New API, supported on iPad.)

Titanium.UI.iPad.Popover.getBackgroundColormethod

Gets the value of the Titanium.UI.iPad.Popover.backgroundColor property. (New API, supported on iPad.)

Titanium.UI.iPad.Popover.setBackgroundColormethod

Sets the value of the Titanium.UI.iPad.Popover.backgroundColor property. (New API, supported on iPad.)

5.1.0

The following APIs are new or have expanded platform support in Release 5.1.0 as of November 20th, 2015.

API
Type
Notes
Titanium.App.iOS.USER_NOTIFICATION_BEHAVIOR_DEFAULTproperty

There will not appear a text input. Use with the behavior property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.USER_NOTIFICATION_BEHAVIOR_TEXTINPUTproperty

There will appear a text input to answer an action outside the application. Use with the behavior property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserNotificationAction.behaviorproperty

Selects whether to show a text input outside the application to reply to a notification. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserNotificationAction.getBehaviormethod

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

Titanium.App.iOS.UserNotificationAction.setBehaviormethod

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

Titanium.App.iOS.shortcutitemclickevent

Fired when a user taps the Application Shortcut. (New API, supported on iPhone.)

Titanium.Bufferobject

Buffer is a mutable, resizable container for raw data. (Added support for Windows Phone.)

Titanium.Calendar.hasCalendarPermissionsmethod

Returns true if the app has calendar access (New API, supported on Android, iPhone and iPad.)

Titanium.Calendar.requestCalendarPermissionsmethod

Requests for calendar access (New API, supported on Android, iPhone and iPad.)

Titanium.Contactsobject

The top-level Contacts module, used for accessing and modifying the system contacts address book. (Added support for Windows Phone.)

Titanium.Contacts.Groupobject

An object which represents a group in the system contacts address book. (Added support for Windows Phone.)

Titanium.Contacts.Personobject

An object that represents a contact record for a person or organization in the system contacts address book. (Added support for Windows Phone.)

Titanium.Geolocation.hasLocationPermissionsmethod

Returns true if the app has location access. (New API, supported on Android, iPhone and iPad.)

Titanium.Geolocation.requestLocationPermissionsmethod

Requests for location access (New API, supported on Android, iPhone and iPad.)

Titanium.IOStreamobject

IOStream is the interface that all stream types implement. (Added support for Windows Phone.)

Titanium.Media.hasCameraPermissionsmethod

Returns true if the app has camera access (New API, supported on Android, iPhone and iPad.)

Titanium.Media.requestCameraPermissionsmethod

Requests for camera access (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ActivityIndicatorStyleobject

A set of constants for the styles available for Titanium.UI.ActivityIndicator objects. (Added support for iPhone and iPad.)

Titanium.UI.AlertDialog.getLoginPlaceholdermethod

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

Titanium.UI.AlertDialog.getPasswordPlaceholdermethod

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

Titanium.UI.AlertDialog.getPlaceholdermethod

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

Titanium.UI.AlertDialog.loginPlaceholderproperty

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

Titanium.UI.AlertDialog.passwordPlaceholderproperty

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

Titanium.UI.AlertDialog.placeholderproperty

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

Titanium.UI.AlertDialog.setLoginPlaceholdermethod

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

Titanium.UI.AlertDialog.setPasswordPlaceholdermethod

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

Titanium.UI.AlertDialog.setPlaceholdermethod

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

Titanium.UI.Android.CardViewobject

A Card view with a rounded corner background and shadow. (New API, supported on Android.)

Titanium.UI.Pickerobject

A control used to select one or more fixed values. (Added support for Windows Phone.)

Titanium.UI.PickerColumnobject

A picker column, representing a selectable group of items in a Titanium.UI.Picker. (Added support for Windows Phone.)

Titanium.UI.PickerRowobject

A picker row, representing a selectable item in a Titanium.UI.Picker. (Added support for Windows Phone.)

Titanium.UI.TabGroup.selectedevent

Fired when a tab is selected. (New API, supported on iPhone and iPad.)

Titanium.UI.TabGroup.unselectedevent

Fired when a tab is unselected. (New API, supported on iPhone and iPad.)

Titanium.UI.View.getPreviewContextmethod

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

Titanium.UI.View.previewContextproperty

The preview context used in the 3D-Touch feature "Peek and Pop". (New API, supported on iPhone.)

Titanium.UI.View.setPreviewContextmethod

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

Titanium.UI.createPickermethod

Creates and returns an instance of Titanium.UI.Picker. (Added support for Windows Phone.)

Titanium.UI.createPickerColumnmethod

Creates and returns an instance of Titanium.UI.PickerColumn. (Added support for Windows Phone.)

Titanium.UI.createPickerRowmethod

Creates and returns an instance of Titanium.UI.PickerRow. (Added support for Windows Phone.)

Titanium.UI.iOS.ApplicationShortcutsobject

The Home screen quick action API is for adding shortcuts to your app icon that anticipate and accelerate a user's interaction with your app. (New API, supported on iPhone.)

Titanium.UI.iOS.PREVIEW_ACTION_STYLE_DEFAULTproperty

The normal style for preview actions. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.PREVIEW_ACTION_STYLE_DESTRUCTIVEproperty

The destructive style for preview actions. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.PREVIEW_ACTION_STYLE_SELECTEDproperty

The selected style for preview actions. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.PreviewActionobject

A PreviewAction provides options to configure action used by the iOS9 3D-Touch feature "Peek and Pop". (New API, supported on iPhone.)

Titanium.UI.iOS.PreviewActionGroupobject

A PreviewActionGroup provides options to configure a group of actions used by the iOS9 3D-Touch feature "Peek and Pop". (New API, supported on iPhone.)

Titanium.UI.iOS.PreviewContextobject

A PreviewContext provides options to configure the iOS9 3D-Touch feature "Peek and Pop". (New API, supported on iPhone.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_ADDproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_ALARMproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_AUDIOproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_BOOKMARKproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_CAPTURE_PHOTOproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_CAPTURE_VIDEOproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_CLOUDproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_COMPOSEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_CONFIRMATIONproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_CONTACTproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_DATEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_FAVORITEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_HOMEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_INVITATIONproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_LOCATIONproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_LOVEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_MAILproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_MARK_LOCATIONproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_MESSAGEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_PAUSEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_PLAYproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_PROHIBITproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_SEARCHproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_SHAREproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_SHUFFLEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_TASKproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_TASK_COMPLETEDproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_TIMEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.SHORTCUT_ICON_TYPE_UPDATEproperty

Number that represents the icon used for the application shortcut (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createApplicationShortcutsmethod

Creates and returns an instance of Titanium.UI.iOS.ApplicationShortcuts. (New API, supported on iPhone.)

Titanium.UI.iOS.createPreviewActionmethod

Creates and returns an instance of Titanium.UI.iOS.PreviewAction. (New API, supported on iPhone.)

Titanium.UI.iOS.createPreviewActionGroupmethod

Creates and returns an instance of Titanium.UI.iOS.PreviewActionGroup. (New API, supported on iPhone.)

Titanium.UI.iOS.createPreviewContextmethod

Creates and returns an instance of Titanium.UI.iOS.PreviewContext. (New API, supported on iPhone.)

Titanium.UI.iOS.forceTouchSupportedproperty

Determines if the 3D-Touch capability "Force Touch" is supported (true) or not (false) by the device. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.getForceTouchSupportedmethod

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

Titanium.UI.iOS.setForceTouchSupportedmethod

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

5.0.0

The following APIs are new or have expanded platform support in Release 5.0.0 as of September 16th, 2015.

API
Type
Notes
Titanium.Android.Notification.getLargeIconmethod

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

Titanium.Android.Notification.largeIconproperty

Add a large icon to the notification (and the ticker on some devices) specified as an Android resource ID, or a local URL to a density-specific image. (New API, supported on Android.)

Titanium.Android.Notification.setLargeIconmethod

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

Titanium.App.iOS.SearchableIndexobject

The SearchableIndex module is used to add or remove Ti.App.iOS.SearchableItem objects from the device search index. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemobject

Used to create a unique object containing all of the search information that will appear in the device search index. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSetobject

The SearchableItemAttributeSet module defines metadata properties for SearchItem and UserActivity objects. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_APPLE_ICNSproperty

Uniform type identifier for Mac OS icon images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_APPLE_PROTECTED_MPEG4_AUDIOproperty

Uniform type identifier for protected MPEG-4 audio (iTunes music store format). (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_AUDIOproperty

Uniform type identifier for all audio content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_BMPproperty

Uniform type identifier for Windows bitmap images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_FLAT_RTFDproperty

Uniform type identifier for Rich Text with content embedding, pasteboard format. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_GIFproperty

Uniform type identifier for GIF images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_HTMLproperty

Uniform type identifier for HTML. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_ICOproperty

Uniform type identifier for Windows icon images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_IMAGEproperty

Uniform type identifier for all image types. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_JPEGproperty

Uniform type identifier for JPEG images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_JPEG2000property

Uniform type identifier for JPEG 2000 images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MOVIEproperty

Uniform type identifier for all audiovisual content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MP3property

Uniform type identifier for MP3 audio. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MPEGproperty

Uniform type identifier for MPEG-1 and MPEG-2 content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MPEG4property

Uniform type identifier for MPEG-4 content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MPEG4_AUDIOproperty

Uniform type identifier for MPEG-4 audio. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PDFproperty

Uniform type identifier for PDF data. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PICTproperty

Uniform type identifier for PICT images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PLAIN_TEXTproperty

Uniform type identifier for a plain text type, equivalent to MIME type text/plain. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PNGproperty

Uniform type identifier for PNG images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_QUICKTIME_IMAGEproperty

Uniform type identifier for QuickTime images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_QUICKTIME_MOVIEproperty

Uniform type identifier for QuickTime movies. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_RTFproperty

Uniform type identifier for Rich Text. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_RTFDproperty

Uniform type identifier for Rich Text Format Directory, that is, Rich Text with content embedding, on-disk format. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_TEXTproperty

Uniform type identifier for all text types. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_TIFFproperty

Uniform type identifier for TIFF images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_TXN_TEXT_AND_MULTIMEDIA_DATAproperty

Uniform type identifier for MLTE (Textension) format for mixed text and multimedia data. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_UTF16_EXTERNAL_PLAIN_TEXTproperty

Uniform type identifier for Unicode-16 with byte-order mark (BOM), or if BOM is not present, an external representation byte order (big-endian). (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_UTF16_PLAIN_TEXTproperty

Uniform type identifier for Unicode-16, native byte order, with an optional byte-order mark (BOM). (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_UTF8_PLAIN_TEXTproperty

Uniform type identifier for Unicode-8 plain text type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_VIDEOproperty

Uniform type identifier for all video content without audio. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_WEB_ARCHIVEproperty

Uniform type identifier for WebKit webarchive format. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_XMLproperty

Uniform type identifier for XML. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserActivityobject

The UserActivity module is used to enable device Handoff and to create User Activities. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.continueactivityevent

Fired when iOS continueactivity calls continueUserActivity. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createSearchableIndexmethod

Creates and returns an instance of Titanium.App.iOS.SearchableIndex. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createSearchableItemmethod

Creates and returns an instance of Titanium.App.iOS.SearchableItem. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createSearchableItemAttributeSetmethod

Creates and returns an instance of Titanium.App.iOS.SearchableItemAttributeSet. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createUserActivitymethod

Creates and returns an instance of Titanium.App.iOS.UserActivity. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.getSupportedUserActivityTypesmethod

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

Titanium.App.iOS.supportedUserActivityTypesproperty

Provides an Array of the NSUserActivityTypes keys defined within your Titanium project. (available on iOS 8 and later). (New API, supported on iPhone and iPad.)

Titanium.Contacts.getGroupByIdentifiermethod

Gets the group with the specified identifier. (New API, supported on iPhone and iPad.)

Titanium.Contacts.getPersonByIdentifiermethod

Gets the person with the specified identifier. (New API, supported on Android, iPhone and iPad.)

Titanium.Contacts.Person.identifierproperty

Identifier of the person. (New API, supported on iPhone and iPad.)

Titanium.Geolocation.allowsBackgroundLocationUpdatesproperty

Determines if the app can do background location updates. (New API, supported on iPhone and iPad.)

Titanium.Geolocation.getAllowsBackgroundLocationUpdatesmethod

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

Titanium.Geolocation.setAllowsBackgroundLocationUpdatesmethod

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

Titanium.Media.AudioPlayer.changeevent

Fired when the state of the playback changes. (Added support for Windows Phone.)

Titanium.Media.AudioPlayer.completeevent

Fired when the audio has finished playing. (Added support for Windows Phone.)

Titanium.Media.AudioPlayer.errorevent

Fired when there's an error. (Added support for Windows Phone.)

Titanium.Media.Sound.changeevent

Fired when the state of the playback changes. (Added support for Windows Phone.)

Titanium.Media.Sound.completeevent

Fired when the audio has finished playing. (Added support for Windows Phone.)

Titanium.Media.Sound.errorevent

Fired when an error occurs while playing the audio. (Added support for Windows Phone.)

Titanium.Media.VideoPlayer.completeevent

Fired when movie playback ends or a user exits playback. (Added support for Windows Phone.)

Titanium.Media.VideoPlayer.errorevent

Fired when movie playback encounters an error. (Added support for Windows Phone.)

Titanium.Network.Cookie.getMaxAgemethod

Gets the value of the Titanium.Network.Cookie.maxAge property. (New API, supported on Android.)

Titanium.Network.Cookie.maxAgeproperty

Sets the Max-Age attribute of a Cookie, in delta-seconds. (New API, supported on Android.)

Titanium.Network.Cookie.setMaxAgemethod

Sets the value of the Titanium.Network.Cookie.maxAge property. (New API, supported on Android.)

Titanium.UI.ATTRIBUTE_LINE_BREAKproperty

Use with Attribute.type to wrap and truncate the text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_CHAR_WRAPPINGproperty

Use with Attribute.value to wrap words at word boundaries. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_CLIPPINGproperty

Use with Attribute.value to set lines to not draw past the edge of the text container. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_TRUNCATING_HEADproperty

Use with Attribute.value to use ellipsis glyph at the beginning of the line for missing text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_TRUNCATING_MIDDLEproperty

Use with Attribute.value to use ellipsis glyph at the middle of the line for missing text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_TRUNCATING_TAILproperty

Use with Attribute.value to use ellipsis glyph at the end of the line for missing text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_WORD_WRAPPINGproperty

Use with Attribute.value to wrap words at word boundaries. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboardobject

A module used for accessing clipboard data. (Added support for Windows Phone.)

Titanium.UI.ListView.noresultsevent

Fired when the search using either searchView or searchText has no results. (Added support for Android.)

Titanium.UI.ListView.editactioneventFired when the user interacts with one of the custom edit actions.
Titanium.UI.Picker.getSelectionOpensmethod

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

Titanium.UI.Picker.selectionOpensproperty

Determines whether calling the method setSelectedRow opens when called (New API, supported on Android.)

Titanium.UI.ScrollView.canCancelEventsproperty

Determines whether this scroll view can cancel subview touches in order to scroll instead. (Added support for Windows Phone.)

Titanium.UI.ScrollView.contentOffsetproperty

X and Y coordinates to which to reposition the top-left point of the scrollable region. (Added support for Windows Phone.)

Titanium.UI.ScrollView.decelerationRateproperty

The deceleration rate of the ScrollView. (Added support for Windows Phone.)

Titanium.UI.ScrollView.disableBounceproperty

Determines whether scroll bounce of the scrollable region is enabled. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getCanCancelEventsmethod

Gets the value of the Titanium.UI.ScrollView.canCancelEvents property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getContentOffsetmethod

Gets the value of the Titanium.UI.ScrollView.contentOffset property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getDecelerationRatemethod

Gets the value of the Titanium.UI.ScrollView.decelerationRate property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getDisableBouncemethod

Gets the value of the Titanium.UI.ScrollView.disableBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getHorizontalBouncemethod

Gets the value of the Titanium.UI.ScrollView.horizontalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getMaxZoomScalemethod

Gets the value of the Titanium.UI.ScrollView.maxZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getMinZoomScalemethod

Gets the value of the Titanium.UI.ScrollView.minZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getOverScrollModemethod

Gets the value of the Titanium.UI.ScrollView.overScrollMode property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getScrollIndicatorStylemethod

Gets the value of the Titanium.UI.ScrollView.scrollIndicatorStyle property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getScrollTypemethod

Gets the value of the Titanium.UI.ScrollView.scrollType property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getScrollsToTopmethod

Gets the value of the Titanium.UI.ScrollView.scrollsToTop property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getVerticalBouncemethod

Gets the value of the Titanium.UI.ScrollView.verticalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getZoomScalemethod

Gets the value of the Titanium.UI.ScrollView.zoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.horizontalBounceproperty

Determines whether horizontal scroll bounce of the scrollable region is enabled. (Added support for Windows Phone.)

Titanium.UI.ScrollView.maxZoomScaleproperty

Maximum scaling factor of the scrollable region and its content. (Added support for Windows Phone.)

Titanium.UI.ScrollView.minZoomScaleproperty

Minimum scaling factor of the scrollable region and its content. (Added support for Windows Phone.)

Titanium.UI.ScrollView.overScrollModeproperty

Determines the behavior when the user overscolls the view. (Added support for Windows Phone.)

Titanium.UI.ScrollView.scrollIndicatorStyleproperty

Style of the scrollbar. (Added support for Windows Phone.)

Titanium.UI.ScrollView.scrollTypeproperty

Limits the direction of the scrollable region, overriding the deduced setting. Set tohorizontal or vertical. (Added support for Windows Phone.)

Titanium.UI.ScrollView.scrollsToTopproperty

Controls whether the scroll-to-top gesture is effective. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setCanCancelEventsmethod

Sets the value of the Titanium.UI.ScrollView.canCancelEvents property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setContentOffsetmethod

Sets the value of the Titanium.UI.ScrollView.contentOffset property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setDecelerationRatemethod

Sets the value of the Titanium.UI.ScrollView.decelerationRate property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setDisableBouncemethod

Sets the value of the Titanium.UI.ScrollView.disableBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setHorizontalBouncemethod

Sets the value of the Titanium.UI.ScrollView.horizontalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setMaxZoomScalemethod

Sets the value of the Titanium.UI.ScrollView.maxZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setMinZoomScalemethod

Sets the value of the Titanium.UI.ScrollView.minZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setOverScrollModemethod

Sets the value of the Titanium.UI.ScrollView.overScrollMode property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setScrollIndicatorStylemethod

Sets the value of the Titanium.UI.ScrollView.scrollIndicatorStyle property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setScrollTypemethod

Sets the value of the Titanium.UI.ScrollView.scrollType property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setScrollsToTopmethod

Sets the value of the Titanium.UI.ScrollView.scrollsToTop property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setVerticalBouncemethod

Sets the value of the Titanium.UI.ScrollView.verticalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setZoomScalemethod

Sets the value of the Titanium.UI.ScrollView.zoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.verticalBounceproperty

Determines whether vertical scroll bounce of the scrollable region is enabled. (Added support for Windows Phone.)

Titanium.UI.ScrollView.zoomScaleproperty

Scaling factor of the scroll view's content. (Added support for Windows Phone.)

Titanium.UI.Switch.colorproperty

Color to use for switch text, as a color name or hex triplet. (Added support for Windows Phone.)

Titanium.UI.Switch.enabledproperty

Determines whether the switch is enabled. (Added support for Windows Phone.)

Titanium.UI.Switch.getColormethod

Gets the value of the Titanium.UI.Switch.color property. (Added support for Windows Phone.)

Titanium.UI.Switch.getEnabledmethod

Gets the value of the Titanium.UI.Switch.enabled property. (Added support for Windows Phone.)

Titanium.UI.Switch.getTitleOffmethod

Gets the value of the Titanium.UI.Switch.titleOff property. (Added support for Windows Phone.)

Titanium.UI.Switch.getTitleOnmethod

Gets the value of the Titanium.UI.Switch.titleOn property. (Added support for Windows Phone.)

Titanium.UI.Switch.setColormethod

Sets the value of the Titanium.UI.Switch.color property. (Added support for Windows Phone.)

Titanium.UI.Switch.setEnabledmethod

Sets the value of the Titanium.UI.Switch.enabled property. (Added support for Windows Phone.)

Titanium.UI.Switch.setTitleOffmethod

Sets the value of the Titanium.UI.Switch.titleOff property. (Added support for Windows Phone.)

Titanium.UI.Switch.setTitleOnmethod

Sets the value of the Titanium.UI.Switch.titleOn property. (Added support for Windows Phone.)

Titanium.UI.Switch.titleOffproperty

Text to display on the switch in its "off" state, when the toggle button style is in use. (Added support for Windows Phone.)

Titanium.UI.Switch.titleOnproperty

Text to display on the switch in its "on" state, when the toggle button style is in use. (Added support for Windows Phone.)

Titanium.UI.TextArea.getShowUndoRedoActionsmethod

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

Titanium.UI.TextArea.setShowUndoRedoActionsmethod

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

Titanium.UI.TextArea.showUndoRedoActionsproperty

Determinates if the undo and redo buttons on the left side of the keyboard should be displayed or not. Only valid on iOS9 and above. (New API, supported on iPad.)

Titanium.UI.TextField.getShowUndoRedoActionsmethod

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

Titanium.UI.TextField.setShowUndoRedoActionsmethod

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

Titanium.UI.TextField.showUndoRedoActionsproperty

Determinates if the undo and redo buttons on the left side of the keyboard should be displayed or not. Only valid on iOS9 and above. (New API, supported on iPad.)

Titanium.UI.View.backgroundImageproperty

Background image for the view, specified as a local file path or URL. (Added support for Windows Phone.)

Titanium.UI.View.getBackgroundImagemethod

Gets the value of the Titanium.UI.View.backgroundImage property. (Added support for Windows Phone.)

Titanium.UI.View.getZIndexmethod

Gets the value of the Titanium.UI.View.zIndex property. (Added support for Windows Phone.)

Titanium.UI.View.setBackgroundImagemethod

Sets the value of the Titanium.UI.View.backgroundImage property. (Added support for Windows Phone.)

Titanium.UI.View.setZIndexmethod

Sets the value of the Titanium.UI.View.zIndex property. (Added support for Windows Phone.)

Titanium.UI.View.zIndexproperty

Z-index stack order position, relative to other sibling views. (Added support for Windows Phone.)

Titanium.WatchSessionobject

Used to enable data and file transfers between a watchOS and iOS application. (New API, supported on iPhone.)


 

  • No labels