Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CharacteristicTile-class.html 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="API docs for the CharacteristicTile class from the widgets library, for the Dart programming language.">
  8. <title>CharacteristicTile class - widgets library - Dart API</title>
  9. <!-- required because all the links are pseudo-absolute -->
  10. <base href="..">
  11. <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  12. <link rel="stylesheet" href="static-assets/github.css">
  13. <link rel="stylesheet" href="static-assets/styles.css">
  14. <link rel="icon" href="static-assets/favicon.png">
  15. </head>
  16. <body>
  17. <div id="overlay-under-drawer"></div>
  18. <header id="title">
  19. <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  20. <ol class="breadcrumbs gt-separated dark hidden-xs">
  21. <li><a href="index.html">touch_demonstrator</a></li>
  22. <li><a href="widgets/widgets-library.html">widgets</a></li>
  23. <li class="self-crumb">CharacteristicTile class</li>
  24. </ol>
  25. <div class="self-name">CharacteristicTile</div>
  26. <form class="search navbar-right" role="search">
  27. <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  28. </form>
  29. </header>
  30. <main>
  31. <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
  32. <h5>widgets library</h5>
  33. <ol>
  34. <li class="section-title"><a href="widgets/widgets-library.html#classes">Classes</a></li>
  35. <li><a href="widgets/CharacteristicTile-class.html">CharacteristicTile</a></li>
  36. <li><a href="widgets/DescriptorTile-class.html">DescriptorTile</a></li>
  37. <li><a href="widgets/ScanResultTile-class.html">ScanResultTile</a></li>
  38. <li><a href="widgets/ServiceTile-class.html">ServiceTile</a></li>
  39. </ol>
  40. </div>
  41. <div class="col-xs-12 col-sm-9 col-md-8 main-content">
  42. <h1>CharacteristicTile class </h1>
  43. <section class="desc markdown">
  44. <p>characteristic tile</p>
  45. </section>
  46. <section class="summary offset-anchor" id="constructors">
  47. <h2>Constructors</h2>
  48. <dl class="constructor-summary-list">
  49. <dt id="CharacteristicTile" class="callable">
  50. <span class="name"><a href="widgets/CharacteristicTile/CharacteristicTile.html">CharacteristicTile</a></span><span class="signature">({<span class="parameter" id="-param-key"><span class="type-annotation">Key</span> <span class="parameter-name">key</span>, </span> <span class="parameter" id="-param-characteristic"><span class="type-annotation">BluetoothCharacteristic</span> <span class="parameter-name">characteristic</span>, </span> <span class="parameter" id="-param-descriptorTiles"><span class="type-annotation">List<span class="signature">&lt;<wbr><span class="type-parameter"><a href="widgets/DescriptorTile-class.html">DescriptorTile</a></span>&gt;</span></span> <span class="parameter-name">descriptorTiles</span>, </span> <span class="parameter" id="-param-onNotificationPressed"><span class="type-annotation">VoidCallback</span> <span class="parameter-name">onNotificationPressed</span>, </span> <span class="parameter" id="-param-onlyCharacteristicToListen"><span>@required</span> <span class="type-annotation">String</span> <span class="parameter-name">onlyCharacteristicToListen</span></span> })</span>
  51. </dt>
  52. <dd>
  53. <div class="constructor-modifier features">const</div>
  54. </dd>
  55. </dl>
  56. </section>
  57. <section class="summary offset-anchor" id="instance-properties">
  58. <h2>Properties</h2>
  59. <dl class="properties">
  60. <dt id="characteristic" class="property">
  61. <span class="name"><a href="widgets/CharacteristicTile/characteristic.html">characteristic</a></span>
  62. <span class="signature">&#8594; BluetoothCharacteristic</span>
  63. </dt>
  64. <dd>
  65. <div class="features">final</div>
  66. </dd>
  67. <dt id="descriptorTiles" class="property">
  68. <span class="name"><a href="widgets/CharacteristicTile/descriptorTiles.html">descriptorTiles</a></span>
  69. <span class="signature">&#8594; List<span class="signature">&lt;<wbr><span class="type-parameter"><a href="widgets/DescriptorTile-class.html">DescriptorTile</a></span>&gt;</span></span>
  70. </dt>
  71. <dd>
  72. <div class="features">final</div>
  73. </dd>
  74. <dt id="onlyCharacteristicToListen" class="property">
  75. <span class="name"><a href="widgets/CharacteristicTile/onlyCharacteristicToListen.html">onlyCharacteristicToListen</a></span>
  76. <span class="signature">&#8594; String</span>
  77. </dt>
  78. <dd>
  79. <div class="features">final</div>
  80. </dd>
  81. <dt id="onNotificationPressed" class="property">
  82. <span class="name"><a href="widgets/CharacteristicTile/onNotificationPressed.html">onNotificationPressed</a></span>
  83. <span class="signature">&#8594; VoidCallback</span>
  84. </dt>
  85. <dd>
  86. <div class="features">final</div>
  87. </dd>
  88. <dt id="hashCode" class="property inherited">
  89. <span class="name"><a href="widgets/CharacteristicTile/hashCode.html">hashCode</a></span>
  90. <span class="signature">&#8594; int</span>
  91. </dt>
  92. <dd class="inherited">
  93. The hash code for this object. <a href="widgets/CharacteristicTile/hashCode.html">[...]</a>
  94. <div class="features">read-only, inherited</div>
  95. </dd>
  96. <dt id="key" class="property inherited">
  97. <span class="name"><a href="widgets/CharacteristicTile/key.html">key</a></span>
  98. <span class="signature">&#8594; Key</span>
  99. </dt>
  100. <dd class="inherited">
  101. Controls how one widget replaces another widget in the tree. <a href="widgets/CharacteristicTile/key.html">[...]</a>
  102. <div class="features">final, inherited</div>
  103. </dd>
  104. <dt id="runtimeType" class="property inherited">
  105. <span class="name"><a href="widgets/CharacteristicTile/runtimeType.html">runtimeType</a></span>
  106. <span class="signature">&#8594; Type</span>
  107. </dt>
  108. <dd class="inherited">
  109. A representation of the runtime type of the object.
  110. <div class="features">read-only, inherited</div>
  111. </dd>
  112. </dl>
  113. </section>
  114. <section class="summary offset-anchor" id="instance-methods">
  115. <h2>Methods</h2>
  116. <dl class="callables">
  117. <dt id="build" class="callable">
  118. <span class="name"><a href="widgets/CharacteristicTile/build.html">build</a></span><span class="signature">(<wbr><span class="parameter" id="build-param-context"><span class="type-annotation">BuildContext</span> <span class="parameter-name">context</span></span>)
  119. <span class="returntype parameter">&#8594; Widget</span>
  120. </span>
  121. </dt>
  122. <dd>
  123. Describes the part of the user interface represented by this widget. <a href="widgets/CharacteristicTile/build.html">[...]</a>
  124. </dd>
  125. <dt id="createElement" class="callable inherited">
  126. <span class="name"><a href="widgets/CharacteristicTile/createElement.html">createElement</a></span><span class="signature">(<wbr>)
  127. <span class="returntype parameter">&#8594; StatelessElement</span>
  128. </span>
  129. </dt>
  130. <dd class="inherited">
  131. Creates a <code>StatelessElement</code> to manage this widget's location in the tree. <a href="widgets/CharacteristicTile/createElement.html">[...]</a>
  132. <div class="features">inherited</div>
  133. </dd>
  134. <dt id="debugDescribeChildren" class="callable inherited">
  135. <span class="name"><a href="widgets/CharacteristicTile/debugDescribeChildren.html">debugDescribeChildren</a></span><span class="signature">(<wbr>)
  136. <span class="returntype parameter">&#8594; List<span class="signature">&lt;<wbr><span class="type-parameter">DiagnosticsNode</span>&gt;</span></span>
  137. </span>
  138. </dt>
  139. <dd class="inherited">
  140. Returns a list of <code>DiagnosticsNode</code> objects describing this node's
  141. children. <a href="widgets/CharacteristicTile/debugDescribeChildren.html">[...]</a>
  142. <div class="features">@protected, inherited</div>
  143. </dd>
  144. <dt id="debugFillProperties" class="callable inherited">
  145. <span class="name"><a href="widgets/CharacteristicTile/debugFillProperties.html">debugFillProperties</a></span><span class="signature">(<wbr><span class="parameter" id="debugFillProperties-param-properties"><span class="type-annotation">DiagnosticPropertiesBuilder</span> <span class="parameter-name">properties</span></span>)
  146. <span class="returntype parameter">&#8594; void</span>
  147. </span>
  148. </dt>
  149. <dd class="inherited">
  150. Add additional properties associated with the node. <a href="widgets/CharacteristicTile/debugFillProperties.html">[...]</a>
  151. <div class="features">inherited</div>
  152. </dd>
  153. <dt id="noSuchMethod" class="callable inherited">
  154. <span class="name"><a href="widgets/CharacteristicTile/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation">Invocation</span> <span class="parameter-name">invocation</span></span>)
  155. <span class="returntype parameter">&#8594; dynamic</span>
  156. </span>
  157. </dt>
  158. <dd class="inherited">
  159. Invoked when a non-existent method or property is accessed. <a href="widgets/CharacteristicTile/noSuchMethod.html">[...]</a>
  160. <div class="features">inherited</div>
  161. </dd>
  162. <dt id="toDiagnosticsNode" class="callable inherited">
  163. <span class="name"><a href="widgets/CharacteristicTile/toDiagnosticsNode.html">toDiagnosticsNode</a></span><span class="signature">(<wbr>{<span class="parameter" id="toDiagnosticsNode-param-name"><span class="type-annotation">String</span> <span class="parameter-name">name</span>, </span> <span class="parameter" id="toDiagnosticsNode-param-style"><span class="type-annotation">DiagnosticsTreeStyle</span> <span class="parameter-name">style</span></span> })
  164. <span class="returntype parameter">&#8594; DiagnosticsNode</span>
  165. </span>
  166. </dt>
  167. <dd class="inherited">
  168. Returns a debug representation of the object that is used by debugging
  169. tools and by <a href="widgets/CharacteristicTile/toStringDeep.html">toStringDeep</a>. <a href="widgets/CharacteristicTile/toDiagnosticsNode.html">[...]</a>
  170. <div class="features">inherited</div>
  171. </dd>
  172. <dt id="toString" class="callable inherited">
  173. <span class="name"><a href="widgets/CharacteristicTile/toString.html">toString</a></span><span class="signature">(<wbr>{<span class="parameter" id="toString-param-minLevel"><span class="type-annotation">DiagnosticLevel</span> <span class="parameter-name">minLevel</span>: <span class="default-value">DiagnosticLevel.debug</span></span> })
  174. <span class="returntype parameter">&#8594; String</span>
  175. </span>
  176. </dt>
  177. <dd class="inherited">
  178. Returns a string representation of this object.
  179. <div class="features">inherited</div>
  180. </dd>
  181. <dt id="toStringDeep" class="callable inherited">
  182. <span class="name"><a href="widgets/CharacteristicTile/toStringDeep.html">toStringDeep</a></span><span class="signature">(<wbr>{<span class="parameter" id="toStringDeep-param-prefixLineOne"><span class="type-annotation">String</span> <span class="parameter-name">prefixLineOne</span>: <span class="default-value">''</span>, </span> <span class="parameter" id="toStringDeep-param-prefixOtherLines"><span class="type-annotation">String</span> <span class="parameter-name">prefixOtherLines</span>, </span> <span class="parameter" id="toStringDeep-param-minLevel"><span class="type-annotation">DiagnosticLevel</span> <span class="parameter-name">minLevel</span>: <span class="default-value">DiagnosticLevel.debug</span></span> })
  183. <span class="returntype parameter">&#8594; String</span>
  184. </span>
  185. </dt>
  186. <dd class="inherited">
  187. Returns a string representation of this node and its descendants. <a href="widgets/CharacteristicTile/toStringDeep.html">[...]</a>
  188. <div class="features">inherited</div>
  189. </dd>
  190. <dt id="toStringShallow" class="callable inherited">
  191. <span class="name"><a href="widgets/CharacteristicTile/toStringShallow.html">toStringShallow</a></span><span class="signature">(<wbr>{<span class="parameter" id="toStringShallow-param-joiner"><span class="type-annotation">String</span> <span class="parameter-name">joiner</span>: <span class="default-value">', '</span>, </span> <span class="parameter" id="toStringShallow-param-minLevel"><span class="type-annotation">DiagnosticLevel</span> <span class="parameter-name">minLevel</span>: <span class="default-value">DiagnosticLevel.debug</span></span> })
  192. <span class="returntype parameter">&#8594; String</span>
  193. </span>
  194. </dt>
  195. <dd class="inherited">
  196. Returns a one-line detailed description of the object. <a href="widgets/CharacteristicTile/toStringShallow.html">[...]</a>
  197. <div class="features">inherited</div>
  198. </dd>
  199. <dt id="toStringShort" class="callable inherited">
  200. <span class="name"><a href="widgets/CharacteristicTile/toStringShort.html">toStringShort</a></span><span class="signature">(<wbr>)
  201. <span class="returntype parameter">&#8594; String</span>
  202. </span>
  203. </dt>
  204. <dd class="inherited">
  205. A short, textual description of this widget.
  206. <div class="features">inherited</div>
  207. </dd>
  208. </dl>
  209. </section>
  210. <section class="summary offset-anchor inherited" id="operators">
  211. <h2>Operators</h2>
  212. <dl class="callables">
  213. <dt id="operator ==" class="callable inherited">
  214. <span class="name"><a href="widgets/CharacteristicTile/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">dynamic</span> <span class="parameter-name">other</span></span>)
  215. <span class="returntype parameter">&#8594; bool</span>
  216. </span>
  217. </dt>
  218. <dd class="inherited">
  219. The equality operator. <a href="widgets/CharacteristicTile/operator_equals.html">[...]</a>
  220. <div class="features">inherited</div>
  221. </dd>
  222. </dl>
  223. </section>
  224. </div> <!-- /.main-content -->
  225. <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  226. <ol>
  227. <li class="section-title"><a href="widgets/CharacteristicTile-class.html#constructors">Constructors</a></li>
  228. <li><a href="widgets/CharacteristicTile/CharacteristicTile.html">CharacteristicTile</a></li>
  229. <li class="section-title">
  230. <a href="widgets/CharacteristicTile-class.html#instance-properties">Properties</a>
  231. </li>
  232. <li><a href="widgets/CharacteristicTile/characteristic.html">characteristic</a></li>
  233. <li><a href="widgets/CharacteristicTile/descriptorTiles.html">descriptorTiles</a></li>
  234. <li><a href="widgets/CharacteristicTile/onlyCharacteristicToListen.html">onlyCharacteristicToListen</a></li>
  235. <li><a href="widgets/CharacteristicTile/onNotificationPressed.html">onNotificationPressed</a></li>
  236. <li class="inherited"><a href="widgets/CharacteristicTile/hashCode.html">hashCode</a></li>
  237. <li class="inherited"><a href="widgets/CharacteristicTile/key.html">key</a></li>
  238. <li class="inherited"><a href="widgets/CharacteristicTile/runtimeType.html">runtimeType</a></li>
  239. <li class="section-title"><a href="widgets/CharacteristicTile-class.html#instance-methods">Methods</a></li>
  240. <li><a href="widgets/CharacteristicTile/build.html">build</a></li>
  241. <li class="inherited"><a href="widgets/CharacteristicTile/createElement.html">createElement</a></li>
  242. <li class="inherited"><a href="widgets/CharacteristicTile/debugDescribeChildren.html">debugDescribeChildren</a></li>
  243. <li class="inherited"><a href="widgets/CharacteristicTile/debugFillProperties.html">debugFillProperties</a></li>
  244. <li class="inherited"><a href="widgets/CharacteristicTile/noSuchMethod.html">noSuchMethod</a></li>
  245. <li class="inherited"><a href="widgets/CharacteristicTile/toDiagnosticsNode.html">toDiagnosticsNode</a></li>
  246. <li class="inherited"><a href="widgets/CharacteristicTile/toString.html">toString</a></li>
  247. <li class="inherited"><a href="widgets/CharacteristicTile/toStringDeep.html">toStringDeep</a></li>
  248. <li class="inherited"><a href="widgets/CharacteristicTile/toStringShallow.html">toStringShallow</a></li>
  249. <li class="inherited"><a href="widgets/CharacteristicTile/toStringShort.html">toStringShort</a></li>
  250. <li class="section-title inherited"><a href="widgets/CharacteristicTile-class.html#operators">Operators</a></li>
  251. <li class="inherited"><a href="widgets/CharacteristicTile/operator_equals.html">operator ==</a></li>
  252. </ol>
  253. </div><!--/.sidebar-offcanvas-->
  254. </main>
  255. <footer>
  256. <span class="no-break">
  257. touch_demonstrator 1.0.0+1
  258. </span>
  259. </footer>
  260. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  261. <script src="static-assets/typeahead.bundle.min.js"></script>
  262. <script src="static-assets/highlight.pack.js"></script>
  263. <script src="static-assets/URI.js"></script>
  264. <script src="static-assets/script.js"></script>
  265. </body>
  266. </html>