Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sdk_documentation:ios:coreapidevicelistener [2019/04/02 13:58] (current)
Line 1: Line 1:
 +<​html><​h2 class="​class-name"></​html>​Class coreapidevicelistener<​html></​h2></​html><​html><​div id="​top "></​html>​ <​html><​div id="​titlearea "></​html>​ <​html><​table cellspacing="​0"​ cellpadding="​0 "></​html>​
  
 +<​html><​tr ​ > <​html></​html>​
 +
 +<​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html></​table></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div id="​main-nav "></​html><​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div id="​side-nav"​ class="​ui-resizable side-nav-resizable "></​html>​ <​html><​div id="​nav-tree "></​html>​ <​html><​div id="​nav-tree-contents "></​html>​ <​html><​div id="​nav-sync"​ class="​sync "></​html><​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div id="​splitbar"​ > <​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div id="​doc-content "></​html>​ <​html><​div id="​MSearchSelectWindow"​ onmouseover="​return searchBox.OnSearchSelectShow()"​ onmouseout="​return searchBox.OnSearchSelectHide()"​ onkeydown="​return searchBox.OnSearchSelectKey(event) "></​html>​ <​html></​div></​html>​
 +
 +<​html><​div id="​MSearchResultsWindow "></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​contents "></​html>​
 +
 +Listener used for device events.<​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​details "></​html>​More...<​html></​a></​html>​
 +
 +#import <​Core.h>​
 +
 +<​html><​div class="​dynheader "></​html>​ Inheritance diagram for <​CoreAPIDeviceListener >: <​html></​div></​html>​
 +
 +<​html><​div class="​dyncontent "></​html>​ <​html><​div class="​center "></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​table class="​memberdecls "></​html>​
 +
 +<​html><​tr ​ class="​heading "></​html>​ <​html><​td ​ colspan="​2 "></​html><​html><​div class="​groupheader "></​html><​html><​a name="​pub-methods "></​html><​html></​a></​html>​ Instance Methods<​html></​div></​html> ​
 +
 +<​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​memitem:​a70060e9e6895493dd67ded8e4066b709 "></​html>​ <​html><​td ​ class="​memItemLeft"​ v>​(void)<​html></​td></​html>​
 +
 +<​html><​td ​ class="​memItemRight"​ v>- <​html><​a class="​el"​ href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a70060e9e6895493dd67ded8e4066b709 "></​html>​onDeviceError:​withDescription:<​html></​a></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​separator:​a70060e9e6895493dd67ded8e4066b709 "></​html>​ <​html><​td ​ class="​memSeparator"​ colspan="​2 "></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​memitem:​a59bbfbfcea77b143d5396746960f625b "></​html>​ <​html><​td ​ class="​memItemLeft"​ v>​(void)<​html></​td></​html>​
 +
 +<​html><​td ​ class="​memItemRight"​ v>- <​html><​a class="​el"​ href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a59bbfbfcea77b143d5396746960f625b "></​html>​onDeviceConnected:​withDeviceInfo:<​html></​a></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​separator:​a59bbfbfcea77b143d5396746960f625b "></​html>​ <​html><​td ​ class="​memSeparator"​ colspan="​2 "></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​memitem:​aa3d2cd6f2e813c9e8a1a09eb7be0b1cf "></​html>​ <​html><​td ​ class="​memItemLeft"​ v>​(void)<​html></​td></​html>​
 +
 +<​html><​td ​ class="​memItemRight"​ v>- <​html><​a class="​el"​ href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​aa3d2cd6f2e813c9e8a1a09eb7be0b1cf "></​html>​onDeviceDisconnected:<​html></​a></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​separator:​aa3d2cd6f2e813c9e8a1a09eb7be0b1cf "></​html>​ <​html><​td ​ class="​memSeparator"​ colspan="​2 "></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​memitem:​a38d21079430c3a990c37a674d3b24a2a "></​html>​ <​html><​td ​ class="​memItemLeft"​ v>​(void)<​html></​td></​html>​
 +
 +<​html><​td ​ class="​memItemRight"​ v>- <​html><​a class="​el"​ href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a38d21079430c3a990c37a674d3b24a2a "></​html>​onSelectApplication:<​html></​a></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​separator:​a38d21079430c3a990c37a674d3b24a2a "></​html>​ <​html><​td ​ class="​memSeparator"​ colspan="​2 "></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​memitem:​ae4f3fd6e772eeb567f0ebc8a1c355bae "></​html>​ <​html><​td ​ class="​memItemLeft"​ v>​(void)<​html></​td></​html>​
 +
 +<​html><​td ​ class="​memItemRight"​ v>- <​html><​a class="​el"​ href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​ae4f3fd6e772eeb567f0ebc8a1c355bae "></​html>​onSelectBTDevice:<​html></​a></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​separator:​ae4f3fd6e772eeb567f0ebc8a1c355bae "></​html>​ <​html><​td ​ class="​memSeparator"​ colspan="​2 "></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​memitem:​af0103095384eba800a7c766631e90751 "></​html>​ <​html><​td ​ class="​memItemLeft"​ v>​(void)<​html></​td></​html>​
 +
 +<​html><​td ​ class="​memItemRight"​ v>- <​html><​a class="​el"​ href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​af0103095384eba800a7c766631e90751 "></​html>​onDeviceConnectionError<​html></​a></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​separator:​af0103095384eba800a7c766631e90751 "></​html>​ <​html><​td ​ class="​memSeparator"​ colspan="​2 "></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​memitem:​a5c1aa440a820e141a87578dc068b0980 "></​html>​ <​html><​td ​ class="​memItemLeft"​ v>​(void)<​html></​td></​html>​
 +
 +<​html><​td ​ class="​memItemRight"​ v>- <​html><​a class="​el"​ href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a5c1aa440a820e141a87578dc068b0980 "></​html>​onDeviceInfoReturned:<​html></​a></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html><​tr ​ class="​separator:​a5c1aa440a820e141a87578dc068b0980 "></​html>​ <​html><​td ​ class="​memSeparator"​ colspan="​2 "></​html><​html></​td></​html>​
 +
 +<​html></​tr></​html>​
 +
 +<​html></​table></​html>​
 +
 +<​html><​a name="​details"​ id="​details "></​html><​html></​a></​html>​ <​html><​div class="​groupheader "></​html>​Detailed Description<​html></​div></​html> ​
 +
 +<​html><​div class="​textblock "></​html>​
 +
 +Listener used for device events.
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​groupheader "></​html>​Method Documentation<​html></​div></​html> ​
 +
 +<​html><​a id="​a59bbfbfcea77b143d5396746960f625b "></​html><​html></​a></​html>​ <​html><​div class="​memtitle "></​html><​html><​span class="​permalink "></​html><​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a59bbfbfcea77b143d5396746960f625b "></​html><​html></​a></​html><​html></​span></​html>​onDeviceConnected:​withDeviceInfo:​()<​html></​div></​html> ​
 +
 +<​html><​div class="​memitem "></​html>​ <​html><​div class="​memproto "></​html>​ <​html><​div class="​memname "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​memname "></​html>​- (void CoreAPIDeviceListener) onDeviceConnected:​ <​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(DeviceEnum)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​type//<​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramkey "></​html>​withDeviceInfo:<​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(NSDictionary *)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​deviceInfo//<​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html><​ul > <​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​memdoc "></​html>​
 +
 +Fires when device gets connected.
 +
 +<​html><​dl class="​params "></​html>​ <​html><​dt>​ Parameters <​html></​dt></​html>​
 +
 +<​html><​dd>​ <​html><​div class="​params "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramname "></​html>​type<​html></​li></​html>​
 +
 +<​html><​li class="​bracket">​represents connected device <​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​dd></​html>​
 +
 +<​html></​dl></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​a id="​af0103095384eba800a7c766631e90751 "></​html><​html></​a></​html>​ <​html><​div class="​memtitle "></​html><​html><​span class="​permalink "></​html><​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​af0103095384eba800a7c766631e90751 "></​html><​html></​a></​html><​html></​span></​html>​onDeviceConnectionError()<​html></​div></​html> ​
 +
 +<​html><​div class="​memitem "></​html>​ <​html><​div class="​memproto "></​html>​ <​html><​div class="​memname "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​memname "></​html>​- (void CoreAPIDeviceListener) onDeviceConnectionError <​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html><​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​memdoc "></​html>​
 +
 +This method is called when there is a problem connecting to a device.
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​a id="​aa3d2cd6f2e813c9e8a1a09eb7be0b1cf "></​html><​html></​a></​html>​ <​html><​div class="​memtitle "></​html><​html><​span class="​permalink "></​html><​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​aa3d2cd6f2e813c9e8a1a09eb7be0b1cf "></​html><​html></​a></​html><​html></​span></​html>​onDeviceDisconnected:​()<​html></​div></​html> ​
 +
 +<​html><​div class="​memitem "></​html>​ <​html><​div class="​memproto "></​html>​ <​html><​div class="​memname "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​memname "></​html>​- (void CoreAPIDeviceListener) onDeviceDisconnected:​ <​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(DeviceEnum)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​type//<​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​memdoc "></​html>​
 +
 +Fires when device gets disconnected.
 +
 +<​html><​dl class="​params "></​html>​ <​html><​dt>​ Parameters <​html></​dt></​html>​
 +
 +<​html><​dd>​ <​html><​div class="​params "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramname "></​html>​type<​html></​li></​html>​
 +
 +<​html><​li class="​bracket">​represents disconnected device <​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​dd></​html>​
 +
 +<​html></​dl></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​a id="​a70060e9e6895493dd67ded8e4066b709 "></​html><​html></​a></​html>​ <​html><​div class="​memtitle "></​html><​html><​span class="​permalink "></​html><​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a70060e9e6895493dd67ded8e4066b709 "></​html><​html></​a></​html><​html></​span></​html>​onDeviceError:​withDescription:​()<​html></​div></​html> ​
 +
 +<​html><​div class="​memitem "></​html>​ <​html><​div class="​memproto "></​html>​ <​html><​div class="​memname "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​memname "></​html>​- (void CoreAPIDeviceListener) onDeviceError:​ <​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(CoreDeviceError)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​deviceError//<​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramkey "></​html>​withDescription:<​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(NSString *)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​message//<​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html><​ul > <​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​memdoc "></​html>​
 +
 +This method is triggered when there is an error coming from the device.
 +
 +<​html><​dl class="​params "></​html>​ <​html><​dt>​ Parameters <​html></​dt></​html>​
 +
 +<​html><​dd>​ <​html><​div class="​params "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramname "></​html>​deviceError<​html></​li></​html>​
 +
 +<​html><​li class="​bracket">​contains typedef enum of an error.<​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​dd></​html>​
 +
 +<​html></​dl></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​a id="​a5c1aa440a820e141a87578dc068b0980 "></​html><​html></​a></​html>​ <​html><​div class="​memtitle "></​html><​html><​span class="​permalink "></​html><​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a5c1aa440a820e141a87578dc068b0980 "></​html><​html></​a></​html><​html></​span></​html>​onDeviceInfoReturned:​()<​html></​div></​html> ​
 +
 +<​html><​div class="​memitem "></​html>​ <​html><​div class="​memproto "></​html>​ <​html><​div class="​memname "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​memname "></​html>​- (void CoreAPIDeviceListener) onDeviceInfoReturned:​ <​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(NSDictionary *)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​deviceInfo//<​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​memdoc "></​html>​
 +
 +Information about the device.
 +
 +<​html><​dl class="​params "></​html>​ <​html><​dt>​ Parameters <​html></​dt></​html>​
 +
 +<​html><​dd>​ <​html><​div class="​params "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramname "></​html>​deviceInfo<​html></​li></​html>​
 +
 +<​html><​li class="​bracket">​returned <​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​dd></​html>​
 +
 +<​html></​dl></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​a id="​a38d21079430c3a990c37a674d3b24a2a "></​html><​html></​a></​html>​ <​html><​div class="​memtitle "></​html><​html><​span class="​permalink "></​html><​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​a38d21079430c3a990c37a674d3b24a2a "></​html><​html></​a></​html><​html></​span></​html>​onSelectApplication:​()<​html></​div></​html> ​
 +
 +<​html><​div class="​memitem "></​html>​ <​html><​div class="​memproto "></​html>​ <​html><​div class="​memname "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​memname "></​html>​- (void CoreAPIDeviceListener) onSelectApplication:​ <​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(NSArray *)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​applications//<​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​memdoc "></​html>​
 +
 +This method is called when the application selection is required.
 +
 +<​html><​dl class="​params "></​html>​ <​html><​dt>​ Parameters <​html></​dt></​html>​
 +
 +<​html><​dd>​ <​html><​div class="​params "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramname "></​html>​applications<​html></​li></​html>​
 +
 +<​html><​li class="​bracket">​represents the array of applications to choose from <​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​dd></​html>​
 +
 +<​html></​dl></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​a id="​ae4f3fd6e772eeb567f0ebc8a1c355bae "></​html><​html></​a></​html>​ <​html><​div class="​memtitle "></​html><​html><​span class="​permalink "></​html><​html><​a href="​doku.php?​id=sdk_documentation:​ios:​coreapidevicelistener#​ae4f3fd6e772eeb567f0ebc8a1c355bae "></​html><​html></​a></​html><​html></​span></​html>​onSelectBTDevice:​()<​html></​div></​html> ​
 +
 +<​html><​div class="​memitem "></​html>​ <​html><​div class="​memproto "></​html>​ <​html><​div class="​memname "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​memname "></​html>​- (void CoreAPIDeviceListener) onSelectBTDevice:​ <​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramtype "></​html>​(NSArray *)<​html></​li></​html>​
 +
 +<​html><​li ​ class="​paramname "></​html>//​devices//<​html></​li></​html>​
 +
 +<​html><​li class="​bracket"><​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html><​div class="​memdoc "></​html>​
 +
 +This method is called when the bluetooth device selection is required.
 +
 +<​html><​dl class="​params "></​html>​ <​html><​dt>​ Parameters <​html></​dt></​html>​
 +
 +<​html><​dd>​ <​html><​div class="​params "></​html>​
 +
 +<​html><​ul > <​html><​li ​ class="​paramname "></​html>​devices<​html></​li></​html>​
 +
 +<​html><​li class="​bracket">​represents the array of devices to choose from <​html></​li></​html>​
 +
 +<​html></​ul></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​dd></​html>​
 +
 +<​html></​dl></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​
 +
 +<​html></​div></​html>​