diff --git a/titanium/titanium-tests.ts b/titanium/titanium-tests.ts
index a4057b80c..087ba05c2 100644
--- a/titanium/titanium-tests.ts
+++ b/titanium/titanium-tests.ts
@@ -26,7 +26,7 @@ function test_window() {
}
function test_tableview() {
- var data = [];
+ var data : Ti.UI.View[] = [];
for (var i = 0; i < 10; i++) {
var row = Ti.UI.createTableViewRow();
var label = Ti.UI.createLabel({
@@ -73,12 +73,12 @@ function test_network() {
var url = "http://www.appcelerator.com";
var client = Ti.Network.createHTTPClient({
// function called when the response data is available
- onload : function(e) {
+ onload : function(e: SuccessResponse) {
alert(this.responseText);
},
// function called when an error occurs, including a timeout
- onerror : function(e) {
- alert(e.rror);
+ onerror : function(e: FailureResponse) {
+ alert(e.error);
},
timeout : 5000 // in milliseconds
});
diff --git a/titanium/titanium.d.ts b/titanium/titanium.d.ts
index 5ebe93024..a325611df 100644
--- a/titanium/titanium.d.ts
+++ b/titanium/titanium.d.ts
@@ -1,33 +1,36 @@
-// Type definitions for Titanium Movile 3.1.3.GA
+// Type definitions for Titanium Mobile 3.5.0
// Project: http://www.appcelerator.com/
-// Definitions by: Airam Rguez
+// Definitions by: Craig Younkins
// Definitions: https://github.com/borisyankov/DefinitelyTyped
-// This file has been automatically generated.
declare module Ti {
+ export var apiName : string;
export var bubbleParent : boolean;
export var buildDate : string;
export var buildHash : string;
export var userAgent : string;
- export var version : number;
+ export var version : string;
export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
export function applyProperties (props: Dictionary) : void;
export function createBuffer (params: CreateBufferArgs) : Ti.Buffer;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function getBubbleParent () : boolean;
export function getBuildDate () : string;
export function getBuildHash () : string;
export function getUserAgent () : string;
- export function getVersion () : number;
+ export function getVersion () : string;
export function include (name: string) : void;
export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
export function setBubbleParent (bubbleParent: boolean) : void;
export function setUserAgent (userAgent: string) : void;
export module XML {
+ export var apiName : string;
export var bubbleParent : boolean;
export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
export function applyProperties (props: Dictionary) : void;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function getBubbleParent () : boolean;
export function parseString (xml: string) : Ti.XML.Document;
export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
@@ -175,6 +178,9 @@ declare module Ti {
}
export interface Text extends Ti.XML.CharacterData {
splitText (offset: number) : Ti.XML.Text;
+ }
+ export enum Comment {
+
}
export enum DocumentFragment {
@@ -184,9 +190,6 @@ declare module Ti {
systemId : string;
getPublicId () : string;
getSystemId () : string;
- }
- export enum Comment {
-
}
export interface NodeList extends Ti.Proxy {
length : number;
@@ -349,6 +352,12 @@ declare module Ti {
export var TEXT_AUTOCAPITALIZATION_NONE : number;
export var TEXT_AUTOCAPITALIZATION_SENTENCES : number;
export var TEXT_AUTOCAPITALIZATION_WORDS : number;
+ export var TEXT_STYLE_BODY : string;
+ export var TEXT_STYLE_CAPTION1 : string;
+ export var TEXT_STYLE_CAPTION2 : string;
+ export var TEXT_STYLE_FOOTNOTE : string;
+ export var TEXT_STYLE_HEADLINE : string;
+ export var TEXT_STYLE_SUBHEADLINE : string;
export var TEXT_VERTICAL_ALIGNMENT_BOTTOM : any;
export var TEXT_VERTICAL_ALIGNMENT_CENTER : any;
export var TEXT_VERTICAL_ALIGNMENT_TOP : any;
@@ -370,6 +379,7 @@ declare module Ti {
export var URL_ERROR_TIMEOUT : number;
export var URL_ERROR_UNKNOWN : number;
export var URL_ERROR_UNSUPPORTED_SCHEME : number;
+ export var apiName : string;
export var backgroundColor : string;
export var backgroundImage : string;
export var bubbleParent : boolean;
@@ -378,7 +388,7 @@ declare module Ti {
export var orientation : number;
export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
export function applyProperties (props: Dictionary) : void;
- export function convertUnits (convertFromValue: string, convertToUnits: string) : number;
+ export function convertUnits (convertFromValue: string, convertToUnits: number) : number;
export function create2DMatrix (parameters?: MatrixCreationDict) : Ti.UI._2DMatrix;
export function create3DMatrix (parameters?: Dictionary) : Ti.UI._3DMatrix;
export function createActivityIndicator (parameters?: Dictionary) : Ti.UI.ActivityIndicator;
@@ -401,6 +411,7 @@ declare module Ti {
export function createPickerColumn (parameters?: Dictionary) : Ti.UI.PickerColumn;
export function createPickerRow (parameters?: Dictionary) : Ti.UI.PickerRow;
export function createProgressBar (parameters?: Dictionary) : Ti.UI.ProgressBar;
+ export function createRefreshControl (parameters?: Dictionary) : Ti.UI.RefreshControl;
export function createSMSDialog (parameters?: Dictionary) : Ti.UI.SMSDialog;
export function createScrollView (parameters?: Dictionary) : Ti.UI.ScrollView;
export function createScrollableView (parameters?: Dictionary) : Ti.UI.ScrollableView;
@@ -420,6 +431,7 @@ declare module Ti {
export function createWebView (parameters?: Dictionary) : Ti.UI.WebView;
export function createWindow (parameters?: Dictionary) : Ti.UI.Window;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function getBackgroundColor () : string;
export function getBackgroundImage () : string;
export function getBubbleParent () : boolean;
@@ -439,6 +451,7 @@ declare module Ti {
export var POPOVER_ARROW_DIRECTION_RIGHT : number;
export var POPOVER_ARROW_DIRECTION_UNKNOWN : number;
export var POPOVER_ARROW_DIRECTION_UP : number;
+ export var apiName : string;
export var bubbleParent : boolean;
export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
export function applyProperties (props: Dictionary) : void;
@@ -446,6 +459,7 @@ declare module Ti {
export function createPopover (parameters?: Dictionary) : Ti.UI.iPad.Popover;
export function createSplitWindow (parameters?: Dictionary) : Ti.UI.iPad.SplitWindow;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function getBubbleParent () : boolean;
export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
export function setBubbleParent (bubbleParent: boolean) : void;
@@ -460,220 +474,447 @@ declare module Ti {
}
export interface DocumentViewer extends Ti.UI.View {
setUrl (url: string) : void;
- show(animated?: boolean, view?: any) : void;
+ show () : void;
}
- export interface Popover extends Ti.UI.View {
+ export interface Popover extends Ti.Proxy {
arrowDirection : number;
+ contentView : Ti.UI.View;
+ height : any;
leftNavButton : any;
+ passthroughViews : Array;
rightNavButton : any;
title : string;
+ width : any;
+ add () : void;
getArrowDirection () : number;
+ getContentView () : Ti.UI.View;
+ getHeight () : any;
getLeftNavButton () : any;
+ getPassthroughViews () : Array;
getRightNavButton () : any;
getTitle () : string;
+ getWidth () : any;
+ hide (options: PopoverParams) : void;
+ remove () : void;
+ setArrowDirection (arrowDirection: number) : void;
+ setContentView (contentView: Ti.UI.View) : void;
+ setHeight (height: number) : void;
+ setHeight (height: string) : void;
setLeftNavButton (leftNavButton: any) : void;
setPassthroughViews (passthroughViews: Array) : void;
setRightNavButton (rightNavButton: any) : void;
setTitle (title: string) : void;
+ setWidth (width: number) : void;
+ setWidth (width: string) : void;
+ show (params: PopoverParams) : void;
}
}
- export interface ScrollableView extends Ti.UI.View {
- cacheSize : number;
- clipViews : boolean;
- currentPage : number;
- disableBounce : boolean;
- hitRect : Dimension;
- overScrollMode : number;
- overlayEnabled : boolean;
- pagingControlAlpha : number;
- pagingControlColor : string;
- pagingControlHeight : number;
- pagingControlOnTop : boolean;
- pagingControlTimeout : number;
- scrollingEnabled : boolean;
- showPagingControl : boolean;
- views : Array;
- addView (view: Ti.UI.View) : void;
- getCacheSize () : number;
- getClipViews () : boolean;
- getCurrentPage () : number;
- getDisableBounce () : boolean;
- getHitRect () : Dimension;
- getOverScrollMode () : number;
- getOverlayEnabled () : boolean;
- getPagingControlAlpha () : number;
- getPagingControlColor () : string;
- getPagingControlHeight () : number;
- getPagingControlOnTop () : boolean;
- getPagingControlTimeout () : number;
- getScrollingEnabled () : boolean;
- getShowPagingControl () : boolean;
- getViews () : Array;
- moveNext () : void;
- movePrevious () : void;
- removeView (view: number) : void;
- removeView (view: Ti.UI.View) : void;
- scrollToView (view: number) : void;
- scrollToView (view: Ti.UI.View) : void;
- setCacheSize (cacheSize: number) : void;
- setCurrentPage (currentPage: number) : void;
- setDisableBounce (disableBounce: boolean) : void;
- setHitRect (hitRect: Dimension) : void;
- setOverScrollMode (overScrollMode: number) : void;
- setOverlayEnabled (overlayEnabled: boolean) : void;
- setPagingControlAlpha (pagingControlAlpha: number) : void;
- setPagingControlColor (pagingControlColor: string) : void;
- setPagingControlHeight (pagingControlHeight: number) : void;
- setPagingControlOnTop (pagingControlOnTop: boolean) : void;
- setScrollingEnabled (scrollingEnabled: boolean) : void;
- setShowPagingControl (showPagingControl: boolean) : void;
- setViews (views: Array) : void;
- }
- export interface View extends Ti.Proxy {
- accessibilityHidden : boolean;
- accessibilityHint : string;
- accessibilityLabel : string;
- accessibilityValue : string;
- anchorPoint : Point;
- animatedCenter : Point;
- backgroundColor : string;
- backgroundDisabledColor : string;
- backgroundDisabledImage : string;
- backgroundFocusedColor : string;
- backgroundFocusedImage : string;
- backgroundGradient : Gradient;
- backgroundImage : string;
- backgroundLeftCap : number;
- backgroundRepeat : boolean;
- backgroundSelectedColor : string;
- backgroundSelectedImage : string;
- backgroundTopCap : number;
- borderColor : string;
- borderRadius : number;
- borderWidth : number;
- bottom : any;
- center : Point;
- children : Array;
- enabled : boolean;
- focusable : boolean;
- height : any;
- horizontalWrap : boolean;
- keepScreenOn : boolean;
- layout : string;
- left : any;
- opacity : number;
- rect : Dimension;
- right : any;
- size : Dimension;
- softKeyboardOnFocus : number;
- tintColor : any;
- top : any;
- touchEnabled : boolean;
- transform : any;
- visible : boolean;
- width : any;
- zIndex : number;
- add (view: Ti.UI.View) : void;
- animate (animation: Ti.UI.Animation, callback: (...args : any[]) => any) : void;
- animate (animation: Dictionary, callback: (...args : any[]) => any) : void;
- convertPointToView (point: Point, destinationView: Ti.UI.View) : Point;
- finishLayout () : void;
- getAccessibilityHidden () : boolean;
- getAccessibilityHint () : string;
- getAccessibilityLabel () : string;
- getAccessibilityValue () : string;
- getAnchorPoint () : Point;
- getAnimatedCenter () : Point;
- getBackgroundColor () : string;
- getBackgroundDisabledColor () : string;
- getBackgroundDisabledImage () : string;
- getBackgroundFocusedColor () : string;
- getBackgroundFocusedImage () : string;
- getBackgroundGradient () : Gradient;
- getBackgroundImage () : string;
- getBackgroundLeftCap () : number;
- getBackgroundRepeat () : boolean;
- getBackgroundSelectedColor () : string;
- getBackgroundSelectedImage () : string;
- getBackgroundTopCap () : number;
- getBorderColor () : string;
- getBorderRadius () : number;
- getBorderWidth () : number;
- getBottom () : any;
- getCenter () : Point;
- getChildren () : Array;
- getEnabled () : boolean;
- getFocusable () : boolean;
- getHeight () : any;
- getHorizontalWrap () : boolean;
- getKeepScreenOn () : boolean;
- getLayout () : string;
- getLeft () : any;
- getOpacity () : number;
- getRect () : Dimension;
- getRight () : any;
- getSize () : Dimension;
- getSoftKeyboardOnFocus () : number;
- getTintColor () : string;
- getTop () : any;
- getTouchEnabled () : boolean;
- getTransform () : any;
- getVisible () : boolean;
- getWidth () : any;
- getZIndex () : number;
- hide () : void;
- remove (view: Ti.UI.View) : void;
- removeAllChildren () : void;
- setAccessibilityHidden (accessibilityHidden: boolean) : void;
- setAccessibilityHint (accessibilityHint: string) : void;
- setAccessibilityLabel (accessibilityLabel: string) : void;
- setAccessibilityValue (accessibilityValue: string) : void;
- setAnchorPoint (anchorPoint: Point) : void;
- setBackgroundColor (backgroundColor: string) : void;
- setBackgroundDisabledColor (backgroundDisabledColor: string) : void;
- setBackgroundDisabledImage (backgroundDisabledImage: string) : void;
- setBackgroundFocusedColor (backgroundFocusedColor: string) : void;
- setBackgroundFocusedImage (backgroundFocusedImage: string) : void;
- setBackgroundGradient (backgroundGradient: Gradient) : void;
- setBackgroundImage (backgroundImage: string) : void;
- setBackgroundLeftCap (backgroundLeftCap: number) : void;
- setBackgroundRepeat (backgroundRepeat: boolean) : void;
- setBackgroundSelectedColor (backgroundSelectedColor: string) : void;
- setBackgroundSelectedImage (backgroundSelectedImage: string) : void;
- setBackgroundTopCap (backgroundTopCap: number) : void;
- setBorderColor (borderColor: string) : void;
- setBorderRadius (borderRadius: number) : void;
- setBorderWidth (borderWidth: number) : void;
- setBottom (bottom: number) : void;
- setBottom (bottom: string) : void;
- setCenter (center: Point) : void;
- setEnabled (enabled: boolean) : void;
- setFocusable (focusable: boolean) : void;
- setHeight (height: number) : void;
- setHeight (height: string) : void;
- setHorizontalWrap (horizontalWrap: boolean) : void;
- setKeepScreenOn (keepScreenOn: boolean) : void;
- setLayout (layout: string) : void;
- setLeft (left: number) : void;
- setLeft (left: string) : void;
- setOpacity (opacity: number) : void;
- setRight (right: number) : void;
- setRight (right: string) : void;
- setSoftKeyboardOnFocus (softKeyboardOnFocus: number) : void;
- setTintColor (tintColor: string) : void;
- setTop (top: number) : void;
- setTop (top: string) : void;
- setTouchEnabled (touchEnabled: boolean) : void;
- setTransform (transform: Ti.UI._2DMatrix) : void;
- setTransform (transform: Ti.UI._3DMatrix) : void;
- setVisible (visible: boolean) : void;
- setWidth (width: number) : void;
- setWidth (width: string) : void;
- setZIndex (zIndex: number) : void;
- show (...args: Array) : void;
- startLayout () : void;
- toImage (callback?: (...args : any[]) => any, honorScaleFactor?: boolean) : Ti.Blob;
- updateLayout (params: Dictionary) : void;
+ export module iOS {
+ export var AD_SIZE_LANDSCAPE : string;
+ export var AD_SIZE_PORTRAIT : string;
+ export var ANIMATION_CURVE_EASE_IN : number;
+ export var ANIMATION_CURVE_EASE_IN_OUT : number;
+ export var ANIMATION_CURVE_EASE_OUT : number;
+ export var ANIMATION_CURVE_LINEAR : number;
+ export var ATTRIBUTE_BACKGROUND_COLOR : number;
+ export var ATTRIBUTE_BASELINE_OFFSET : number;
+ export var ATTRIBUTE_EXPANSION : number;
+ export var ATTRIBUTE_FONT : number;
+ export var ATTRIBUTE_FOREGROUND_COLOR : number;
+ export var ATTRIBUTE_KERN : number;
+ export var ATTRIBUTE_LETTERPRESS_STYLE : number;
+ export var ATTRIBUTE_LIGATURE : number;
+ export var ATTRIBUTE_LINK : number;
+ export var ATTRIBUTE_OBLIQUENESS : number;
+ export var ATTRIBUTE_SHADOW : number;
+ export var ATTRIBUTE_STRIKETHROUGH_COLOR : number;
+ export var ATTRIBUTE_STRIKETHROUGH_STYLE : number;
+ export var ATTRIBUTE_STROKE_COLOR : number;
+ export var ATTRIBUTE_STROKE_WIDTH : number;
+ export var ATTRIBUTE_TEXT_EFFECT : number;
+ export var ATTRIBUTE_UNDERLINES_STYLE : number;
+ export var ATTRIBUTE_UNDERLINE_BY_WORD : number;
+ export var ATTRIBUTE_UNDERLINE_COLOR : number;
+ export var ATTRIBUTE_UNDERLINE_PATTERN_DASH : number;
+ export var ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT : number;
+ export var ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT_DOT : number;
+ export var ATTRIBUTE_UNDERLINE_PATTERN_DOT : number;
+ export var ATTRIBUTE_UNDERLINE_PATTERN_SOLID : number;
+ export var ATTRIBUTE_UNDERLINE_STYLE_DOUBLE : number;
+ export var ATTRIBUTE_UNDERLINE_STYLE_NONE : number;
+ export var ATTRIBUTE_UNDERLINE_STYLE_SINGLE : number;
+ export var ATTRIBUTE_UNDERLINE_STYLE_THICK : number;
+ export var ATTRIBUTE_WRITING_DIRECTION : number;
+ export var ATTRIBUTE_WRITING_DIRECTION_EMBEDDING : number;
+ export var ATTRIBUTE_WRITING_DIRECTION_LEFT_TO_RIGHT : number;
+ export var ATTRIBUTE_WRITING_DIRECTION_NATURAL : number;
+ export var ATTRIBUTE_WRITING_DIRECTION_OVERRIDE : number;
+ export var ATTRIBUTE_WRITING_DIRECTION_RIGHT_TO_LEFT : number;
+ export var AUTODETECT_ADDRESS : number;
+ export var AUTODETECT_ALL : number;
+ export var AUTODETECT_CALENDAR : number;
+ export var AUTODETECT_LINK : number;
+ export var AUTODETECT_NONE : number;
+ export var AUTODETECT_PHONE : number;
+ export var BLEND_MODE_CLEAR : number;
+ export var BLEND_MODE_COLOR : number;
+ export var BLEND_MODE_COLOR_BURN : number;
+ export var BLEND_MODE_COLOR_DODGE : number;
+ export var BLEND_MODE_COPY : number;
+ export var BLEND_MODE_DARKEN : number;
+ export var BLEND_MODE_DESTINATION_ATOP : number;
+ export var BLEND_MODE_DESTINATION_IN : number;
+ export var BLEND_MODE_DESTINATION_OUT : number;
+ export var BLEND_MODE_DESTINATION_OVER : number;
+ export var BLEND_MODE_DIFFERENCE : number;
+ export var BLEND_MODE_EXCLUSION : number;
+ export var BLEND_MODE_HARD_LIGHT : number;
+ export var BLEND_MODE_HUE : number;
+ export var BLEND_MODE_LIGHTEN : number;
+ export var BLEND_MODE_LUMINOSITY : number;
+ export var BLEND_MODE_MULTIPLY : number;
+ export var BLEND_MODE_NORMAL : number;
+ export var BLEND_MODE_OVERLAY : number;
+ export var BLEND_MODE_PLUS_DARKER : number;
+ export var BLEND_MODE_PLUS_LIGHTER : number;
+ export var BLEND_MODE_SATURATION : number;
+ export var BLEND_MODE_SCREEN : number;
+ export var BLEND_MODE_SOFT_LIGHT : number;
+ export var BLEND_MODE_SOURCE_ATOP : number;
+ export var BLEND_MODE_SOURCE_IN : number;
+ export var BLEND_MODE_SOURCE_OUT : number;
+ export var BLEND_MODE_XOR : number;
+ export var CLIP_MODE_DEFAULT : number;
+ export var CLIP_MODE_DISABLED : number;
+ export var CLIP_MODE_ENABLED : number;
+ export var COLLISION_MODE_ALL : number;
+ export var COLLISION_MODE_BOUNDARY : number;
+ export var COLLISION_MODE_ITEM : number;
+ export var COLOR_GROUP_TABLEVIEW_BACKGROUND : string;
+ export var COLOR_SCROLLVIEW_BACKGROUND : string;
+ export var COLOR_UNDER_PAGE_BACKGROUND : string;
+ export var COLOR_VIEW_FLIPSIDE_BACKGROUND : string;
+ export var PUSH_MODE_CONTINUOUS : number;
+ export var PUSH_MODE_INSTANTANEOUS : number;
+ export var SCROLL_DECELERATION_RATE_FAST : number;
+ export var SCROLL_DECELERATION_RATE_NORMAL : number;
+ export var WEBVIEW_NAVIGATIONTYPE_BACK_FORWARD : number;
+ export var WEBVIEW_NAVIGATIONTYPE_FORM_RESUBMITTED : number;
+ export var WEBVIEW_NAVIGATIONTYPE_FORM_SUBMITTED : number;
+ export var WEBVIEW_NAVIGATIONTYPE_LINK_CLICKED : number;
+ export var WEBVIEW_NAVIGATIONTYPE_OTHER : number;
+ export var WEBVIEW_NAVIGATIONTYPE_RELOAD : number;
+ export var apiName : string;
+ export var bubbleParent : boolean;
+ export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
+ export function applyProperties (props: Dictionary) : void;
+ export function create3DMatrix (parameters?: Dictionary) : Ti.UI.iOS._3DMatrix;
+ export function createAdView (parameters?: Dictionary) : Ti.UI.iOS.AdView;
+ export function createAnchorAttachmentBehavior (parameters?: Dictionary) : Ti.UI.iOS.AnchorAttachmentBehavior;
+ export function createAnimator (parameters?: Dictionary) : Ti.UI.iOS.Animator;
+ export function createAttributedString (parameters?: Dictionary) : Ti.UI.iOS.AttributedString;
+ export function createCollisionBehavior (parameters?: Dictionary) : Ti.UI.iOS.CollisionBehavior;
+ export function createCoverFlowView (parameters?: Dictionary) : Ti.UI.iOS.CoverFlowView;
+ export function createDocumentViewer (parameters?: Dictionary) : Ti.UI.iOS.DocumentViewer;
+ export function createDynamicItemBehavior (parameters?: Dictionary) : Ti.UI.iOS.DynamicItemBehavior;
+ export function createGravityBehavior (parameters?: Dictionary) : Ti.UI.iOS.GravityBehavior;
+ export function createNavigationWindow (parameters?: Dictionary) : Ti.UI.iOS.NavigationWindow;
+ export function createPushBehavior (parameters?: Dictionary) : Ti.UI.iOS.PushBehavior;
+ export function createSnapBehavior (parameters?: Dictionary) : Ti.UI.iOS.SnapBehavior;
+ export function createTabbedBar (parameters?: Dictionary) : Ti.UI.iOS.TabbedBar;
+ export function createToolbar (parameters?: Dictionary) : Ti.UI.iOS.Toolbar;
+ export function createTransitionAnimation (transition: transitionAnimationParam) : Ti.Proxy;
+ export function createViewAttachmentBehavior (parameters?: Dictionary) : Ti.UI.iOS.ViewAttachmentBehavior;
+ export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
+ export function getBubbleParent () : boolean;
+ export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
+ export function setBubbleParent (bubbleParent: boolean) : void;
+ export interface Animator extends Ti.Proxy {
+ behaviors : Array;
+ referenceView : Ti.UI.View;
+ running : boolean;
+ addBehavior (behavior: Ti.Proxy) : void;
+ getBehaviors () : Array;
+ getReferenceView () : Ti.UI.View;
+ getRunning () : boolean;
+ removeAllBehaviors () : void;
+ removeBehavior (behavior: Ti.Proxy) : void;
+ setBehaviors (behaviors: Array) : void;
+ setReferenceView (referenceView: Ti.UI.View) : void;
+ startAnimator () : void;
+ stopAnimator () : void;
+ updateItemUsingCurrentState (item: Ti.UI.View) : void;
+ }
+ export interface DynamicItemBehavior extends Ti.Proxy {
+ allowsRotation : boolean;
+ angularResistance : number;
+ density : number;
+ elasticity : number;
+ friction : number;
+ items : Array;
+ resistance : number;
+ addAngularVelocityForItem (item: Ti.UI.View, velocity: number) : void;
+ addItem (item: Ti.UI.View) : void;
+ addLinearVelocityForItem (item: Ti.UI.View, velocity: Point) : void;
+ angularVelocityForItem (item: Ti.UI.View) : number;
+ getAllowsRotation () : boolean;
+ getAngularResistance () : number;
+ getDensity () : number;
+ getElasticity () : number;
+ getFriction () : number;
+ getItems () : Array;
+ getResistance () : number;
+ linearVelocityForItem (item: Ti.UI.View) : Point;
+ removeItem (item: Ti.UI.View) : void;
+ setAllowsRotation (allowsRotation: boolean) : void;
+ setAngularResistance (angularResistance: number) : void;
+ setDensity (density: number) : void;
+ setElasticity (elasticity: number) : void;
+ setFriction (friction: number) : void;
+ setResistance (resistance: number) : void;
+ }
+ export interface SnapBehavior extends Ti.Proxy {
+ damping : number;
+ item : Ti.UI.View;
+ snapPoint : Point;
+ getDamping () : number;
+ getItem () : Ti.UI.View;
+ getSnapPoint () : Point;
+ setDamping (damping: number) : void;
+ setItem (item: Ti.UI.View) : void;
+ setSnapPoint (snapPoint: Point) : void;
+ }
+ export interface GravityBehavior extends Ti.Proxy {
+ angle : number;
+ gravityDirection : Point;
+ items : Array;
+ magnitude : number;
+ addItem (item: Ti.UI.View) : void;
+ getAngle () : number;
+ getGravityDirection () : Point;
+ getItems () : Array;
+ getMagnitude () : number;
+ removeItem (item: Ti.UI.View) : void;
+ setAngle (angle: number) : void;
+ setGravityDirection (gravityDirection: Point) : void;
+ setMagnitude (magnitude: number) : void;
+ }
+ export interface CollisionBehavior extends Ti.Proxy {
+ boundaryIdentifiers : Array;
+ collisionMode : number;
+ items : Array;
+ referenceInsets : ReferenceInsets;
+ treatReferenceAsBoundary : boolean;
+ addBoundary (boundary: BoundaryIdentifier) : void;
+ addItem (item: Ti.UI.View) : void;
+ getBoundaryIdentifiers () : Array;
+ getCollisionMode () : number;
+ getItems () : Array;
+ getReferenceInsets () : ReferenceInsets;
+ getTreatReferenceAsBoundary () : boolean;
+ removeAllBoundaries () : void;
+ removeBoundary (boundary: BoundaryIdentifier) : void;
+ removeItem (item: Ti.UI.View) : void;
+ setCollisionMode (collisionMode: number) : void;
+ setReferenceInsets (referenceInsets: ReferenceInsets) : void;
+ setTreatReferenceAsBoundary (treatReferenceAsBoundary: boolean) : void;
+ }
+ export interface Toolbar extends Ti.UI.View {
+ barColor : string;
+ borderBottom : boolean;
+ borderTop : boolean;
+ extendBackground : boolean;
+ items : Array;
+ translucent : boolean;
+ getBarColor () : string;
+ getBorderBottom () : boolean;
+ getBorderTop () : boolean;
+ getExtendBackground () : boolean;
+ getItems () : Array;
+ getTranslucent () : boolean;
+ setBarColor (barColor: string) : void;
+ setBorderBottom (borderBottom: boolean) : void;
+ setBorderTop (borderTop: boolean) : void;
+ setItems (items: Array) : void;
+ setTranslucent (translucent: boolean) : void;
+ }
+ export interface ViewAttachmentBehavior extends Ti.Proxy {
+ anchorItem : Ti.UI.View;
+ anchorOffset : Point;
+ damping : number;
+ distance : number;
+ frequency : number;
+ item : Ti.UI.View;
+ itemOffset : Point;
+ getAnchorItem () : Ti.UI.View;
+ getAnchorOffset () : Point;
+ getDamping () : number;
+ getDistance () : number;
+ getFrequency () : number;
+ getItem () : Ti.UI.View;
+ getItemOffset () : Point;
+ setAnchorItem (anchorItem: Ti.UI.View) : void;
+ setAnchorOffset (anchorOffset: Point) : void;
+ setDamping (damping: number) : void;
+ setDistance (distance: number) : void;
+ setFrequency (frequency: number) : void;
+ setItem (item: Ti.UI.View) : void;
+ setItemOffset (itemOffset: Point) : void;
+ }
+ export interface PushBehavior extends Ti.Proxy {
+ active : boolean;
+ angle : number;
+ items : Array;
+ magnitude : number;
+ pushDirection : Point;
+ pushMode : number;
+ addItem (item: Ti.UI.View) : void;
+ getActive () : boolean;
+ getAngle () : number;
+ getItems () : Array;
+ getMagnitude () : number;
+ getPushDirection () : Point;
+ getPushMode () : number;
+ removeItem (item: Ti.UI.View) : void;
+ setActive (active: boolean) : void;
+ setAngle (angle: number) : void;
+ setMagnitude (magnitude: number) : void;
+ setPushDirection (pushDirection: Point) : void;
+ setPushMode (pushMode: number) : void;
+ }
+ export interface CoverFlowView extends Ti.UI.View {
+ images : any;
+ selected : number;
+ getImages () : any;
+ getSelected () : number;
+ setImage (index: number, image: string) : void;
+ setImage (image: Ti.Blob) : void;
+ setImage (image: Ti.Filesystem.File) : void;
+ setImage (index: number, image: CoverFlowImageType) : void;
+ setImages (images: Array) : void;
+ setImages (images: Array) : void;
+ setImages (images: Array) : void;
+ setImages (images: Array) : void;
+ setSelected (selected: number) : void;
+ }
+ export interface DocumentViewer extends Ti.UI.View {
+ name : string;
+ url : string;
+ getName () : string;
+ getUrl () : string;
+ hide (options?: DocumentViewerOptions) : void;
+ setUrl (url: string) : void;
+ show (options?: DocumentViewerOptions) : void;
+ }
+ export interface NavigationWindow extends Ti.UI.Window {
+ window : Ti.UI.Window;
+ closeWindow (window: Ti.UI.Window, options: Dictionary) : void;
+ getWindow () : Ti.UI.Window;
+ openWindow (window: Ti.UI.Window, options: Dictionary) : void;
+ }
+ export interface AttributedString extends Ti.Proxy {
+ attributes : Array;
+ text : string;
+ addAttribute (attribute: Attribute) : void;
+ getAttributes () : Array;
+ getText () : string;
+ setAttributes (attributes: Array) : void;
+ setText (text: string) : void;
+ }
+ export interface AnchorAttachmentBehavior extends Ti.Proxy {
+ anchor : Point;
+ damping : number;
+ distance : number;
+ frequency : number;
+ item : Ti.UI.View;
+ offset : Point;
+ getAnchor () : Point;
+ getDamping () : number;
+ getDistance () : number;
+ getFrequency () : number;
+ getItem () : Ti.UI.View;
+ getOffset () : Point;
+ setAnchor (anchor: Point) : void;
+ setDamping (damping: number) : void;
+ setDistance (distance: number) : void;
+ setFrequency (frequency: number) : void;
+ setItem (item: Ti.UI.View) : void;
+ setOffset (offset: Point) : void;
+ }
+ export interface TabbedBar extends Ti.UI.View {
+ index : number;
+ labels : any;
+ style : number;
+ getIndex () : number;
+ getLabels () : any;
+ getStyle () : number;
+ setIndex (index: number) : void;
+ setLabels (labels: Array) : void;
+ setLabels (labels: Array) : void;
+ setStyle (style: number) : void;
+ }
+ export interface _3DMatrix extends Ti.Proxy {
+ m11 : number;
+ m12 : number;
+ m13 : number;
+ m14 : number;
+ m21 : number;
+ m22 : number;
+ m23 : number;
+ m24 : number;
+ m31 : number;
+ m32 : number;
+ m33 : number;
+ m34 : number;
+ m41 : number;
+ m42 : number;
+ m43 : number;
+ m44 : number;
+ getM11 () : number;
+ getM12 () : number;
+ getM13 () : number;
+ getM14 () : number;
+ getM21 () : number;
+ getM22 () : number;
+ getM23 () : number;
+ getM24 () : number;
+ getM31 () : number;
+ getM32 () : number;
+ getM33 () : number;
+ getM34 () : number;
+ getM41 () : number;
+ getM42 () : number;
+ getM43 () : number;
+ getM44 () : number;
+ invert () : Ti.UI._3DMatrix;
+ multiply (t2: Ti.UI._3DMatrix) : Ti.UI._3DMatrix;
+ rotate (angle: number, x: number, y: number, z: number) : Ti.UI._3DMatrix;
+ scale (sx: number, sy: number, sz: number) : Ti.UI._3DMatrix;
+ setM11 (m11: number) : void;
+ setM12 (m12: number) : void;
+ setM13 (m13: number) : void;
+ setM14 (m14: number) : void;
+ setM21 (m21: number) : void;
+ setM22 (m22: number) : void;
+ setM23 (m23: number) : void;
+ setM24 (m24: number) : void;
+ setM31 (m31: number) : void;
+ setM32 (m32: number) : void;
+ setM33 (m33: number) : void;
+ setM34 (m34: number) : void;
+ setM41 (m41: number) : void;
+ setM42 (m42: number) : void;
+ setM43 (m43: number) : void;
+ setM44 (m44: number) : void;
+ translate (tx: number, ty: number, tz: number) : Ti.UI._3DMatrix;
+ }
+ export interface AdView extends Ti.UI.View {
+ adSize : string;
+ cancelAction () : void;
+ getAdSize () : string;
+ setAdSize (adSize: string) : void;
+ }
}
export module iPhone {
export var MODAL_PRESENTATION_CURRENT_CONTEXT : number;
@@ -684,6 +925,7 @@ declare module Ti {
export var MODAL_TRANSITION_STYLE_CROSS_DISSOLVE : number;
export var MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL : number;
export var MODAL_TRANSITION_STYLE_PARTIAL_CURL : number;
+ export var apiName : string;
export var appBadge : number;
export var appSupportsShakeToEdit : boolean;
export var bubbleParent : boolean;
@@ -693,6 +935,7 @@ declare module Ti {
export function applyProperties (props: Dictionary) : void;
export function createNavigationGroup (parameters?: Dictionary) : Ti.UI.iPhone.NavigationGroup;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function getAppBadge () : number;
export function getAppSupportsShakeToEdit () : boolean;
export function getBubbleParent () : boolean;
@@ -703,8 +946,6 @@ declare module Ti {
export function setAppBadge (appBadge: number) : void;
export function setAppSupportsShakeToEdit (appSupportsShakeToEdit: boolean) : void;
export function setBubbleParent (bubbleParent: boolean) : void;
- export function setStatusBarHidden (statusBarHidden: boolean) : void;
- export function setStatusBarStyle (statusBarStyle: number) : void;
export function showStatusBar (params?: showStatusBarParams) : void;
export enum ScrollIndicatorStyle {
BLACK,
@@ -848,6 +1089,7 @@ declare module Ti {
}
export interface TextArea extends Ti.UI.View {
appearance : number;
+ attributedString : Ti.UI.iOS.AttributedString;
autoLink : number;
autocapitalization : number;
autocorrect : boolean;
@@ -857,6 +1099,7 @@ declare module Ti {
ellipsize : boolean;
enableReturnKey : boolean;
font : Font;
+ handleLinks : boolean;
hintText : string;
keyboardToolbar : any;
keyboardToolbarColor : string;
@@ -866,6 +1109,7 @@ declare module Ti {
returnKeyType : number;
scrollable : boolean;
scrollsToTop : boolean;
+ selection : textAreaSelectedParams;
suppressReturn : boolean;
textAlign : any;
value : string;
@@ -873,6 +1117,7 @@ declare module Ti {
blur () : void;
focus () : void;
getAppearance () : number;
+ getAttributedString () : Ti.UI.iOS.AttributedString;
getAutoLink () : number;
getAutocapitalization () : number;
getAutocorrect () : boolean;
@@ -882,6 +1127,7 @@ declare module Ti {
getEllipsize () : boolean;
getEnableReturnKey () : boolean;
getFont () : Font;
+ getHandleLinks () : boolean;
getHintText () : string;
getKeyboardToolbar () : any;
getKeyboardToolbarColor () : string;
@@ -891,12 +1137,14 @@ declare module Ti {
getReturnKeyType () : number;
getScrollable () : boolean;
getScrollsToTop () : boolean;
+ getSelection () : textAreaSelectedParams;
getSuppressReturn () : boolean;
getTextAlign () : any;
getValue () : string;
getVerticalAlign () : any;
hasText () : boolean;
setAppearance (appearance: number) : void;
+ setAttributedString (attributedString: Ti.UI.iOS.AttributedString) : void;
setAutoLink (autoLink: number) : void;
setAutocapitalization (autocapitalization: number) : void;
setAutocorrect (autocorrect: boolean) : void;
@@ -906,6 +1154,7 @@ declare module Ti {
setEllipsize (ellipsize: boolean) : void;
setEnableReturnKey (enableReturnKey: boolean) : void;
setFont (font: Font) : void;
+ setHandleLinks (handleLinks: boolean) : void;
setHintText (hintText: string) : void;
setKeyboardToolbar (keyboardToolbar: Array) : void;
setKeyboardToolbar (keyboardToolbar: Ti.UI.iOS.Toolbar) : void;
@@ -924,6 +1173,169 @@ declare module Ti {
setVerticalAlign (verticalAlign: number) : void;
setVerticalAlign (verticalAlign: string) : void;
}
+ export interface View extends Ti.Proxy {
+ accessibilityHidden : boolean;
+ accessibilityHint : string;
+ accessibilityLabel : string;
+ accessibilityValue : string;
+ anchorPoint : Point;
+ animatedCenter : Point;
+ backgroundColor : string;
+ backgroundDisabledColor : string;
+ backgroundDisabledImage : string;
+ backgroundFocusedColor : string;
+ backgroundFocusedImage : string;
+ backgroundGradient : Gradient;
+ backgroundImage : string;
+ backgroundLeftCap : number;
+ backgroundRepeat : boolean;
+ backgroundSelectedColor : string;
+ backgroundSelectedImage : string;
+ backgroundTopCap : number;
+ borderColor : string;
+ borderRadius : number;
+ borderWidth : number;
+ bottom : any;
+ center : Point;
+ children : Array;
+ clipMode : number;
+ enabled : boolean;
+ focusable : boolean;
+ height : any;
+ horizontalWrap : boolean;
+ keepScreenOn : boolean;
+ layout : string;
+ left : any;
+ opacity : number;
+ overrideCurrentAnimation : boolean;
+ pullBackgroundColor : string;
+ rect : Dimension;
+ right : any;
+ size : Dimension;
+ softKeyboardOnFocus : number;
+ tintColor : any;
+ top : any;
+ touchEnabled : boolean;
+ transform : any;
+ viewShadowColor : string;
+ viewShadowOffset : Point;
+ viewShadowRadius : number;
+ visible : boolean;
+ width : any;
+ zIndex : number;
+ add (view: Ti.UI.View) : void;
+ animate (animation: Ti.UI.Animation, callback: (...args : any[]) => any) : void;
+ animate (animation: Dictionary, callback: (...args : any[]) => any) : void;
+ convertPointToView (point: Point, destinationView: Ti.UI.View) : Point;
+ finishLayout () : void;
+ getAccessibilityHidden () : boolean;
+ getAccessibilityHint () : string;
+ getAccessibilityLabel () : string;
+ getAccessibilityValue () : string;
+ getAnchorPoint () : Point;
+ getAnimatedCenter () : Point;
+ getBackgroundColor () : string;
+ getBackgroundDisabledColor () : string;
+ getBackgroundDisabledImage () : string;
+ getBackgroundFocusedColor () : string;
+ getBackgroundFocusedImage () : string;
+ getBackgroundGradient () : Gradient;
+ getBackgroundImage () : string;
+ getBackgroundLeftCap () : number;
+ getBackgroundRepeat () : boolean;
+ getBackgroundSelectedColor () : string;
+ getBackgroundSelectedImage () : string;
+ getBackgroundTopCap () : number;
+ getBorderColor () : string;
+ getBorderRadius () : number;
+ getBorderWidth () : number;
+ getBottom () : any;
+ getCenter () : Point;
+ getChildren () : Array;
+ getClipMode () : number;
+ getEnabled () : boolean;
+ getFocusable () : boolean;
+ getHeight () : any;
+ getHorizontalWrap () : boolean;
+ getKeepScreenOn () : boolean;
+ getLayout () : string;
+ getLeft () : any;
+ getOpacity () : number;
+ getOverrideCurrentAnimation () : boolean;
+ getPullBackgroundColor () : string;
+ getRect () : Dimension;
+ getRight () : any;
+ getSize () : Dimension;
+ getSoftKeyboardOnFocus () : number;
+ getTintColor () : string;
+ getTop () : any;
+ getTouchEnabled () : boolean;
+ getTransform () : any;
+ getViewShadowColor () : string;
+ getViewShadowOffset () : Point;
+ getViewShadowRadius () : number;
+ getVisible () : boolean;
+ getWidth () : any;
+ getZIndex () : number;
+ hide () : void;
+ remove (view: Ti.UI.View) : void;
+ removeAllChildren () : void;
+ setAccessibilityHidden (accessibilityHidden: boolean) : void;
+ setAccessibilityHint (accessibilityHint: string) : void;
+ setAccessibilityLabel (accessibilityLabel: string) : void;
+ setAccessibilityValue (accessibilityValue: string) : void;
+ setAnchorPoint (anchorPoint: Point) : void;
+ setBackgroundColor (backgroundColor: string) : void;
+ setBackgroundDisabledColor (backgroundDisabledColor: string) : void;
+ setBackgroundDisabledImage (backgroundDisabledImage: string) : void;
+ setBackgroundFocusedColor (backgroundFocusedColor: string) : void;
+ setBackgroundFocusedImage (backgroundFocusedImage: string) : void;
+ setBackgroundGradient (backgroundGradient: Gradient) : void;
+ setBackgroundImage (backgroundImage: string) : void;
+ setBackgroundLeftCap (backgroundLeftCap: number) : void;
+ setBackgroundRepeat (backgroundRepeat: boolean) : void;
+ setBackgroundSelectedColor (backgroundSelectedColor: string) : void;
+ setBackgroundSelectedImage (backgroundSelectedImage: string) : void;
+ setBackgroundTopCap (backgroundTopCap: number) : void;
+ setBorderColor (borderColor: string) : void;
+ setBorderRadius (borderRadius: number) : void;
+ setBorderWidth (borderWidth: number) : void;
+ setBottom (bottom: number) : void;
+ setBottom (bottom: string) : void;
+ setCenter (center: Point) : void;
+ setClipMode (clipMode: number) : void;
+ setEnabled (enabled: boolean) : void;
+ setFocusable (focusable: boolean) : void;
+ setHeight (height: number) : void;
+ setHeight (height: string) : void;
+ setHorizontalWrap (horizontalWrap: boolean) : void;
+ setKeepScreenOn (keepScreenOn: boolean) : void;
+ setLayout (layout: string) : void;
+ setLeft (left: number) : void;
+ setLeft (left: string) : void;
+ setOpacity (opacity: number) : void;
+ setPullBackgroundColor (pullBackgroundColor: string) : void;
+ setRight (right: number) : void;
+ setRight (right: string) : void;
+ setSoftKeyboardOnFocus (softKeyboardOnFocus: number) : void;
+ setTintColor (tintColor: string) : void;
+ setTop (top: number) : void;
+ setTop (top: string) : void;
+ setTouchEnabled (touchEnabled: boolean) : void;
+ setTransform (transform: Ti.UI._2DMatrix) : void;
+ setTransform (transform: Ti.UI._3DMatrix) : void;
+ setViewShadowColor (viewShadowColor: string) : void;
+ setViewShadowOffset (viewShadowOffset: Point) : void;
+ setViewShadowRadius (viewShadowRadius: number) : void;
+ setVisible (visible: boolean) : void;
+ setWidth (width: number) : void;
+ setWidth (width: string) : void;
+ setZIndex (zIndex: number) : void;
+ show () : void;
+ startLayout () : void;
+ toImage (callback?: (...args : any[]) => any, honorScaleFactor?: boolean) : Ti.Blob;
+ updateLayout (params: Dictionary) : void;
+ }
export enum ActivityIndicatorStyle {
BIG,
BIG_DARK,
@@ -933,8 +1345,11 @@ declare module Ti {
export interface Switch extends Ti.UI.View {
color : string;
font : Font;
+ onTintColor : string;
style : number;
textAlign : any;
+ thumbTintColor : string;
+ tintColor : string;
title : string;
titleOff : string;
titleOn : string;
@@ -942,8 +1357,10 @@ declare module Ti {
verticalAlign : any;
getColor () : string;
getFont () : Font;
+ getOnTintColor () : string;
getStyle () : number;
getTextAlign () : any;
+ getThumbTintColor () : string;
getTitle () : string;
getTitleOff () : string;
getTitleOn () : string;
@@ -951,9 +1368,11 @@ declare module Ti {
getVerticalAlign () : any;
setColor (color: string) : void;
setFont (font: Font) : void;
+ setOnTintColor (onTintColor: string) : void;
setStyle (style: number) : void;
setTextAlign (textAlign: string) : void;
setTextAlign (textAlign: number) : void;
+ setThumbTintColor (thumbTintColor: string) : void;
setTitle (title: string) : void;
setTitleOff (titleOff: string) : void;
setTitleOn (titleOn: string) : void;
@@ -961,6 +1380,22 @@ declare module Ti {
setVerticalAlign (verticalAlign: number) : void;
setVerticalAlign (verticalAlign: string) : void;
}
+ export interface DashboardItem extends Ti.Proxy {
+ badge : number;
+ canDelete : boolean;
+ image : any;
+ selectedImage : any;
+ getBadge () : number;
+ getCanDelete () : boolean;
+ getImage () : any;
+ getSelectedImage () : any;
+ setBadge (badge: number) : void;
+ setCanDelete (canDelete: boolean) : void;
+ setImage (image: string) : void;
+ setImage (image: Ti.Blob) : void;
+ setSelectedImage (selectedImage: string) : void;
+ setSelectedImage (selectedImage: Ti.Blob) : void;
+ }
export interface Tab extends Ti.UI.View {
active : boolean;
activeIcon : string;
@@ -1056,6 +1491,18 @@ declare module Ti {
setFontSize (fontSize: number) : void;
setTitle (title: string) : void;
}
+ export interface ButtonBar extends Ti.UI.View {
+ index : number;
+ labels : any;
+ style : number;
+ getIndex () : number;
+ getLabels () : any;
+ getStyle () : number;
+ setIndex (index: number) : void;
+ setLabels (labels: Array) : void;
+ setLabels (labels: Array) : void;
+ setStyle (style: number) : void;
+ }
export interface Slider extends Ti.UI.View {
disabledLeftTrackImage : string;
disabledRightTrackImage : string;
@@ -1169,12 +1616,14 @@ declare module Ti {
export var WEBVIEW_PLUGINS_OFF : number;
export var WEBVIEW_PLUGINS_ON : number;
export var WEBVIEW_PLUGINS_ON_DEMAND : number;
+ export var apiName : string;
export var bubbleParent : boolean;
export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
export function applyProperties (props: Dictionary) : void;
export function createProgressIndicator (parameters?: Dictionary) : Ti.UI.Android.ProgressIndicator;
export function createSearchView (parameters?: Dictionary) : Ti.UI.Android.SearchView;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function getBubbleParent () : boolean;
export function hideSoftKeyboard () : void;
export function openPreferences () : void;
@@ -1225,22 +1674,6 @@ declare module Ti {
show () : void;
}
}
- export interface DashboardItem extends Ti.Proxy {
- badge : number;
- canDelete : boolean;
- image : any;
- selectedImage : any;
- getBadge () : number;
- getCanDelete () : boolean;
- getImage () : any;
- getSelectedImage () : any;
- setBadge (badge: number) : void;
- setCanDelete (canDelete: boolean) : void;
- setImage (image: string) : void;
- setImage (image: Ti.Blob) : void;
- setSelectedImage (selectedImage: string) : void;
- setSelectedImage (selectedImage: Ti.Blob) : void;
- }
export interface DashboardView extends Ti.UI.View {
columnCount : number;
data : Array;
@@ -1308,192 +1741,6 @@ declare module Ti {
setTitle (title: string) : void;
show () : void;
}
- export module iOS {
- export var AD_SIZE_LANDSCAPE : string;
- export var AD_SIZE_PORTRAIT : string;
- export var ANIMATION_CURVE_EASE_IN : number;
- export var ANIMATION_CURVE_EASE_IN_OUT : number;
- export var ANIMATION_CURVE_EASE_OUT : number;
- export var ANIMATION_CURVE_LINEAR : number;
- export var AUTODETECT_ADDRESS : number;
- export var AUTODETECT_ALL : number;
- export var AUTODETECT_CALENDAR : number;
- export var AUTODETECT_LINK : number;
- export var AUTODETECT_NONE : number;
- export var AUTODETECT_PHONE : number;
- export var BLEND_MODE_CLEAR : number;
- export var BLEND_MODE_COLOR : number;
- export var BLEND_MODE_COLOR_BURN : number;
- export var BLEND_MODE_COLOR_DODGE : number;
- export var BLEND_MODE_COPY : number;
- export var BLEND_MODE_DARKEN : number;
- export var BLEND_MODE_DESTINATION_ATOP : number;
- export var BLEND_MODE_DESTINATION_IN : number;
- export var BLEND_MODE_DESTINATION_OUT : number;
- export var BLEND_MODE_DESTINATION_OVER : number;
- export var BLEND_MODE_DIFFERENCE : number;
- export var BLEND_MODE_EXCLUSION : number;
- export var BLEND_MODE_HARD_LIGHT : number;
- export var BLEND_MODE_HUE : number;
- export var BLEND_MODE_LIGHTEN : number;
- export var BLEND_MODE_LUMINOSITY : number;
- export var BLEND_MODE_MULTIPLY : number;
- export var BLEND_MODE_NORMAL : number;
- export var BLEND_MODE_OVERLAY : number;
- export var BLEND_MODE_PLUS_DARKER : number;
- export var BLEND_MODE_PLUS_LIGHTER : number;
- export var BLEND_MODE_SATURATION : number;
- export var BLEND_MODE_SCREEN : number;
- export var BLEND_MODE_SOFT_LIGHT : number;
- export var BLEND_MODE_SOURCE_ATOP : number;
- export var BLEND_MODE_SOURCE_IN : number;
- export var BLEND_MODE_SOURCE_OUT : number;
- export var BLEND_MODE_XOR : number;
- export var COLOR_GROUP_TABLEVIEW_BACKGROUND : string;
- export var COLOR_SCROLLVIEW_BACKGROUND : string;
- export var COLOR_UNDER_PAGE_BACKGROUND : string;
- export var COLOR_VIEW_FLIPSIDE_BACKGROUND : string;
- export var WEBVIEW_NAVIGATIONTYPE_BACK_FORWARD : number;
- export var WEBVIEW_NAVIGATIONTYPE_FORM_RESUBMITTED : number;
- export var WEBVIEW_NAVIGATIONTYPE_FORM_SUBMITTED : number;
- export var WEBVIEW_NAVIGATIONTYPE_LINK_CLICKED : number;
- export var WEBVIEW_NAVIGATIONTYPE_OTHER : number;
- export var WEBVIEW_NAVIGATIONTYPE_RELOAD : number;
- export var bubbleParent : boolean;
- export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
- export function applyProperties (props: Dictionary) : void;
- export function create3DMatrix (parameters?: Dictionary) : Ti.UI.iOS._3DMatrix;
- export function createAdView (parameters?: Dictionary) : Ti.UI.iOS.AdView;
- export function createCoverFlowView (parameters?: Dictionary) : Ti.UI.iOS.CoverFlowView;
- export function createDocumentViewer (parameters?: Dictionary) : Ti.UI.iOS.DocumentViewer;
- export function createNavigationWindow (parameters?: Dictionary) : Ti.UI.iOS.NavigationWindow;
- export function createTabbedBar (parameters?: Dictionary) : Ti.UI.iOS.TabbedBar;
- export function createToolbar (parameters?: Dictionary) : Ti.UI.iOS.Toolbar;
- export function fireEvent (name: string, event: Dictionary) : void;
- export function getBubbleParent () : boolean;
- export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
- export function setBubbleParent (bubbleParent: boolean) : void;
- export interface Toolbar extends Ti.UI.View {
- barColor : string;
- borderBottom : boolean;
- borderTop : boolean;
- items : Array;
- translucent : boolean;
- getBarColor () : string;
- getBorderBottom () : boolean;
- getBorderTop () : boolean;
- getItems () : Array;
- getTranslucent () : boolean;
- setBarColor (barColor: string) : void;
- setBorderBottom (borderBottom: boolean) : void;
- setBorderTop (borderTop: boolean) : void;
- setItems (items: Array) : void;
- setTranslucent (translucent: boolean) : void;
- }
- export interface CoverFlowView extends Ti.UI.View {
- images : any;
- selected : number;
- getImages () : any;
- getSelected () : number;
- setImage (index: number, image: string) : void;
- setImage (image: Ti.Blob) : void;
- setImage (image: Ti.Filesystem.File) : void;
- setImage (index: number, image: CoverFlowImageType) : void;
- setImages (images: Array) : void;
- setImages (images: Array) : void;
- setImages (images: Array) : void;
- setImages (images: Array) : void;
- setSelected (selected: number) : void;
- }
- export interface DocumentViewer extends Ti.UI.View {
- name : string;
- url : string;
- getName () : string;
- getUrl () : string;
- hide (options?: DocumentViewerOptions) : void;
- setUrl (url: string) : void;
- show (options?: DocumentViewerOptions) : void;
- }
- export interface NavigationWindow extends Ti.UI.Window {
- window : Ti.UI.Window;
- closeWindow (window: Ti.UI.Window, options: Dictionary) : void;
- getWindow () : Ti.UI.Window;
- openWindow (window: Ti.UI.Window, options: Dictionary) : void;
- }
- export interface TabbedBar extends Ti.UI.View {
- index : number;
- labels : any;
- style : number;
- getIndex () : number;
- getLabels () : any;
- getStyle () : number;
- setIndex (index: number) : void;
- setLabels (labels: Array) : void;
- setLabels (labels: Array) : void;
- setStyle (style: number) : void;
- }
- export interface _3DMatrix extends Ti.Proxy {
- m11 : number;
- m12 : number;
- m13 : number;
- m14 : number;
- m21 : number;
- m22 : number;
- m23 : number;
- m24 : number;
- m31 : number;
- m32 : number;
- m33 : number;
- m34 : number;
- m41 : number;
- m42 : number;
- m43 : number;
- m44 : number;
- getM11 () : number;
- getM12 () : number;
- getM13 () : number;
- getM14 () : number;
- getM21 () : number;
- getM22 () : number;
- getM23 () : number;
- getM24 () : number;
- getM31 () : number;
- getM32 () : number;
- getM33 () : number;
- getM34 () : number;
- getM41 () : number;
- getM42 () : number;
- getM43 () : number;
- getM44 () : number;
- invert () : Ti.UI._3DMatrix;
- multiply (t2: Ti.UI._3DMatrix) : Ti.UI._3DMatrix;
- rotate (angle: number, x: number, y: number, z: number) : Ti.UI._3DMatrix;
- scale (sx: number, sy: number, sz: number) : Ti.UI._3DMatrix;
- setM11 (m11: number) : void;
- setM12 (m12: number) : void;
- setM13 (m13: number) : void;
- setM14 (m14: number) : void;
- setM21 (m21: number) : void;
- setM22 (m22: number) : void;
- setM23 (m23: number) : void;
- setM24 (m24: number) : void;
- setM31 (m31: number) : void;
- setM32 (m32: number) : void;
- setM33 (m33: number) : void;
- setM34 (m34: number) : void;
- setM41 (m41: number) : void;
- setM42 (m42: number) : void;
- setM43 (m43: number) : void;
- setM44 (m44: number) : void;
- translate (tx: number, ty: number, tz: number) : Ti.UI._3DMatrix;
- }
- export interface AdView extends Ti.UI.View {
- adSize : string;
- cancelAction () : void;
- getAdSize () : string;
- setAdSize (adSize: string) : void;
- }
- }
export interface _2DMatrix extends Ti.Proxy {
a : number;
b : number;
@@ -1540,26 +1787,35 @@ declare module Ti {
barImage : string;
exitOnClose : boolean;
extendEdges : Array;
+ flagSecure : boolean;
fullscreen : boolean;
+ hideShadow : boolean;
includeOpaqueBars : boolean;
leftNavButton : Ti.UI.View;
+ leftNavButtons : Array;
modal : boolean;
navBarHidden : boolean;
navTintColor : any;
orientation : number;
orientationModes : Array;
rightNavButton : Ti.UI.View;
+ rightNavButtons : Array;
+ shadowImage : string;
statusBarStyle : any;
tabBarHidden : boolean;
+ theme : string;
title : string;
+ titleAttributes : titleAttributesParams;
titleControl : Ti.UI.View;
titleImage : string;
titlePrompt : string;
titleid : string;
titlepromptid : string;
toolbar : Array;
+ transitionAnimation : Ti.Proxy;
translucent : boolean;
url : string;
+ windowFlags : number;
windowPixelFormat : number;
windowSoftInputMode : number;
close (params?: Dictionary) : void;
@@ -1572,28 +1828,38 @@ declare module Ti {
getBarImage () : string;
getExitOnClose () : boolean;
getExtendEdges () : Array;
+ getFlagSecure () : boolean;
getFullscreen () : boolean;
+ getHideShadow () : boolean;
getIncludeOpaqueBars () : boolean;
getLeftNavButton () : Ti.UI.View;
+ getLeftNavButtons () : Array;
getModal () : boolean;
getNavBarHidden () : boolean;
getNavTintColor () : string;
getOrientation () : number;
getOrientationModes () : Array;
getRightNavButton () : Ti.UI.View;
+ getRightNavButtons () : Array;
+ getShadowImage () : string;
getStatusBarStyle () : number;
getTabBarHidden () : boolean;
+ getTheme () : string;
getTitle () : string;
+ getTitleAttributes () : titleAttributesParams;
getTitleControl () : Ti.UI.View;
getTitleImage () : string;
getTitlePrompt () : string;
getTitleid () : string;
getTitlepromptid () : string;
getToolbar () : Array;
+ getTransitionAnimation () : Ti.Proxy;
getTranslucent () : boolean;
getUrl () : string;
+ getWindowFlags () : number;
getWindowPixelFormat () : number;
getWindowSoftInputMode () : number;
+ hideNavBar (options?: Dictionary) : void;
hideTabBar () : void;
open (params?: openWindowParams) : void;
setAutoAdjustScrollViewInsets (autoAdjustScrollViewInsets: boolean) : void;
@@ -1602,29 +1868,39 @@ declare module Ti {
setBackButtonTitleImage (backButtonTitleImage: Ti.Blob) : void;
setBarColor (barColor: string) : void;
setBarImage (barImage: string) : void;
+ setExitOnClose (exitOnClose: boolean) : void;
setExtendEdges (extendEdges: Array) : void;
setFullscreen (fullscreen: boolean) : void;
+ setHideShadow (hideShadow: boolean) : void;
setIncludeOpaqueBars (includeOpaqueBars: boolean) : void;
setLeftNavButton (leftNavButton: Ti.UI.View) : void;
+ setLeftNavButtons (leftNavButtons: Array) : void;
setModal (modal: boolean) : void;
setNavBarHidden (navBarHidden: boolean) : void;
setNavTintColor (navTintColor: string) : void;
setOrientationModes (orientationModes: Array) : void;
setRightNavButton (rightNavButton: Ti.UI.View) : void;
+ setRightNavButtons (rightNavButtons: Array) : void;
+ setShadowImage (shadowImage: string) : void;
setStatusBarStyle (statusBarStyle: number) : void;
setTabBarHidden (tabBarHidden: boolean) : void;
setTitle (title: string) : void;
+ setTitleAttributes (titleAttributes: titleAttributesParams) : void;
setTitleControl (titleControl: Ti.UI.View) : void;
setTitleImage (titleImage: string) : void;
setTitlePrompt (titlePrompt: string) : void;
setTitleid (titleid: string) : void;
setTitlepromptid (titlepromptid: string) : void;
setToolbar (items: Array, params?: windowToolbarParam) : void;
+ setTransitionAnimation (transitionAnimation: Ti.Proxy) : void;
setTranslucent (translucent: boolean) : void;
setWindowPixelFormat (windowPixelFormat: number) : void;
+ showNavBar (options?: Dictionary) : void;
}
export interface TextField extends Ti.UI.View {
appearance : number;
+ attributedHintText : Ti.UI.iOS.AttributedString;
+ attributedString : Ti.UI.iOS.AttributedString;
autoLink : number;
autocapitalization : number;
autocorrect : boolean;
@@ -1653,6 +1929,7 @@ declare module Ti {
rightButton : any;
rightButtonMode : number;
rightButtonPadding : number;
+ selection : textFieldSelectedParams;
suppressReturn : boolean;
textAlign : any;
value : string;
@@ -1660,6 +1937,8 @@ declare module Ti {
blur () : void;
focus () : void;
getAppearance () : number;
+ getAttributedHintText () : Ti.UI.iOS.AttributedString;
+ getAttributedString () : Ti.UI.iOS.AttributedString;
getAutoLink () : number;
getAutocapitalization () : number;
getAutocorrect () : boolean;
@@ -1688,12 +1967,15 @@ declare module Ti {
getRightButton () : any;
getRightButtonMode () : number;
getRightButtonPadding () : number;
+ getSelection () : textFieldSelectedParams;
getSuppressReturn () : boolean;
getTextAlign () : any;
getValue () : string;
getVerticalAlign () : any;
hasText () : boolean;
setAppearance (appearance: number) : void;
+ setAttributedHintText (attributedHintText: Ti.UI.iOS.AttributedString) : void;
+ setAttributedString (attributedString: Ti.UI.iOS.AttributedString) : void;
setAutoLink (autoLink: number) : void;
setAutocapitalization (autocapitalization: number) : void;
setAutocorrect (autocorrect: boolean) : void;
@@ -1791,11 +2073,13 @@ declare module Ti {
data : any;
disableBounce : boolean;
enableZoomControls : boolean;
+ handlePlatformUrl : boolean;
hideLoadIndicator : boolean;
html : string;
ignoreSslError : boolean;
lightTouchEnabled : boolean;
loading : boolean;
+ onCreateWindow : (...args : any[]) => any;
overScrollMode : number;
pluginState : number;
scalesPageToFit : boolean;
@@ -1811,11 +2095,13 @@ declare module Ti {
getData () : any;
getDisableBounce () : boolean;
getEnableZoomControls () : boolean;
+ getHandlePlatformUrl () : boolean;
getHideLoadIndicator () : boolean;
getHtml () : string;
getIgnoreSslError () : boolean;
getLightTouchEnabled () : boolean;
getLoading () : boolean;
+ getOnCreateWindow () : (...args : any[]) => any;
getOverScrollMode () : number;
getPluginState () : number;
getScalesPageToFit () : boolean;
@@ -1837,11 +2123,13 @@ declare module Ti {
setData (data: Ti.Filesystem.File) : void;
setDisableBounce (disableBounce: boolean) : void;
setEnableZoomControls (enableZoomControls: boolean) : void;
+ setHandlePlatformUrl (handlePlatformUrl: boolean) : void;
setHideLoadIndicator (hideLoadIndicator: boolean) : void;
setHtml (html: any, options?: Dictionary) : void;
setIgnoreSslError (ignoreSslError: boolean) : void;
setLightTouchEnabled (lightTouchEnabled: boolean) : void;
setLoading (loading: boolean) : void;
+ setOnCreateWindow (onCreateWindow: (...args : any[]) => any) : void;
setOverScrollMode (overScrollMode: number) : void;
setPluginState (pluginState: number) : void;
setScalesPageToFit (scalesPageToFit: boolean) : void;
@@ -1862,6 +2150,58 @@ declare module Ti {
setData (type: string, data: any) : void;
setText (text: string) : void;
}
+ export interface ScrollableView extends Ti.UI.View {
+ cacheSize : number;
+ clipViews : boolean;
+ currentPage : number;
+ disableBounce : boolean;
+ hitRect : Dimension;
+ overScrollMode : number;
+ overlayEnabled : boolean;
+ pagingControlAlpha : number;
+ pagingControlColor : string;
+ pagingControlHeight : number;
+ pagingControlOnTop : boolean;
+ pagingControlTimeout : number;
+ scrollingEnabled : boolean;
+ showPagingControl : boolean;
+ views : Array;
+ addView (view: Ti.UI.View) : void;
+ getCacheSize () : number;
+ getClipViews () : boolean;
+ getCurrentPage () : number;
+ getDisableBounce () : boolean;
+ getHitRect () : Dimension;
+ getOverScrollMode () : number;
+ getOverlayEnabled () : boolean;
+ getPagingControlAlpha () : number;
+ getPagingControlColor () : string;
+ getPagingControlHeight () : number;
+ getPagingControlOnTop () : boolean;
+ getPagingControlTimeout () : number;
+ getScrollingEnabled () : boolean;
+ getShowPagingControl () : boolean;
+ getViews () : Array;
+ moveNext () : void;
+ movePrevious () : void;
+ removeView (view: number) : void;
+ removeView (view: Ti.UI.View) : void;
+ scrollToView (view: number) : void;
+ scrollToView (view: Ti.UI.View) : void;
+ setCacheSize (cacheSize: number) : void;
+ setCurrentPage (currentPage: number) : void;
+ setDisableBounce (disableBounce: boolean) : void;
+ setHitRect (hitRect: Dimension) : void;
+ setOverScrollMode (overScrollMode: number) : void;
+ setOverlayEnabled (overlayEnabled: boolean) : void;
+ setPagingControlAlpha (pagingControlAlpha: number) : void;
+ setPagingControlColor (pagingControlColor: string) : void;
+ setPagingControlHeight (pagingControlHeight: number) : void;
+ setPagingControlOnTop (pagingControlOnTop: boolean) : void;
+ setScrollingEnabled (scrollingEnabled: boolean) : void;
+ setShowPagingControl (showPagingControl: boolean) : void;
+ setViews (views: Array) : void;
+ }
export interface ListSection extends Ti.Proxy {
footerTitle : string;
footerView : Ti.UI.View;
@@ -1890,6 +2230,7 @@ declare module Ti {
contentHeight : any;
contentOffset : Dictionary;
contentWidth : any;
+ decelerationRate : number;
disableBounce : boolean;
horizontalBounce : boolean;
maxZoomScale : number;
@@ -1907,6 +2248,7 @@ declare module Ti {
getContentHeight () : any;
getContentOffset () : Dictionary;
getContentWidth () : any;
+ getDecelerationRate () : number;
getDisableBounce () : boolean;
getHorizontalBounce () : boolean;
getMaxZoomScale () : number;
@@ -1928,6 +2270,7 @@ declare module Ti {
setContentOffset (contentOffset: Dictionary, animated?: contentOffsetOption) : void;
setContentWidth (contentWidth: number) : void;
setContentWidth (contentWidth: string) : void;
+ setDecelerationRate (decelerationRate: number) : void;
setDisableBounce (disableBounce: boolean) : void;
setHorizontalBounce (horizontalBounce: boolean) : void;
setMaxZoomScale (maxZoomScale: number) : void;
@@ -1947,13 +2290,16 @@ declare module Ti {
caseInsensitiveSearch : boolean;
defaultItemTemplate : any;
editing : boolean;
+ footerDividersEnabled : boolean;
footerTitle : string;
footerView : Ti.UI.View;
+ headerDividersEnabled : boolean;
headerTitle : string;
headerView : Ti.UI.View;
keepSectionsInSearch : boolean;
pruneSectionsOnEdit : boolean;
pullView : Ti.UI.View;
+ refreshControl : Ti.UI.RefreshControl;
scrollIndicatorStyle : number;
searchText : string;
searchView : any;
@@ -1961,6 +2307,7 @@ declare module Ti {
sectionIndexTitles : Array;
sections : Array;
separatorColor : string;
+ separatorInsets : Dictionary;
separatorStyle : number;
showVerticalScrollIndicator : boolean;
style : number;
@@ -1975,20 +2322,24 @@ declare module Ti {
getCaseInsensitiveSearch () : boolean;
getDefaultItemTemplate () : any;
getEditing () : boolean;
+ getFooterDividersEnabled () : boolean;
getFooterTitle () : string;
getFooterView () : Ti.UI.View;
+ getHeaderDividersEnabled () : boolean;
getHeaderTitle () : string;
getHeaderView () : Ti.UI.View;
getKeepSectionsInSearch () : boolean;
getPruneSectionsOnEdit () : boolean;
getPullView () : Ti.UI.View;
+ getRefreshControl () : Ti.UI.RefreshControl;
getScrollIndicatorStyle () : number;
getSearchText () : string;
- getSearchView () : Ti.UI.SearchBar;
+ getSearchView () : any;
getSectionCount () : number;
getSectionIndexTitles () : Array;
getSections () : Array;
getSeparatorColor () : string;
+ getSeparatorInsets () : Dictionary;
getSeparatorStyle () : number;
getShowVerticalScrollIndicator () : boolean;
getStyle () : number;
@@ -2014,12 +2365,15 @@ declare module Ti {
setMarker (markerProps: ListViewMarkerProps) : void;
setPruneSectionsOnEdit (pruneSectionsOnEdit: boolean) : void;
setPullView (pullView: Ti.UI.View) : void;
+ setRefreshControl (refreshControl: Ti.UI.RefreshControl) : void;
setScrollIndicatorStyle (scrollIndicatorStyle: number) : void;
setSearchText (searchText: string) : void;
setSearchView (searchView: Ti.UI.SearchBar) : void;
+ setSearchView (searchView: Ti.UI.Android.SearchView) : void;
setSectionIndexTitles (sectionIndexTitles: Array) : void;
setSections (sections: Array) : void;
setSeparatorColor (separatorColor: string) : void;
+ setSeparatorInsets (separatorInsets: Dictionary) : void;
setSeparatorStyle (separatorStyle: number) : void;
setShowVerticalScrollIndicator (showVerticalScrollIndicator: boolean) : void;
setWillScrollOnStatusTap (willScrollOnStatusTap: boolean) : void;
@@ -2041,6 +2395,7 @@ declare module Ti {
editButtonTitle : string;
exitOnClose : boolean;
navBarHidden : boolean;
+ navTintColor : any;
shadowImage : string;
tabDividerColor : string;
tabDividerWidth : any;
@@ -2056,6 +2411,9 @@ declare module Ti {
tabsBackgroundSelectedColor : string;
tabsBackgroundSelectedImage : string;
tabsTintColor : any;
+ title : string;
+ titleAttributes : titleAttributesParams;
+ translucent : boolean;
windowSoftInputMode : number;
addTab (tab: Ti.UI.Tab) : void;
close () : void;
@@ -2075,6 +2433,7 @@ declare module Ti {
getEditButtonTitle () : string;
getExitOnClose () : boolean;
getNavBarHidden () : boolean;
+ getNavTintColor () : string;
getShadowImage () : string;
getTabDividerColor () : string;
getTabDividerWidth () : any;
@@ -2090,6 +2449,9 @@ declare module Ti {
getTabsBackgroundSelectedColor () : string;
getTabsBackgroundSelectedImage () : string;
getTabsTintColor () : string;
+ getTitle () : string;
+ getTitleAttributes () : titleAttributesParams;
+ getTranslucent () : boolean;
getWindowSoftInputMode () : number;
open () : void;
removeTab (tab: Ti.UI.Tab) : void;
@@ -2107,7 +2469,9 @@ declare module Ti {
setAllowUserCustomization (allowUserCustomization: boolean) : void;
setBarColor (barColor: string) : void;
setEditButtonTitle (editButtonTitle: string) : void;
+ setExitOnClose (exitOnClose: boolean) : void;
setNavBarHidden (navBarHidden: boolean) : void;
+ setNavTintColor (navTintColor: string) : void;
setShadowImage (shadowImage: string) : void;
setTabDividerColor (tabDividerColor: string) : void;
setTabDividerWidth (tabDividerWidth: number) : void;
@@ -2125,6 +2489,9 @@ declare module Ti {
setTabsBackgroundSelectedColor (tabsBackgroundSelectedColor: string) : void;
setTabsBackgroundSelectedImage (tabsBackgroundSelectedImage: string) : void;
setTabsTintColor (tabsTintColor: string) : void;
+ setTitle (title: string) : void;
+ setTitleAttributes (titleAttributes: titleAttributesParams) : void;
+ setTranslucent (translucent: boolean) : void;
}
export interface TableView extends Ti.UI.View {
allowsSelection : boolean;
@@ -2132,10 +2499,13 @@ declare module Ti {
data : any;
editable : boolean;
editing : boolean;
+ filterAnchored : boolean;
filterAttribute : string;
filterCaseInsensitive : boolean;
+ footerDividersEnabled : boolean;
footerTitle : string;
footerView : Ti.UI.View;
+ headerDividersEnabled : boolean;
headerPullView : Ti.UI.View;
headerTitle : string;
headerView : Ti.UI.View;
@@ -2146,6 +2516,7 @@ declare module Ti {
moveable : boolean;
moving : boolean;
overScrollMode : number;
+ refreshControl : Ti.UI.RefreshControl;
rowHeight : number;
scrollIndicatorStyle : number;
scrollable : boolean;
@@ -2156,6 +2527,7 @@ declare module Ti {
sectionCount : number;
sections : Array;
separatorColor : string;
+ separatorInsets : Dictionary;
separatorStyle : number;
showVerticalScrollIndicator : boolean;
style : number;
@@ -2176,10 +2548,13 @@ declare module Ti {
getData () : any;
getEditable () : boolean;
getEditing () : boolean;
+ getFilterAnchored () : boolean;
getFilterAttribute () : string;
getFilterCaseInsensitive () : boolean;
+ getFooterDividersEnabled () : boolean;
getFooterTitle () : string;
getFooterView () : Ti.UI.View;
+ getHeaderDividersEnabled () : boolean;
getHeaderPullView () : Ti.UI.View;
getHeaderTitle () : string;
getHeaderView () : Ti.UI.View;
@@ -2190,6 +2565,7 @@ declare module Ti {
getMoveable () : boolean;
getMoving () : boolean;
getOverScrollMode () : number;
+ getRefreshControl () : Ti.UI.RefreshControl;
getRowHeight () : number;
getScrollIndicatorStyle () : number;
getScrollable () : boolean;
@@ -2200,6 +2576,7 @@ declare module Ti {
getSectionCount () : number;
getSections () : Array;
getSeparatorColor () : string;
+ getSeparatorInsets () : Dictionary;
getSeparatorStyle () : number;
getShowVerticalScrollIndicator () : boolean;
getStyle () : number;
@@ -2222,6 +2599,7 @@ declare module Ti {
setData (data: Array, animation: TableViewAnimationProperties) : void;
setEditable (editable: boolean) : void;
setEditing (editing: boolean) : void;
+ setFilterAnchored (filterAnchored: boolean) : void;
setFilterAttribute (filterAttribute: string) : void;
setFilterCaseInsensitive (filterCaseInsensitive: boolean) : void;
setFooterTitle (footerTitle: string) : void;
@@ -2236,6 +2614,7 @@ declare module Ti {
setMoveable (moveable: boolean) : void;
setMoving (moving: boolean) : void;
setOverScrollMode (overScrollMode: number) : void;
+ setRefreshControl (refreshControl: Ti.UI.RefreshControl) : void;
setRowHeight (rowHeight: number) : void;
setScrollIndicatorStyle (scrollIndicatorStyle: number) : void;
setScrollable (scrollable: boolean) : void;
@@ -2246,6 +2625,7 @@ declare module Ti {
setSearchHidden (searchHidden: boolean) : void;
setSections (sections: Array) : void;
setSeparatorColor (separatorColor: string) : void;
+ setSeparatorInsets (separatorInsets: Dictionary) : void;
setSeparatorStyle (separatorStyle: number) : void;
setShowVerticalScrollIndicator (showVerticalScrollIndicator: boolean) : void;
setStyle (style: number) : void;
@@ -2254,9 +2634,13 @@ declare module Ti {
}
export interface Button extends Ti.UI.View {
color : string;
+ disabledColor : string;
font : Font;
image : any;
selectedColor : string;
+ shadowColor : string;
+ shadowOffset : Dictionary;
+ shadowRadius : number;
style : number;
systemButton : number;
textAlign : any;
@@ -2264,9 +2648,13 @@ declare module Ti {
titleid : string;
verticalAlign : any;
getColor () : string;
+ getDisabledColor () : string;
getFont () : Font;
getImage () : any;
getSelectedColor () : string;
+ getShadowColor () : string;
+ getShadowOffset () : Dictionary;
+ getShadowRadius () : number;
getStyle () : number;
getSystemButton () : number;
getTextAlign () : any;
@@ -2274,10 +2662,14 @@ declare module Ti {
getTitleid () : string;
getVerticalAlign () : any;
setColor (color: string) : void;
+ setDisabledColor (disabledColor: string) : void;
setFont (font: Font) : void;
setImage (image: string) : void;
setImage (image: Ti.Blob) : void;
setSelectedColor (selectedColor: string) : void;
+ setShadowColor (shadowColor: string) : void;
+ setShadowOffset (shadowOffset: Dictionary) : void;
+ setShadowRadius (shadowRadius: number) : void;
setStyle (style: number) : void;
setSystemButton (systemButton: number) : void;
setTextAlign (textAlign: string) : void;
@@ -2292,6 +2684,7 @@ declare module Ti {
buttonNames : Array;
cancel : number;
destructive : number;
+ opaquebackground : boolean;
options : Array;
persistent : boolean;
selectedIndex : number;
@@ -2301,6 +2694,7 @@ declare module Ti {
getButtonNames () : Array;
getCancel () : number;
getDestructive () : number;
+ getOpaquebackground () : boolean;
getOptions () : Array;
getPersistent () : boolean;
getSelectedIndex () : number;
@@ -2309,22 +2703,21 @@ declare module Ti {
hide (params?: hideParams) : void;
setAndroidView (androidView: Ti.UI.View) : void;
setCancel (cancel: number) : void;
+ setOpaquebackground (opaquebackground: boolean) : void;
setPersistent (persistent: boolean) : void;
setTitle (title: string) : void;
setTitleid (titleid: string) : void;
show (params?: showParams) : void;
}
- export interface ButtonBar extends Ti.UI.View {
- index : number;
- labels : any;
- style : number;
- getIndex () : number;
- getLabels () : any;
- getStyle () : number;
- setIndex (index: number) : void;
- setLabels (labels: Array) : void;
- setLabels (labels: Array) : void;
- setStyle (style: number) : void;
+ export interface RefreshControl extends Ti.Proxy {
+ tintColor : string;
+ title : Ti.UI.iOS.AttributedString;
+ beginRefreshing () : void;
+ endRefreshing () : void;
+ getTintColor () : string;
+ getTitle () : Ti.UI.iOS.AttributedString;
+ setTintColor (tintColor: string) : void;
+ setTitle (title: Ti.UI.iOS.AttributedString) : void;
}
export interface EmailDialog extends Ti.Proxy {
CANCELLED : number;
@@ -2460,10 +2853,12 @@ declare module Ti {
setValue (value: number) : void;
}
export module MobileWeb {
+ export var apiName : string;
export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
export function applyProperties (props: Dictionary) : void;
export function createNavigationGroup (parameters?: Dictionary) : Ti.UI.MobileWeb.NavigationGroup;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
export enum TableViewSeparatorStyle {
NONE,
@@ -2480,6 +2875,7 @@ declare module Ti {
}
}
export interface Label extends Ti.UI.View {
+ attributedString : Ti.UI.iOS.AttributedString;
autoLink : number;
backgroundPaddingBottom : number;
backgroundPaddingLeft : number;
@@ -2490,14 +2886,17 @@ declare module Ti {
font : Font;
highlightedColor : string;
html : string;
+ includeFontPadding : boolean;
minimumFontSize : number;
shadowColor : string;
- shadowOffset : any;
+ shadowOffset : Dictionary;
+ shadowRadius : number;
text : string;
textAlign : any;
textid : string;
verticalAlign : any;
wordWrap : boolean;
+ getAttributedString () : Ti.UI.iOS.AttributedString;
getAutoLink () : number;
getBackgroundPaddingBottom () : number;
getBackgroundPaddingLeft () : number;
@@ -2508,14 +2907,17 @@ declare module Ti {
getFont () : Font;
getHighlightedColor () : string;
getHtml () : string;
+ getIncludeFontPadding () : boolean;
getMinimumFontSize () : number;
getShadowColor () : string;
- getShadowOffset () : any;
+ getShadowOffset () : Dictionary;
+ getShadowRadius () : number;
getText () : string;
getTextAlign () : any;
getTextid () : string;
getVerticalAlign () : any;
getWordWrap () : boolean;
+ setAttributedString (attributedString: Ti.UI.iOS.AttributedString) : void;
setAutoLink (autoLink: number) : void;
setBackgroundPaddingBottom (backgroundPaddingBottom: number) : void;
setBackgroundPaddingLeft (backgroundPaddingLeft: number) : void;
@@ -2526,9 +2928,11 @@ declare module Ti {
setFont (font: Font) : void;
setHighlightedColor (highlightedColor: string) : void;
setHtml (html: string) : void;
+ setIncludeFontPadding (includeFontPadding: boolean) : void;
setMinimumFontSize (minimumFontSize: number) : void;
setShadowColor (shadowColor: string) : void;
- setShadowOffset (shadowOffset: any) : void;
+ setShadowOffset (shadowOffset: Dictionary) : void;
+ setShadowRadius (shadowRadius: number) : void;
setText (text: string) : void;
setTextAlign (textAlign: string) : void;
setTextAlign (textAlign: number) : void;
@@ -2608,55 +3012,6 @@ declare module Ti {
setHeaderTitle (headerTitle: string) : void;
setHeaderView (headerView: Ti.UI.View) : void;
}
- export interface ActivityIndicator extends Ti.Proxy {
- bottom : any;
- color : string;
- font : Font;
- height : string;
- indicatorColor : string;
- indicatorDiameter : string;
- left : any;
- message : string;
- messageid : string;
- right : any;
- style : number;
- top : any;
- width : string;
- add () : void;
- getBottom () : any;
- getColor () : string;
- getFont () : Font;
- getHeight () : string;
- getIndicatorColor () : string;
- getIndicatorDiameter () : string;
- getLeft () : any;
- getMessage () : string;
- getMessageid () : string;
- getRight () : any;
- getStyle () : number;
- getTop () : any;
- getWidth () : string;
- hide () : void;
- remove () : void;
- setBottom (bottom: number) : void;
- setBottom (bottom: string) : void;
- setColor (color: string) : void;
- setFont (font: Font) : void;
- setHeight (height: string) : void;
- setIndicatorColor (indicatorColor: string) : void;
- setIndicatorDiameter (indicatorDiameter: string) : void;
- setLeft (left: number) : void;
- setLeft (left: string) : void;
- setMessage (message: string) : void;
- setMessageid (messageid: string) : void;
- setRight (right: number) : void;
- setRight (right: string) : void;
- setStyle (style: number) : void;
- setTop (top: number) : void;
- setTop (top: string) : void;
- setWidth (width: string) : void;
- show () : void;
- }
export interface Animation extends Ti.Proxy {
anchorPoint : Point;
autoreverse : boolean;
@@ -2764,20 +3119,73 @@ declare module Ti {
setYOffset (yOffset: number) : void;
}
export interface PickerColumn extends Ti.UI.View {
+ font : Font;
rowCount : number;
rows : Array;
selectedRow : Ti.UI.PickerRow;
addRow (row: Ti.UI.PickerRow) : void;
+ getFont () : Font;
getRowCount () : number;
getRows () : Array;
getSelectedRow () : Ti.UI.PickerRow;
removeRow (row: Ti.UI.PickerRow) : void;
+ setFont (font: Font) : void;
setSelectedRow (selectedRow: Ti.UI.PickerRow) : void;
}
- export interface Picker extends Ti.Proxy {
+ export interface ActivityIndicator extends Ti.Proxy {
+ bottom : any;
+ color : string;
+ font : Font;
+ height : string;
+ indicatorColor : string;
+ indicatorDiameter : string;
+ left : any;
+ message : string;
+ messageid : string;
+ right : any;
+ style : number;
+ top : any;
+ width : string;
+ add () : void;
+ getBottom () : any;
+ getColor () : string;
+ getFont () : Font;
+ getHeight () : string;
+ getIndicatorColor () : string;
+ getIndicatorDiameter () : string;
+ getLeft () : any;
+ getMessage () : string;
+ getMessageid () : string;
+ getRight () : any;
+ getStyle () : number;
+ getTop () : any;
+ getWidth () : string;
+ hide () : void;
+ remove () : void;
+ setBottom (bottom: number) : void;
+ setBottom (bottom: string) : void;
+ setColor (color: string) : void;
+ setFont (font: Font) : void;
+ setHeight (height: string) : void;
+ setIndicatorColor (indicatorColor: string) : void;
+ setIndicatorDiameter (indicatorDiameter: string) : void;
+ setLeft (left: number) : void;
+ setLeft (left: string) : void;
+ setMessage (message: string) : void;
+ setMessageid (messageid: string) : void;
+ setRight (right: number) : void;
+ setRight (right: string) : void;
+ setStyle (style: number) : void;
+ setTop (top: number) : void;
+ setTop (top: string) : void;
+ setWidth (width: string) : void;
+ show () : void;
+ }
+ export interface Picker extends Ti.UI.View {
calendarViewShown : boolean;
columns : Array;
countDownDuration : number;
+ font : Font;
format24 : boolean;
locale : string;
maxDate : Date;
@@ -2795,6 +3203,7 @@ declare module Ti {
getCalendarViewShown () : boolean;
getColumns () : Array;
getCountDownDuration () : number;
+ getFont () : Font;
getFormat24 () : boolean;
getLocale () : string;
getMaxDate () : Date;
@@ -2810,6 +3219,7 @@ declare module Ti {
setCalendarViewShown (calendarViewShown: boolean) : void;
setColumns (columns: Array) : void;
setCountDownDuration (countDownDuration: number) : void;
+ setFont (font: Font) : void;
setFormat24 (format24: boolean) : void;
setLocale (locale: string) : void;
setMaxDate (maxDate: Date) : void;
@@ -2828,7 +3238,7 @@ declare module Ti {
export enum Module {
}
- export interface API {
+ export interface API {
debug (message: Array) : void;
debug (message: string) : void;
error (message: Array) : void;
@@ -2857,10 +3267,12 @@ declare module Ti {
export var ACTIVITYTYPE_FITNESS : string;
export var ACTIVITYTYPE_OTHER : string;
export var ACTIVITYTYPE_OTHER_NAVIGATION : string;
+ export var AUTHORIZATION_ALWAYS : number;
export var AUTHORIZATION_AUTHORIZED : number;
export var AUTHORIZATION_DENIED : number;
export var AUTHORIZATION_RESTRICTED : number;
export var AUTHORIZATION_UNKNOWN : number;
+ export var AUTHORIZATION_WHEN_IN_USE : number;
export var ERROR_DENIED : number;
export var ERROR_HEADING_FAILURE : number;
export var ERROR_LOCATION_UNKNOWN : number;
@@ -2874,6 +3286,7 @@ declare module Ti {
export var PROVIDER_PASSIVE : string;
export var accuracy : number;
export var activityType : number;
+ export var apiName : string;
export var bubbleParent : boolean;
export var distanceFilter : number;
export var frequency : number;
@@ -2893,6 +3306,7 @@ declare module Ti {
export function forwardGeocoder (address: string, callback: (...args : any[]) => any) : void;
export function getAccuracy () : number;
export function getActivityType () : number;
+ export function getApiName () : string;
export function getBubbleParent () : boolean;
export function getCurrentHeading (callback: (...args : any[]) => any) : void;
export function getCurrentPosition (callback: (...args : any[]) => any) : void;
@@ -2923,6 +3337,7 @@ declare module Ti {
export function setShowCalibration (showCalibration: boolean) : void;
export function setTrackSignificantLocationChange (trackSignificantLocationChange: boolean) : void;
export module Android {
+ export var apiName : string;
export var bubbleParent : boolean;
export var manualMode : boolean;
export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
@@ -2932,6 +3347,7 @@ declare module Ti {
export function createLocationProvider (parameters?: Dictionary) : Ti.Geolocation.Android.LocationProvider;
export function createLocationRule (parameters?: Dictionary) : Ti.Geolocation.Android.LocationRule;
export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
export function getBubbleParent () : boolean;
export function getManualMode () : boolean;
export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
@@ -2984,16 +3400,149 @@ declare module Ti {
}
}
export interface Proxy {
+ apiName : string;
bubbleParent : boolean;
addEventListener (name: string, callback: (...args : any[]) => any) : void;
applyProperties (props: Dictionary) : void;
fireEvent (name: string, event: Dictionary) : void;
+ getApiName () : string;
getBubbleParent () : boolean;
removeEventListener (name: string, callback: (...args : any[]) => any) : void;
setBubbleParent (bubbleParent: boolean) : void;
}
+ export module Map {
+ export var ANNOTATION_DRAG_STATE_CANCEL : number;
+ export var ANNOTATION_DRAG_STATE_DRAG : number;
+ export var ANNOTATION_DRAG_STATE_END : number;
+ export var ANNOTATION_DRAG_STATE_NONE : number;
+ export var ANNOTATION_DRAG_STATE_START : number;
+ export var ANNOTATION_GREEN : number;
+ export var ANNOTATION_PURPLE : number;
+ export var ANNOTATION_RED : number;
+ export var HYBRID_TYPE : number;
+ export var SATELLITE_TYPE : number;
+ export var STANDARD_TYPE : number;
+ export var TERRAIN_TYPE : number;
+ export var apiName : string;
+ export var bubbleParent : boolean;
+ export function addEventListener (name: string, callback: (...args : any[]) => any) : void;
+ export function applyProperties (props: Dictionary) : void;
+ export function createAnnotation (parameters?: Dictionary) : Ti.Map.Annotation;
+ export function createView (parameters?: Dictionary) : Ti.Map.View;
+ export function fireEvent (name: string, event: Dictionary) : void;
+ export function getApiName () : string;
+ export function getBubbleParent () : boolean;
+ export function removeEventListener (name: string, callback: (...args : any[]) => any) : void;
+ export function setBubbleParent (bubbleParent: boolean) : void;
+ export interface View extends Ti.UI.View {
+ animated : boolean;
+ annotations : Array;
+ hideAnnotationWhenTouchMap : boolean;
+ latitudeDelta : number;
+ longitudeDelta : number;
+ mapType : number;
+ region : MapRegionType;
+ regionFit : boolean;
+ userLocation : boolean;
+ addAnnotation (annotation: Dictionary) : void;
+ addAnnotation (annotation: Ti.Map.Annotation) : void;
+ addAnnotations (annotations: Array) : void;
+ addAnnotations (annotations: Array>) : void;
+ addRoute (route: MapRouteType) : void;
+ deselectAnnotation (annotation: string) : void;
+ deselectAnnotation (annotation: Ti.Map.Annotation) : void;
+ getAnimate () : boolean;
+ getAnimated () : boolean;
+ getAnnotations () : Array;
+ getHideAnnotationWhenTouchMap () : boolean;
+ getLatitudeDelta () : number;
+ getLongitudeDelta () : number;
+ getMapType () : number;
+ getRegion () : MapRegionType;
+ getRegionFit () : boolean;
+ getUserLocation () : boolean;
+ removeAllAnnotations () : void;
+ removeAnnotation (annotation: string) : void;
+ removeAnnotation (annotation: Ti.Map.Annotation) : void;
+ removeAnnotations (annotations: Array) : void;
+ removeAnnotations (annotations: Array) : void;
+ removeRoute (route: MapRouteType) : void;
+ selectAnnotation (annotation: string) : void;
+ selectAnnotation (annotation: Ti.Map.Annotation) : void;
+ setAnimate (animate: boolean) : void;
+ setAnimated (animated: boolean) : void;
+ setAnnotations (annotations: Array) : void;
+ setHideAnnotationWhenTouchMap (hideAnnotationWhenTouchMap: boolean) : void;
+ setLocation (location: MapLocationType) : void;
+ setMapType (mapType: number) : void;
+ setRegion (region: MapRegionType) : void;
+ setRegionFit (regionFit: boolean) : void;
+ setUserLocation (userLocation: boolean) : void;
+ zoom (level: number) : void;
+ }
+ export interface Annotation extends Ti.Proxy {
+ animate : boolean;
+ canShowCallout : boolean;
+ centerOffset : Point;
+ customView : Ti.UI.View;
+ draggable : boolean;
+ image : any;
+ latitude : number;
+ leftButton : any;
+ leftView : Ti.UI.View;
+ longitude : number;
+ pinImage : string;
+ pincolor : number;
+ rightButton : any;
+ rightView : Ti.UI.View;
+ subtitle : string;
+ subtitleid : string;
+ title : string;
+ titleid : string;
+ getAnimate () : boolean;
+ getCanShowCallout () : boolean;
+ getCenterOffset () : Point;
+ getCustomView () : Ti.UI.View;
+ getDraggable () : boolean;
+ getImage () : any;
+ getLatitude () : number;
+ getLeftButton () : any;
+ getLeftView () : Ti.UI.View;
+ getLongitude () : number;
+ getPinImage () : string;
+ getPincolor () : number;
+ getRightButton () : any;
+ getRightView () : Ti.UI.View;
+ getSubtitle () : string;
+ getSubtitleid () : string;
+ getTitle () : string;
+ getTitleid () : string;
+ setAnimate (animate: boolean) : void;
+ setCanShowCallout (canShowCallout: boolean) : void;
+ setCenterOffset (centerOffset: Point) : void;
+ setCustomView (customView: Ti.UI.View) : void;
+ setDraggable (draggable: boolean) : void;
+ setImage (image: string) : void;
+ setImage (image: Ti.Blob) : void;
+ setLatitude (latitude: number) : void;
+ setLeftButton (leftButton: number) : void;
+ setLeftButton (leftButton: string) : void;
+ setLeftView (leftView: Ti.UI.View) : void;
+ setLongitude (longitude: number) : void;
+ setPinImage (pinImage: string) : void;
+ setPincolor (pincolor: number) : void;
+ setRightButton (rightButton: number) : void;
+ setRightButton (rightButton: string) : void;
+ setRightView (rightView: Ti.UI.View) : void;
+ setSubtitle (subtitle: string) : void;
+ setSubtitleid (subtitleid: string) : void;
+ setTitle (title: string) : void;
+ setTitleid (titleid: string) : void;
+ }
+ }
export module Cloud {
export var accessToken : string;
+ export var apiName : string;
export var bubbleParent : boolean;
export var debug : boolean;
export var expiresIn : number;
@@ -3003,6 +3552,7 @@ declare module Ti {
export var useSecure : boolean;
export function applyProperties (props: Dictionary) : void;
export function getAccessToken () : string;
+ export function getApiName () : string;
export function getBubbleParent () : boolean;
export function getDebug () : boolean;
export function getExpiresIn () : number;
@@ -3012,6 +3562,7 @@ declare module Ti {
export function getUseSecure () : boolean;
export function hasStoredSession () : boolean;
export function retrieveStoredSession () : string;
+ export function sendRequest (parameters: Dictionary, callback: (...args : any[]) => any) : void;
export function setAccessToken (accessToken: string) : void;
export function setBubbleParent (bubbleParent: boolean) : void;
export function setDebug (debug: boolean) : void;
@@ -3026,13 +3577,6 @@ declare module Ti {
show (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
update (parameters: Dictionary, callback: (...args : any[]) => any) : void;
}
- export interface Files {
- create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
- query (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
- remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
- show (parameters: Dictionary, callback: (...args : any[]) => any) : void;
- update (parameters: Dictionary, callback: (...args : any[]) => any) : void;
- }
export interface SocialIntegrations {
externalAccountLink (parameters: Dictionary, callback: (...args : any[]) => any) : void;
externalAccountLogin (parameters: Dictionary, callback: (...args : any[]) => any) : void;
@@ -3042,10 +3586,16 @@ declare module Ti {
export interface PushNotifications {
notify (parameters: Dictionary, callback: (...args : any[]) => any) : void;
notifyTokens (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ query (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ queryChannels (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ resetBadge (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ setBadge (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ showChannels (parameters: Dictionary, callback: (...args : any[]) => any) : void;
subscribe (parameters: Dictionary, callback: (...args : any[]) => any) : void;
subscribeToken (parameters: Dictionary, callback: (...args : any[]) => any) : void;
unsubscribe (parameters: Dictionary, callback: (...args : any[]) => any) : void;
unsubscribeToken (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ updateSubscription (parameters: Dictionary, callback: (...args : any[]) => any) : void;
}
export interface Clients {
geolocate (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
@@ -3066,6 +3616,7 @@ declare module Ti {
query (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
requestResetPassword (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ resendConfirmation (parameters: Dictionary, callback: (...args : any[]) => any) : void;
search (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
secureCreate (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
secureLogin (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
@@ -3107,6 +3658,8 @@ declare module Ti {
create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
getChatGroups (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
query (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ queryChatGroups (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
+ remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
}
export interface KeyValues {
append (parameters: Dictionary, callback: (...args : any[]) => any) : void;
@@ -3115,6 +3668,12 @@ declare module Ti {
remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
set (parameters: Dictionary, callback: (...args : any[]) => any) : void;
}
+ export interface GeoFences {
+ create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ query (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
+ remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ update (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ }
export interface Checkins {
create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
query (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
@@ -3128,6 +3687,22 @@ declare module Ti {
requests (parameters: Dictionary, callback: (...args : any[]) => any) : void;
search (parameters: Dictionary, callback: (...args : any[]) => any) : void;
}
+ export interface Files {
+ create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ query (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
+ remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ show (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ update (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ }
+ export interface PushSchedules {
+ create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ query (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ }
+ export interface Likes {
+ create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ remove (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ }
export interface Photos {
create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
query (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
@@ -3138,8 +3713,11 @@ declare module Ti {
}
export interface Statuses {
create (parameters: Dictionary, callback: (...args : any[]) => any) : void;
+ delete (parameters: Dictionary, callback: (...args : any[]) => any) : void;
query (parameters?: Dictionary, callback?: (...args : any[]) => any) : void;
search (parameters: Dictionary