Ti.TVOut Module

Description

Adds TV Out functionality to your application, letting you control what is outputted to a TV on iOS devices with the proper adapters.

Getting Started

View the Using Titanium Modules document for instructions on getting started with using this module in your application.

Accessing the Ti.TVOut Module

To access this module from JavaScript, you would do the following:

var TVOut = require('ti.tvout');

Properties

Ti.TVOut.connected

Returns true if a screen is connected.

Ti.TVOut.screen

Returns a dictionary containing information about the connected screen:

Functions

start()

Starts outputting to the television. Note that you can listen for the connect and disconnect events to know if output is being sent to a television.

stop()

Stops outputting to the television.

setView(view, mirror)

Sets the view that is output to the television.

Arguments

Events

connect

Fired when a television screen is connected.

disconnect

Fired when a television screen is disconnected.

Usage

See example.

Author

Jeff Haynie & Jeff English

Module History

View the change log for this module.

Feedback and Support

Please direct all questions, feedback, and concerns to info@appcelerator.com.

License

Copyright(c) 2010-2013 by Appcelerator, Inc. All Rights Reserved. Please see the LICENSE file included in the distribution for further details.