<?xml version="1.0" encoding="utf-8"?>

<dictionary xsi:schemaLocation="http://schema.adobe.com/omv/1.0/omv.xsd omv.xsd" xmlns="http://schema.adobe.com/omv/1.0/omv.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

	<map title="Adobe Device Central CS5 Object Model">
		<topicref navtitle="Adobe Device Central CS5">
			<topicref navtitle="Task" href="#/Task"/>
			<topicref navtitle="Project" href="#/Project"/>
			<topicref navtitle="Control" href="#/Control"/>
			<topicref navtitle="ZIPFile" href="#/ZIPFile"/>
			<topicref navtitle="URLStream" href="#/URLStream"/>
			<topicref navtitle="StatusDialog" href="#/StatusDialog"/>
			<topicref navtitle="ListItem" href="#/ListItem"/>
			<topicref navtitle="Device" href="#/Device"/>
			<topicref navtitle="Bluetooth" href="#/Bluetooth"/>
		</topicref>
	</map>

	<package>
	<classdef name="Task" dynamic="true">
		<shortdesc>
			Represents an Adobe Device Central plug-in as a whole and provides
			access to its components.
		</shortdesc>
  <elements type="instance">
  	<property name="activeDevice" rwaccess="readonly">
		<shortdesc>
			Returns the <a href="#/Device">Device</a> object that is currently
			available in the Adobe Device Central emulator.
		</shortdesc>
		<description>
			If no device is currently loaded, it returns null.
		</description>
      <datatype>
        <type>Device</type>
      </datatype>
    </property>
    <property name="isOSMacintosh" rwaccess="readonly">
		<shortdesc>
			Indicator as to whether a script is running on a Macintosh.
		</shortdesc>
		<description>
			Has the value true if it is; false otherwise.
		</description>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="isOSWindows" rwaccess="readonly">
    	<shortdesc>
			Indicator as to whether a script is running on Windows.
		</shortdesc>
		<description>
			Has the value true if it is; false otherwise.
		</description>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="statusDialog" rwaccess="readonly">
    	<shortdesc>
    		The <a href="#/StatusDialog">status</a> dialog object.
    	</shortdesc>
      <datatype>
        <type>StatusDialog</type>
      </datatype>
    </property>
    <property name="scriptLocation" rwaccess="readonly">
    	<shortdesc>
    		The absolute OS-specific path to the task.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <method name="getButton">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type button if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="executeBlocking">
    	<shortdesc>
    		Starts an external application with a variable number of command line arguments.
    	</shortdesc>
    	<description>
    		Returns when the external application is exited.
    	</description>
      <parameters>
        <parameter name="pathToApplication">
        	<shortdesc>
        		The absolute path to the application to be executed.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
        <parameter name="arguments">
        	<shortdesc>
        		Array of command line parameters as strings.
        	</shortdesc>
          <datatype>
            <type>String</type>
			<array/>
          </datatype>
        </parameter>
      </parameters>
    </method>
    <method name="getCheckBox">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type checkBox if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="getElement">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of any type if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="getFileList">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type fileList if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="getListBox">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type listBox if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="promptDialog">
    	<shortdesc>
    		Invokes a prompt dialog box that waits for the user to enter text.
    	</shortdesc>
    	<description>
    		Returns the entered text as a String or returns null if the user clicks the
			Cancel button.
    	</description>
    	<parameters>
	        <parameter name="title">
	        	<shortdesc>
	        		The title of the dialog window.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
	        <parameter name="label">
	        	<shortdesc>
	        		The text label for the dialog input box.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
	        <parameter name="password">
	        	<shortdesc>
	        		If set to true the text field obscures the user typing
	        	</shortdesc>
	          <datatype>
	            <type>bool</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>String</type>
        <array/>
      </datatype>
    </method>
    <method name="executeNonBlocking">
    	<shortdesc>
    		Starts an external application with a variable number of command line arguments.
    	</shortdesc>
    	<description>
    		Returns immediately when external application is launched.
    	</description>
      <parameters>
        <parameter name="pathToApplication">
        	<shortdesc>
        		The absolute path to the application to be executed.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
        <parameter name="arguments">
        	<shortdesc>
        		An array of command line parameters.
        	</shortdesc>
          <datatype>
            <type>String</type>
			<array/>
          </datatype>
        </parameter>
      </parameters>
    </method>
    <method name="getPasswordField">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type passwordField if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="getStaticText">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type staticText if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="getTextField">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type textField if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
    <method name="getComboBox">
    	<shortdesc>
    		Returns a <a href="#/Control">control</a> object of type comboBox if found; null if not found.
    	</shortdesc>
    	<parameters>
	        <parameter name="id">
	        	<shortdesc>
	        		Unique identifier for the control specified in the XML
					user interface description file.
	        	</shortdesc>
	          <datatype>
	            <type>String</type>
	          </datatype>
	        </parameter>
      </parameters>
      <datatype>
        <type>Control</type>
      </datatype>
    </method>
  </elements>
</classdef><classdef name="Project" dynamic="true">
	<shortdesc>
		Exposes project specific information.
	</shortdesc>
  <elements type="instance">
    <property name="selectedDevices" rwaccess="readonly">
    	<shortdesc>
    		An array with all of the project’s currently selected <a href="#/Device">devices</a>.
    	</shortdesc>
      <datatype>
        <type>Device</type>
        <array/>
      </datatype>
    </property>
    <property name="devices" rwaccess="readonly">
    	<shortdesc>
    		An array of all the project’s <a href="#/Device">devices</a>.
    	</shortdesc>
      <datatype>
        <type>Device</type>
        <array/>
      </datatype>
    </property>
    <property name="name" rwaccess="readonly">
    	<shortdesc>
    		The name of the project.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="path" rwaccess="readonly">
    	<shortdesc>
    		The project’s file system location.
    	</shortdesc>
    	<description>
    		Returns null if project was not saved.
    	</description>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="resources" rwaccess="readonly">
    	<shortdesc>
    		The file system path to all the resources available in the project.
    	</shortdesc>
      <datatype>
        <type>String</type>
        <array/>
      </datatype>
    </property>
    <property name="selectedResources" rwaccess="readonly">
    	<shortdesc>
    		The file system path to all the currently selected project resources.
    	</shortdesc>
      <datatype>
        <type>String</type>
        <array/>
      </datatype>
    </property>
    <method name="addFolder">
    	<shortdesc>
    		Adds the specified folder hierarchy to the resources section of the project.
    	</shortdesc>
    	<description>
    		Returns true if the folder was successfully added to the project, false otherwise.
    	</description>
      <parameters>
        <parameter name="path">
        	<shortdesc>
        		Folder hierarchy the resource will be stored under.
        	</shortdesc>
        	<description>
        		Folder names are separated by a slash (/).
        	</description>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
      <datatype>
        <type>bool</type>
      </datatype>
    </method>
	<method name="openResourcesDialog">
		<shortdesc>
			Invokes a resources dialog that allows the user to select resource
			files or browse the machine's file system.
		</shortdesc>
		<description>
			Returns an array of String paths to the files selected in the dialog.
		</description>
      <datatype>
        <type>String</type>
        <array/>
      </datatype>
    </method>
    <method name="getResourcesFromFolder">
    	<shortdesc>
    		Returns the location of the files found in the project under the path specified.
		</shortdesc>
      <parameters>
        <parameter name="path">
        	<shortdesc>
        		Folder hierarchy the resource will be stored under
        	</shortdesc>
        	<description>
        		Folder names are separated by a slash (/).
        	</description>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
      <datatype>
        <type>String</type>
        <array/>
      </datatype>
    </method>
    <method name="addResource">
    	<shortdesc>
    		Adds the specified file to the project. 
		</shortdesc>
		<description>
			If a project path is provided the resource will be
			stored under that folder hierarchy.<br />
			Returns true if the file was successfully added to the project, false otherwise.
		</description>
      <parameters>
        <parameter name="file">
        	<shortdesc>
        		Path to the file
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
        <parameter name="path">
        	<shortdesc>
        		Folder hierarchy the resource will be stored under.
        	</shortdesc>
        	<description>
        		Folder names are separated by a slash (/).
        	</description>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
      <datatype>
        <type>bool</type>
      </datatype>
    </method>
  </elements>
</classdef><classdef name="Control" dynamic="true">
	<shortdesc>
		Represents a distinct user interface widget used to display and retrieve
		information from the task’s dialog.
	</shortdesc>
  <elements type="instance">
    <property name="enabled">
    	<shortdesc>
    		Toggle that is True if the control accepts input; false otherwise.
    	</shortdesc>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="checked">
    	<shortdesc>
    		Toggle that is true if control is selected; false otherwise.
    	</shortdesc>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="label">
    	<shortdesc>
    		Display text that is not user editable.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="selectedItem">
    	<shortdesc>
    		Currently selected <a href="#/ListItem">item</a> in a single-selection list.
    	</shortdesc>
      <datatype>
        <type>ListItem</type>
        <array/>
      </datatype>
    </property>
    <property name="selectedItems" rwaccess="readonly">
    	<shortdesc>
    		Array of selected <a href="#/ListItem/">items</a> in a multi-select list.
    	</shortdesc>
      <datatype>
        <type>ListItem</type>
        <array/>
      </datatype>
    </property>
    <property name="list">
    	<shortdesc>
    		Array of choice <a href="#/ListItem">items</a> displayed in the control.
    	</shortdesc>
      <datatype>
        <type>ListItem</type>
        <array/>
      </datatype>
    </property>
    <property name="text">
    	<shortdesc>
    		Text displayed in the control’s field.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
  </elements>
</classdef><classdef name="ZIPFile" dynamic="true">
	<shortdesc>
		The ZIPFile class allows you to create archives from your task and add files to it.
	</shortdesc>
  <elements type="instance">
    <method name="addFile">
    	<shortdesc>
    		Adds a file to the Zip archive created.
    	</shortdesc>
    	<description>
    		Returns true if the file was successfully added to the archive; false otherwise.
    	</description>
      <parameters>
        <parameter name="filename">
        	<shortdesc>
        		The name to be used in the Zip archive for the file added.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
        <parameter name="path">
        	<shortdesc>
        		A String representing the location of the file to be added.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
        <parameter name="comment">
        	<shortdesc>
        		A text remark to be associated with the file being added.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
      <datatype>
        <type>bool</type>
      </datatype>
    </method>
    <method name="open">
    	<shortdesc>
    		Opens a Zip archive at the specified location.
    	</shortdesc>
    	<description>
    		If a file exists with the same name it is overwritten. If no archive
			exists, a new one is created.<br />
			Returns true if the archive was successfully opened, false otherwise.
		</description>
      <parameters>
        <parameter name="path">
        	<shortdesc>
        		States an OS specific path where the archive is to be saved.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
      <datatype>
        <type>bool</type>
      </datatype>
    </method>
    <method name="close">
    	<shortdesc>
    		Closes the Zip archive
    	</shortdesc>
    </method>
  </elements>
</classdef><classdef name="URLStream" dynamic="true">
	<shortdesc>
		The URLStream object provides basic functionality needed to connect from a Device Central task to a
		remote server over a TCP connection.
	</shortdesc>
  <elements type="instance">
    <property name="additionalHeader">
    	<shortdesc>
    		Additional header data.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="contentType">
    	<shortdesc>
    		Header field that indicates the type of data sent to the server.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="url">
    	<shortdesc>
    		A String representing a URL’s connection address.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="followRedirect">
    	<shortdesc>
    		Toggle indicating whether or not redirects should be followed.
    	</shortdesc>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="verifyPeer">
    	<shortdesc>
    		Toggle that when true verifies the authenticity of
			the peers certificate; does not verify if false.
		</shortdesc>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="proxyAuthentication">
    	<shortdesc>
    		Sets the authorization policy header of the proxy server
    	</shortdesc>
    	<description>
    		One of:
    		<li>none</li>
    		<li>basic</li>
    		<li>digest</li>
    		<li>gssnegotiate</li>
    		<li>ntlm</li>
    		<li>any</li>
    		<li>anysafe</li>
    	</description>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="authentication">
    	<shortdesc>
    		Sets the authorization policy header
    	</shortdesc>
    	<description>
    		One of:
    		<li>none</li>
    		<li>basic</li>
    		<li>digest</li>
    		<li>gssnegotiate</li>
    		<li>ntlm</li>
    		<li>any</li>
    		<li>anysafe</li>
    	</description>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="unrestrictedAuthorization">
    	<shortdesc>
    		Toggle indicating whether to continue to send authentication 
    		information (username and password) when being redirected, even in cases where the
			host name has changed.
		</shortdesc>
		<description>
			Only meaningful when <a href="#/URLStream/followRedirect">followRedirect</a> is set to true.
		</description>
      <datatype>
        <type>any</type>
      </datatype>
    </property>
    <property name="certificateFile">
    	<shortdesc>
    		Absolute location of the certification file.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="proxyName">
    	<shortdesc>
    		The URL address of the proxy server to connect to.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="isConnected" rwaccess="readonly">
    	<shortdesc>
    		Toggle indicating whether or not a connection is active.
    	</shortdesc>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="username">
    	<shortdesc>
    		The server username, if authentication is required.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="proxyUsername">
    	<shortdesc>
    		Proxy server username, if authentication is required.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="error" rwaccess="readonly">
    	<shortdesc>
    		Error code identifying a problem that has occurred.
    	</shortdesc>
      <datatype>
        <type>Number</type>
      </datatype>
    </property>
    <property name="certificateFormat">
    	<shortdesc>
    		Format of the certificate file.
    	</shortdesc>
    	<description>
    		One of:
    		<li>PEM (default)</li>
    		<li>DER</li>
    	</description>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="verifyHost">
    	<shortdesc>
    		Toggle indicating whether the library verifies that
			the server certificate is for the expected server
		</shortdesc>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
    <property name="proxyPassword">
    	<shortdesc>
    		Proxy server password, if authentication is required.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="password">
    	<shortdesc>
    		The server password, if authentication is required.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="port">
    	<shortdesc>
    		The port Number to connect to.
    	</shortdesc>
      <datatype>
        <type>Number</type>
      </datatype>
    </property>
    <property name="postData">
    	<shortdesc>
    		Data to post as expected by the external server.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="proxyPort">
    	<shortdesc>
    		The port Number of the proxy server to connect to.
    	</shortdesc>
      <datatype>
        <type>number</type>
      </datatype>
    </property>
	<property name="httpStatusCode">
		<shortdesc>
			HTTP status code returned by the server when performing a HTTP request.
		</shortdesc>
      <datatype>
        <type>number</type>
      </datatype>
    </property>
    <property name="result" rwaccess="readonly">
    	<shortdesc>
    		The body of the response.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <method name="sendFile">
    	<shortdesc>
    		Sends a file over the network to the specified URL.
    	</shortdesc>
      <parameters>
        <parameter name="file">
        	<shortdesc>
        		The full pathname of the file to be sent.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
    </method>
    <method name="cancel">
    	<shortdesc>
    		Cancels the current connection.
    	</shortdesc>
    </method>
    <method name="open">
    	<shortdesc>
    		When using the HTTP protocol, open() will make a GET request to the server. If <a href="#/URLStream/postData">postData</a> is available URLStream will POST the request.
		</shortdesc>
	</method>
  </elements>
</classdef><classdef name="ListItem" dynamic="true">
	<shortdesc>
		ListItem is a utility class that makes it possible to create objects with dynamic properties.
	</shortdesc>
  <elements type="instance">
    <property name="selected">
    	<shortdesc>
    		Indicator as to whether the item is selected within a fileList, listBox, or 
    		comboBox <a href="#/Control">control</a> object
    	</shortdesc>
      <datatype>
        <type>bool</type>
      </datatype>
    </property>
  </elements>
</classdef><classdef name="StatusDialog" dynamic="true">
	<shortdesc>
		User-interface component that informs the user of task execution progress and status.
	</shortdesc>
  <elements type="instance">
    <property name="text">
    	<shortdesc>
    		Status dialog progress text.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="title">
    	<shortdesc>
    		Status dialog title.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <method name="enableCancelButton">
    	<shortdesc>
    		Sets the enable state of the Cancel button in the status dialog.
    	</shortdesc>
      <parameters>
        <parameter name="status">
        	<shortdesc>
        		Set to true to enable the button, false to disable it.
        	</shortdesc>
          <datatype>
            <type>bool</type>
          </datatype>
        </parameter>
      </parameters>
    </method>
    <method name="end">
    	<shortdesc>
    		Closes the status dialog.
    	</shortdesc>
    </method>
    <method name="enableDoneButton">
    	<shortdesc>
    		Sets the enable state of the Done button in the status dialog.
    	</shortdesc>
      <parameters>
        <parameter name="status">
        	<shortdesc>
        		Set to true to enable the button, false to disable it.
        	</shortdesc>
          <datatype>
            <type>bool</type>
          </datatype>
        </parameter>
      </parameters>
    </method>
    <method name="start">
    	<shortdesc>
    		Invokes the status dialog.
    	</shortdesc>
      <parameters>
      <parameter name="cancelFunction">
      	<shortdesc>
      		Represents the function to be called when the user
			clicks the Cancel button in the dialog.
		</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
        <parameter name="doneFunction">
        	<shortdesc>
        		represents the function to be called when the user
				clicks the Done button in the dialog.
			</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
    </method>
    <method name="modalDuring">
    	<shortdesc>
    		Dispatches OS events while a modal status dialog is displayed.
    	</shortdesc>
    </method>
  </elements>
</classdef><classdef name="Device" dynamic="true">
	<shortdesc>
		Provides access to device profile information.
	</shortdesc>
  <elements type="instance">
    <property name="profilePath" rwaccess="readonly">
    	<shortdesc>
    		The operating system-specific path to the device’s XML profile file.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="profileID" rwaccess="readonly">
    	<shortdesc>
    		The Device Central device identifier.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
    <property name="profileXML" rwaccess="readonly">
    	<shortdesc>
    		The device’s XML profile content.
    	</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
	<property name="name" rwaccess="readonly">
		<shortdesc>
			Device name.
		</shortdesc>
      <datatype>
        <type>String</type>
      </datatype>
    </property>
  </elements>
</classdef>
<classdef name="Bluetooth" dynamic="true">
	<shortdesc>
			Manages interactions between local and remote Bluetooth devices.
		</shortdesc>
		<description>
			The Bluetooth class provides functionality that allows Device Central to connect from one Bluetooth
			enabled device to other Bluetooth enabled devices.
		</description>
  <elements type="class">
	<method name="isAvailable">
		<shortdesc>
			Determines if the local machine is Bluetooth-enabled.
		</shortdesc>
		<description>
			 Returns true if enabled; false otherwise.
		</description>
		<datatype>
			<type>bool</type>
		</datatype>
    </method>
    <method name="isSearching">
		<shortdesc>
			Determines if detection of Bluetooth devices is ongoing.
			Use this call to determine if the search is ongoing so that you provide a user interface
			indicator such as a progress bar or icon. Once the search is complete you can display the list of devices returned.
		</shortdesc>
		<description>
			Returns true if an inquiry is underway; false otherwise.
		</description>
		<datatype>
			<type>bool</type>
		</datatype>
    </method>
	<method name="searchDevices">
		<shortdesc>
			Searches for external Bluetooth devices.
		</shortdesc>
		<description>
			Returns true if the local machine is Bluetooth-enabled and therefore can initiate the search of devices.
		</description>
		<datatype>
			<type>bool</type>
		</datatype>
    </method>
	<method name="getDeviceCount">
		<shortdesc>Determines the number of Bluetooth-enabled devices that will be detected by a call to <a href="#/Bluetooth/class/searchDevices">searchDevices</a>.
		</shortdesc>
		<description>
			Returns the number of devices detected.<br />If you fail to search for
			devices before invoking this method, the count returned is 0.
		</description>
		<datatype>
			<type>number</type>
		</datatype>
    </method>
	<method name="getDeviceAddressByIndex">
		<shortdesc>
			Returns the MAC address of the device at the specified index.
		</shortdesc>
      <parameters>
        <parameter name="index">
        	<shortdesc>A zero-based index of the position of the device in the list of detected devices.</shortdesc>
        	<description>The value of index must be smaller than the Number of Bluetooth devices. If the value is out of 
				range, this call returns an empty string.
			</description>
          <datatype>
            <type>Number</type>
          </datatype>
        </parameter>
      </parameters>
	  <datatype>
			<type>String</type>
		</datatype>
    </method>
	<method name="getDeviceNameByIndex">
		<shortdesc>
			Obtains the name of the device at the specified index.
		</shortdesc>
		<description>
			Returns a string containing the device name if set.
		</description>
      <parameters>
        <parameter name="index">
        	<shortdesc>
        		A zero-based index representing the position of the device in the list of detected devices.
        	</shortdesc>
        	<description>
        		The value of index should be smaller than the device count detected. If the index is out of range this call
				returns an empty String.
        	</description>
          <datatype>
            <type>Number</type>
          </datatype>
        </parameter>
      </parameters>
	  <datatype>
			<type>String</type>
		</datatype>
    </method>
	<method name="getDeviceMajorClassByIndex">
		<shortdesc>
			Determines the type of the device at the specified index.
		</shortdesc>
		<description>
			Returns a Number representing the major class of the device selected.
			One of:
			<li><b>0</b> Miscellaneous</li>
			<li><b>1</b> Computer</li>
			<li><b>2</b> Phone</li>
			<li><b>3</b> LAN Access Point</li>
			<li><b>4</b> Audio</li>
			<li><b>5</b> Peripheral</li>
			<li><b>6</b> Imaging</li>
			<li><b>Other</b> Unclassified</li>
		</description>
      <parameters>
        <parameter name="index">
        	<shortdesc>
        		A zero-based index representing the position of the device in the list of detected
				devices. The value of index should be smaller than the device count detected. 
				If the index is out of range this call returns -1.
			</shortdesc>
          <datatype>
            <type>Number</type>
          </datatype>
        </parameter>
      </parameters>
	  <datatype>
			<type>String</type>
		</datatype>
    </method>
	<method name="sendFile">
		<shortdesc>
			Sends a file with the specified path to a the device with the specified address.
		</shortdesc>
		<description>
			Returns true if the send is successfully initiated; false otherwise.
		</description>
      <parameters>
        <parameter name="macAddress">
        	<shortdesc>
        		A device's unique 12 characters hardware Number in the notation XX:XX:XX:XX:XX:XX.
        	</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
		<parameter name="file">
			<shortdesc>
				The path of the file to send.
			</shortdesc>
          <datatype>
            <type>String</type>
          </datatype>
        </parameter>
      </parameters>
	  <datatype>
			<type>bool</type>
		</datatype>
    </method>
	<method name="isSending">
		<shortdesc>
			Determines if the Bluetooth library is in the process of sending a file.
		</shortdesc>
		<description>
			Returns true if the send is ongoing; false otherwise.
		</description>
		<datatype>
			<type>bool</type>
		</datatype>
    </method>
	<method name="cancel">
		<shortdesc>
			Cancels all activities. Halts any ongoing processes such those that are sending files or detecting external devices.
		</shortdesc>
	</method>
	<method name="getStatus">
		<shortdesc>Obtains the status code for last send activity.</shortdesc>
		<description>
			Returns a Number representing the status of last sending activity.<br />
			One of:
			<li><b>0</b> Send successfully completed.</li>
			<li><b>1</b> Could not connect to device.</li>
			<li><b>2</b> Send canceled by device.</li>
		</description>
		<datatype>
			<type>number</type>
		</datatype>
    </method>
  </elements>
</classdef>
	</package>
</dictionary>