Commit 4050d574ca8828f2eed8888d137f6d78fcc70e67
1 parent
78610e3d
Added Framework and examples
Showing
431 changed files
with
175397 additions
and
40 deletions
Too many changes to show.
To preserve performance only 18 of 431 files are displayed.
Blinker/project.properties
BlinkerSchema/bundle.properties
... | ... | @@ -6,5 +6,5 @@ com.emmoco.framework.Properties.schemaDestinationDirectory = out |
6 | 6 | com.emmoco.framework.Properties.serverAPIToken = |
7 | 7 | com.emmoco.framework.Properties.align16 = 2 |
8 | 8 | com.emmoco.framework.Properties.align32 = 4 |
9 | -com.emmoco.framework.Properties.schemaFile = /Users/imanol/devel/emmoco/BlinkerSchema/schema.ems | |
9 | +com.emmoco.framework.Properties.schemaFile = /Users/imanol/devel/durex/BlinkerSchema/schema.ems | |
10 | 10 | com.emmoco.framework.Properties.toolVersion = 12.0.0.201211010336 | ... | ... |
BlinkerSchema/out/Blinker-TODO.c
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-05-09T14:33:35T ****/ | |
1 | +/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-05-09T15:40:37T ****/ | |
2 | 2 | /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ |
3 | 3 | |
4 | 4 | #include "Blinker.h" | ... | ... |
BlinkerSchema/out/Blinker.c
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-05-09T14:33:35T ****/ | |
1 | +/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-05-09T15:40:37T ****/ | |
2 | 2 | /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ |
3 | 3 | |
4 | 4 | #include "Em_Message.h" |
... | ... | @@ -19,7 +19,7 @@ typedef struct Em_App_Message { |
19 | 19 | |
20 | 20 | const uint8_t Em_App_hash[] = {194, 8, 191, 173, 237, 198, 193, 165, 88, 202, 74, 246, 70, 59, 102, 128, 12, 0, ((sizeof(struct{uint8_t f1; uint16_t f2;}) - sizeof(uint16_t)) << 4) | (sizeof(struct{uint8_t f1; uint32_t f2;}) - sizeof(uint32_t))}; |
21 | 21 | |
22 | -const uint8_t Em_App_build[] = {20, 116, 249, 224, 69, 1, 0, 0}; | |
22 | +const uint8_t Em_App_build[] = {191, 211, 54, 225, 69, 1, 0, 0}; | |
23 | 23 | |
24 | 24 | #define Em_App_APP_RESOURCE_COUNT 4 |
25 | 25 | #define Em_App_SYS_RESOURCE_COUNT 8 | ... | ... |
BlinkerSchema/out/Blinker.h
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-05-09T14:33:35T ****/ | |
1 | +/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-05-09T15:40:37T ****/ | |
2 | 2 | /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ |
3 | 3 | |
4 | 4 | #ifndef Blinker__H | ... | ... |
BlinkerSchema/out/Blinker.zip
No preview for this file type
BlinkerSchema/out/blinker.json
... | ... | @@ -134,16 +134,16 @@ |
134 | 134 | "name": "Blinker", |
135 | 135 | "$$md5": "73d98dc6eb4c17eea377d5969c0e49d2", |
136 | 136 | "build": [ |
137 | - 20, | |
138 | - 116, | |
139 | - 249, | |
140 | - 224, | |
137 | + 191, | |
138 | + 211, | |
139 | + 54, | |
140 | + 225, | |
141 | 141 | 69, |
142 | 142 | 1, |
143 | 143 | 0, |
144 | 144 | 0 |
145 | 145 | ], |
146 | - "date": "2014-05-09T14:33:35T", | |
146 | + "date": "2014-05-09T15:40:37T", | |
147 | 147 | "maxAlign": 2, |
148 | 148 | "maxSize": 20, |
149 | 149 | "version": "1.0.0" | ... | ... |
DUREX/bundle.properties
... | ... | @@ -6,5 +6,5 @@ com.emmoco.framework.Properties.schemaDestinationDirectory = out |
6 | 6 | com.emmoco.framework.Properties.serverAPIToken = |
7 | 7 | com.emmoco.framework.Properties.align16 = 2 |
8 | 8 | com.emmoco.framework.Properties.align32 = 4 |
9 | -com.emmoco.framework.Properties.schemaFile = /Users/imanol/devel/emmoco/DUREX/schema.ems | |
9 | +com.emmoco.framework.Properties.schemaFile = /Users/imanol/devel/durex/DUREX/schema.ems | |
10 | 10 | com.emmoco.framework.Properties.toolVersion = 12.0.0.201211010336 | ... | ... |
DUREX/out/DUREX-TODO.c
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-05-09T15:19:51T ****/ | |
1 | +/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-05-09T15:40:38T ****/ | |
2 | 2 | /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ |
3 | 3 | |
4 | 4 | #include "DUREX.h" | ... | ... |
DUREX/out/DUREX.c
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-05-09T15:19:51T ****/ | |
1 | +/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-05-09T15:40:38T ****/ | |
2 | 2 | /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ |
3 | 3 | |
4 | 4 | #include "Em_Message.h" |
... | ... | @@ -19,7 +19,7 @@ typedef struct Em_App_Message { |
19 | 19 | |
20 | 20 | const uint8_t Em_App_hash[] = {218, 74, 41, 73, 107, 164, 154, 232, 180, 185, 128, 44, 30, 56, 49, 63, 12, 0, ((sizeof(struct{uint8_t f1; uint16_t f2;}) - sizeof(uint16_t)) << 4) | (sizeof(struct{uint8_t f1; uint32_t f2;}) - sizeof(uint32_t))}; |
21 | 21 | |
22 | -const uint8_t Em_App_build[] = {221, 204, 35, 225, 69, 1, 0, 0}; | |
22 | +const uint8_t Em_App_build[] = {94, 212, 54, 225, 69, 1, 0, 0}; | |
23 | 23 | |
24 | 24 | #define Em_App_APP_RESOURCE_COUNT 6 |
25 | 25 | #define Em_App_SYS_RESOURCE_COUNT 8 | ... | ... |
DUREX/out/DUREX.h
1 | -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-05-09T15:19:51T ****/ | |
1 | +/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-05-09T15:40:38T ****/ | |
2 | 2 | /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ |
3 | 3 | |
4 | 4 | #ifndef DUREX__H | ... | ... |
DUREX/out/DUREX.zip
No preview for this file type
DUREX/out/durex.json
... | ... | @@ -147,16 +147,16 @@ |
147 | 147 | "name": "DUREX", |
148 | 148 | "$$md5": "275479fd2e9dfc29825d3d8004f33029", |
149 | 149 | "build": [ |
150 | - 221, | |
151 | - 204, | |
152 | - 35, | |
150 | + 94, | |
151 | + 212, | |
152 | + 54, | |
153 | 153 | 225, |
154 | 154 | 69, |
155 | 155 | 1, |
156 | 156 | 0, |
157 | 157 | 0 |
158 | 158 | ], |
159 | - "date": "2014-05-09T15:19:51T", | |
159 | + "date": "2014-05-09T15:40:38T", | |
160 | 160 | "maxAlign": 2, |
161 | 161 | "maxSize": 240, |
162 | 162 | "version": "1.0.0" | ... | ... |
EmmocoMobileFramework/Assets/system.json
0 โ 100644
1 | +{ | |
2 | + "resources": { | |
3 | + "$activeParameterGroup": { | |
4 | + "id": -10, | |
5 | + "align": 1, | |
6 | + "pack": 1, | |
7 | + "attributes": {"readwrite": true}, | |
8 | + "type": "E:system@emmoco.com.System/ParameterGroup", | |
9 | + "access": "rw", | |
10 | + "size": 1 | |
11 | + }, | |
12 | + "$schemaHash": { | |
13 | + "dim": 20, | |
14 | + "id": -6, | |
15 | + "align": 1, | |
16 | + "attributes": {"readonly": true}, | |
17 | + "type": "A20:u1", | |
18 | + "access": "r", | |
19 | + "size": 20 | |
20 | + }, | |
21 | + "$eapProtocolLevel": { | |
22 | + "id": -3, | |
23 | + "align": 2, | |
24 | + "attributes": {"readonly": true}, | |
25 | + "type": "u2", | |
26 | + "access": "r", | |
27 | + "size": 2 | |
28 | + }, | |
29 | + "$mcmProtocolLevel": { | |
30 | + "id": -2, | |
31 | + "align": 2, | |
32 | + "attributes": {"readonly": true}, | |
33 | + "type": "u2", | |
34 | + "access": "r", | |
35 | + "size": 2 | |
36 | + }, | |
37 | + "$mobileRssi": { | |
38 | + "id": -8, | |
39 | + "align": 1, | |
40 | + "attributes": {"readonly": true}, | |
41 | + "type": "i1", | |
42 | + "access": "r", | |
43 | + "size": 1 | |
44 | + }, | |
45 | + "$mcmDisconnect": { | |
46 | + "id": -9, | |
47 | + "align": 1, | |
48 | + "attributes": {"writeonly": true}, | |
49 | + "type": "u1", | |
50 | + "access": "w", | |
51 | + "size": 1 | |
52 | + }, | |
53 | + "$eapBuildDate": { | |
54 | + "dim": 8, | |
55 | + "id": -4, | |
56 | + "align": 1, | |
57 | + "attributes": {"readonly": true}, | |
58 | + "type": "A8:u1", | |
59 | + "access": "r", | |
60 | + "size": 8 | |
61 | + }, | |
62 | + "$resourceCount": { | |
63 | + "id": -7, | |
64 | + "align": 1, | |
65 | + "attributes": {"readonly": true}, | |
66 | + "type": "S:system@emmoco.com.System/ResourceCount", | |
67 | + "access": "r", | |
68 | + "size": 2 | |
69 | + }, | |
70 | + "$fileIndexReset": { | |
71 | + "id": -5, | |
72 | + "align": 2, | |
73 | + "attributes": {"writeonly": true}, | |
74 | + "type": "i2", | |
75 | + "access": "w", | |
76 | + "size": 2 | |
77 | + } | |
78 | + }, | |
79 | + "resourceNamesSys": [ | |
80 | + "$activeParameterGroup", | |
81 | + "$eapBuildDate", | |
82 | + "$eapProtocolLevel", | |
83 | + "$fileIndexReset", | |
84 | + "$mcmDisconnect", | |
85 | + "$mcmProtocolLevel", | |
86 | + "$mobileRssi", | |
87 | + "$resourceCount", | |
88 | + "$schemaHash" | |
89 | + ], | |
90 | + "manifest": { | |
91 | + "protocolLevel": 13, | |
92 | + "hash": [ | |
93 | + 108, | |
94 | + 31, | |
95 | + 53, | |
96 | + 92, | |
97 | + 46, | |
98 | + 47, | |
99 | + 48, | |
100 | + 241, | |
101 | + 201, | |
102 | + 5, | |
103 | + 236, | |
104 | + 253, | |
105 | + 10, | |
106 | + 254, | |
107 | + 240, | |
108 | + 187 | |
109 | + ], | |
110 | + "toolVersion": "13.3.0.201307022239", | |
111 | + "name": "System", | |
112 | + "$$md5": "6c1f355c2e2f30f1c905ecfd0afef0bb", | |
113 | + "build": [ | |
114 | + 99, | |
115 | + 80, | |
116 | + 140, | |
117 | + 161, | |
118 | + 63, | |
119 | + 1, | |
120 | + 0, | |
121 | + 0 | |
122 | + ], | |
123 | + "date": "2013-07-02T17:41:34", | |
124 | + "idFormat": "BINARY4", | |
125 | + "maxAlign": 2, | |
126 | + "maxSize": 20, | |
127 | + "version": "13.3.0" | |
128 | + }, | |
129 | + "resourceNames": [ | |
130 | + "$mcmProtocolLevel", | |
131 | + "$eapProtocolLevel", | |
132 | + "$eapBuildDate", | |
133 | + "$fileIndexReset", | |
134 | + "$schemaHash", | |
135 | + "$resourceCount", | |
136 | + "$mobileRssi", | |
137 | + "$mcmDisconnect", | |
138 | + "$activeParameterGroup" | |
139 | + ], | |
140 | + "attributes": { | |
141 | + "description": "System resources schema", | |
142 | + "version": "13.3.0" | |
143 | + }, | |
144 | + "types": { | |
145 | + "system@emmoco.com.System/ResourceCount": { | |
146 | + "packed": false, | |
147 | + "align": 1, | |
148 | + "type": "S:system@emmoco.com.System/ResourceCount", | |
149 | + "size": 2, | |
150 | + "fields": [ | |
151 | + { | |
152 | + "pad": 0, | |
153 | + "align": 1, | |
154 | + "name": "app", | |
155 | + "type": "u1", | |
156 | + "size": 1 | |
157 | + }, | |
158 | + { | |
159 | + "pad": 0, | |
160 | + "align": 1, | |
161 | + "name": "sys", | |
162 | + "type": "u1", | |
163 | + "size": 1 | |
164 | + } | |
165 | + ] | |
166 | + }, | |
167 | + "std:i2": { | |
168 | + "align": 2, | |
169 | + "size": 2 | |
170 | + }, | |
171 | + "std:i1": { | |
172 | + "align": 1, | |
173 | + "size": 1 | |
174 | + }, | |
175 | + "std:u1": { | |
176 | + "align": 1, | |
177 | + "size": 1 | |
178 | + }, | |
179 | + "system@emmoco.com.System/ParameterGroup": { | |
180 | + "values": [ | |
181 | + "GROUP_A", | |
182 | + "GROUP_B" | |
183 | + ], | |
184 | + "align": 1, | |
185 | + "pack": 1, | |
186 | + "type": "E:system@emmoco.com.System/ParameterGroup", | |
187 | + "size": 1 | |
188 | + }, | |
189 | + "std:u2": { | |
190 | + "align": 2, | |
191 | + "size": 2 | |
192 | + } | |
193 | + }, | |
194 | + "resourceNamesApp": [], | |
195 | + "imports": {"@emmoco.com.System": true} | |
196 | +} | |
0 | 197 | \ No newline at end of file | ... | ... |
EmmocoMobileFramework/Docs/Classes/ArrayValue.html
0 โ 100644
1 | +<!DOCTYPE HTML> | |
2 | +<html> | |
3 | + <head> | |
4 | + <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | |
5 | + <title>ArrayValue Class Reference</title> | |
6 | + <meta id="xcode-display" name="xcode-display" content="render"/> | |
7 | + <meta name="viewport" content="width=550" /> | |
8 | + <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | |
9 | + <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | |
10 | + <meta name="generator" content="appledoc 2.2 (build 961)" /> | |
11 | + </head> | |
12 | + <body> | |
13 | + | |
14 | + <div id="em-wrapper"> | |
15 | + <style> | |
16 | + #utility_bar | |
17 | + { | |
18 | + position: relative; | |
19 | + height: 35px; | |
20 | + /*background: #231f20 url(../images/bg_tagline.png) no-repeat right | |
21 | + center;*/ | |
22 | + background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; | |
23 | + color: #efefef; | |
24 | + overflow: hidden; | |
25 | + padding-left: 10px; | |
26 | + } | |
27 | + | |
28 | + #utility_bar p | |
29 | + { | |
30 | + margin-top: 9px; | |
31 | + margin-bottom: 0; | |
32 | + } | |
33 | + | |
34 | + #utility_bar a | |
35 | + { | |
36 | + color: #efefef; | |
37 | + margin-right: 15px; | |
38 | + padding: 2px; | |
39 | + } | |
40 | + | |
41 | + #utility_bar a:hover | |
42 | + { | |
43 | + color: #fff; | |
44 | + } | |
45 | + | |
46 | + #utility_bar a.selected | |
47 | + { | |
48 | + text-decoration: none; | |
49 | + background-color: #555; | |
50 | + } | |
51 | + </style> | |
52 | + <!-- begin utility bar --> | |
53 | + <div id="utility_bar"> | |
54 | + | |
55 | + <!-- user info / logout link --> | |
56 | + <p> | |
57 | + <a href="http://em-hub.com/">Em-Hub</a> | |
58 | + <a href="http://wiki.emmoco.com/">Wiki</a> | |
59 | + <a href="http://android.emmoco.com/">Android Docs</a> | |
60 | + <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> | |
61 | + <a href="http://support.emmoco.com/">Support</a> | |
62 | + </p> | |
63 | + | |
64 | + </div> | |
65 | + <!-- end utility bar --> | |
66 | + | |
67 | + <header id="top_header"> | |
68 | + <div id="library" class="hideInXcode"> | |
69 | + <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> | |
70 | + <a id="developerHome" href="../index.html">Emmoco, Inc.</a> | |
71 | + </div> | |
72 | + | |
73 | + <div id="title" role="banner"> | |
74 | + <h1 class="hideInXcode">ArrayValue Class Reference</h1> | |
75 | + </div> | |
76 | + <ul id="headerButtons" role="toolbar"> | |
77 | + <li id="toc_button"> | |
78 | + <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | |
79 | + </li> | |
80 | + <li id="jumpto_button" role="navigation"> | |
81 | + <select id="jumpTo"> | |
82 | + <option value="top">Jump To…</option> | |
83 | + | |
84 | + | |
85 | + | |
86 | + | |
87 | + <option value="tasks">Tasks</option> | |
88 | + | |
89 | + | |
90 | + | |
91 | + | |
92 | + | |
93 | + | |
94 | + | |
95 | + | |
96 | + | |
97 | + <option value="instance_methods">Instance Methods</option> | |
98 | + | |
99 | + <option value="//api/name/copyFromResource:"> - copyFromResource:</option> | |
100 | + | |
101 | + <option value="//api/name/doubleValue"> - doubleValue</option> | |
102 | + | |
103 | + <option value="//api/name/enumValues"> - enumValues</option> | |
104 | + | |
105 | + <option value="//api/name/fieldNames"> - fieldNames</option> | |
106 | + | |
107 | + <option value="//api/name/fileEof"> - fileEof</option> | |
108 | + | |
109 | + <option value="//api/name/fileFetch"> - fileFetch</option> | |
110 | + | |
111 | + <option value="//api/name/fileStore"> - fileStore</option> | |
112 | + | |
113 | + <option value="//api/name/getDataOfSize:fromBuffer:"> - getDataOfSize:fromBuffer:</option> | |
114 | + | |
115 | + <option value="//api/name/index:"> - index:</option> | |
116 | + | |
117 | + <option value="//api/name/initWithName:type:schema:"> - initWithName:type:schema:</option> | |
118 | + | |
119 | + <option value="//api/name/length"> - length</option> | |
120 | + | |
121 | + <option value="//api/name/longValue"> - longValue</option> | |
122 | + | |
123 | + <option value="//api/name/max"> - max</option> | |
124 | + | |
125 | + <option value="//api/name/min"> - min</option> | |
126 | + | |
127 | + <option value="//api/name/putData:"> - putData:</option> | |
128 | + | |
129 | + <option value="//api/name/reset"> - reset</option> | |
130 | + | |
131 | + <option value="//api/name/select:"> - select:</option> | |
132 | + | |
133 | + <option value="//api/name/setDoubleValue:"> - setDoubleValue:</option> | |
134 | + | |
135 | + <option value="//api/name/setLongValue:"> - setLongValue:</option> | |
136 | + | |
137 | + <option value="//api/name/setStringValue:"> - setStringValue:</option> | |
138 | + | |
139 | + <option value="//api/name/step"> - step</option> | |
140 | + | |
141 | + <option value="//api/name/stringValue"> - stringValue</option> | |
142 | + | |
143 | + | |
144 | + | |
145 | +</select> | |
146 | + </li> | |
147 | + </ul> | |
148 | + </header> | |
149 | + <nav id="tocContainer" class="isShowingTOC"> | |
150 | + <ul id="toc" role="tree"> | |
151 | + | |
152 | + | |
153 | + | |
154 | + | |
155 | +<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> | |
156 | + | |
157 | +</ul></li> | |
158 | + | |
159 | + | |
160 | + | |
161 | + | |
162 | + | |
163 | + | |
164 | + | |
165 | + | |
166 | + | |
167 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> | |
168 | + | |
169 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/copyFromResource:">copyFromResource:</a></span></li> | |
170 | + | |
171 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/doubleValue">doubleValue</a></span></li> | |
172 | + | |
173 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/enumValues">enumValues</a></span></li> | |
174 | + | |
175 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fieldNames">fieldNames</a></span></li> | |
176 | + | |
177 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileEof">fileEof</a></span></li> | |
178 | + | |
179 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileFetch">fileFetch</a></span></li> | |
180 | + | |
181 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileStore">fileStore</a></span></li> | |
182 | + | |
183 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getDataOfSize:fromBuffer:">getDataOfSize:fromBuffer:</a></span></li> | |
184 | + | |
185 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/index:">index:</a></span></li> | |
186 | + | |
187 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithName:type:schema:">initWithName:type:schema:</a></span></li> | |
188 | + | |
189 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/length">length</a></span></li> | |
190 | + | |
191 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/longValue">longValue</a></span></li> | |
192 | + | |
193 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/max">max</a></span></li> | |
194 | + | |
195 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/min">min</a></span></li> | |
196 | + | |
197 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/putData:">putData:</a></span></li> | |
198 | + | |
199 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/reset">reset</a></span></li> | |
200 | + | |
201 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/select:">select:</a></span></li> | |
202 | + | |
203 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setDoubleValue:">setDoubleValue:</a></span></li> | |
204 | + | |
205 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setLongValue:">setLongValue:</a></span></li> | |
206 | + | |
207 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setStringValue:">setStringValue:</a></span></li> | |
208 | + | |
209 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/step">step</a></span></li> | |
210 | + | |
211 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stringValue">stringValue</a></span></li> | |
212 | + | |
213 | +</ul></li> | |
214 | + | |
215 | + | |
216 | + </ul> | |
217 | + </nav> | |
218 | + <article> | |
219 | + <div id="contents" class="isShowingTOC" role="main"> | |
220 | + <a title="ArrayValue Class Reference" name="top"></a> | |
221 | + <div class="main-navigation navigation-top"> | |
222 | + <ul> | |
223 | + <li><a href="../index.html">Index</a></li> | |
224 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
225 | +</ul> | |
226 | + </div> | |
227 | + <div id="header"> | |
228 | + <div class="section-header"> | |
229 | + <h1 class="title title-header">ArrayValue Class Reference</h1> | |
230 | + </div> | |
231 | + </div> | |
232 | + <div id="container"> | |
233 | + | |
234 | + <div class="section section-specification"><table cellspacing="0"><tbody> | |
235 | + <tr> | |
236 | + <td class="specification-title">Inherits from</td> | |
237 | + <td class="specification-value"><a href="../Classes/EMResourceValue.html">EMResourceValue</a> : NSObject</td> | |
238 | +</tr><tr> | |
239 | + <td class="specification-title">Conforms to</td> | |
240 | + <td class="specification-value"><a href="../Protocols/EMResourceValueProtocol.html">EMResourceValueProtocol</a></td> | |
241 | +</tr><tr> | |
242 | + <td class="specification-title">Declared in</td> | |
243 | + <td class="specification-value">EMResourceValue.m</td> | |
244 | +</tr> | |
245 | + </tbody></table></div> | |
246 | + | |
247 | + | |
248 | + | |
249 | + | |
250 | + | |
251 | + | |
252 | + <div class="section section-tasks"> | |
253 | + <a title="Tasks" name="tasks"></a> | |
254 | + <h2 class="subtitle subtitle-tasks">Tasks</h2> | |
255 | + | |
256 | + | |
257 | + | |
258 | + | |
259 | + | |
260 | + <ul class="task-list"> | |
261 | + <li> | |
262 | + <span class="tooltip"> | |
263 | + <code><a href="#//api/name/initWithName:type:schema:">– initWithName:type:schema:</a></code> | |
264 | + | |
265 | + </span> | |
266 | + | |
267 | + | |
268 | +</li><li> | |
269 | + <span class="tooltip"> | |
270 | + <code><a href="#//api/name/putData:">– putData:</a></code> | |
271 | + | |
272 | + </span> | |
273 | + | |
274 | + | |
275 | +</li><li> | |
276 | + <span class="tooltip"> | |
277 | + <code><a href="#//api/name/getDataOfSize:fromBuffer:">– getDataOfSize:fromBuffer:</a></code> | |
278 | + | |
279 | + </span> | |
280 | + | |
281 | + | |
282 | +</li><li> | |
283 | + <span class="tooltip"> | |
284 | + <code><a href="#//api/name/setDoubleValue:">– setDoubleValue:</a></code> | |
285 | + | |
286 | + </span> | |
287 | + | |
288 | + | |
289 | +</li><li> | |
290 | + <span class="tooltip"> | |
291 | + <code><a href="#//api/name/setLongValue:">– setLongValue:</a></code> | |
292 | + | |
293 | + </span> | |
294 | + | |
295 | + | |
296 | +</li><li> | |
297 | + <span class="tooltip"> | |
298 | + <code><a href="#//api/name/setStringValue:">– setStringValue:</a></code> | |
299 | + | |
300 | + </span> | |
301 | + | |
302 | + | |
303 | +</li><li> | |
304 | + <span class="tooltip"> | |
305 | + <code><a href="#//api/name/doubleValue">– doubleValue</a></code> | |
306 | + | |
307 | + </span> | |
308 | + | |
309 | + | |
310 | +</li><li> | |
311 | + <span class="tooltip"> | |
312 | + <code><a href="#//api/name/longValue">– longValue</a></code> | |
313 | + | |
314 | + </span> | |
315 | + | |
316 | + | |
317 | +</li><li> | |
318 | + <span class="tooltip"> | |
319 | + <code><a href="#//api/name/stringValue">– stringValue</a></code> | |
320 | + | |
321 | + </span> | |
322 | + | |
323 | + | |
324 | +</li><li> | |
325 | + <span class="tooltip"> | |
326 | + <code><a href="#//api/name/copyFromResource:">– copyFromResource:</a></code> | |
327 | + | |
328 | + </span> | |
329 | + | |
330 | + | |
331 | +</li><li> | |
332 | + <span class="tooltip"> | |
333 | + <code><a href="#//api/name/reset">– reset</a></code> | |
334 | + | |
335 | + </span> | |
336 | + | |
337 | + | |
338 | +</li><li> | |
339 | + <span class="tooltip"> | |
340 | + <code><a href="#//api/name/min">– min</a></code> | |
341 | + | |
342 | + </span> | |
343 | + | |
344 | + | |
345 | +</li><li> | |
346 | + <span class="tooltip"> | |
347 | + <code><a href="#//api/name/max">– max</a></code> | |
348 | + | |
349 | + </span> | |
350 | + | |
351 | + | |
352 | +</li><li> | |
353 | + <span class="tooltip"> | |
354 | + <code><a href="#//api/name/step">– step</a></code> | |
355 | + | |
356 | + </span> | |
357 | + | |
358 | + | |
359 | +</li><li> | |
360 | + <span class="tooltip"> | |
361 | + <code><a href="#//api/name/length">– length</a></code> | |
362 | + | |
363 | + </span> | |
364 | + | |
365 | + | |
366 | +</li><li> | |
367 | + <span class="tooltip"> | |
368 | + <code><a href="#//api/name/enumValues">– enumValues</a></code> | |
369 | + | |
370 | + </span> | |
371 | + | |
372 | + | |
373 | +</li><li> | |
374 | + <span class="tooltip"> | |
375 | + <code><a href="#//api/name/fieldNames">– fieldNames</a></code> | |
376 | + | |
377 | + </span> | |
378 | + | |
379 | + | |
380 | +</li><li> | |
381 | + <span class="tooltip"> | |
382 | + <code><a href="#//api/name/index:">– index:</a></code> | |
383 | + | |
384 | + </span> | |
385 | + | |
386 | + | |
387 | +</li><li> | |
388 | + <span class="tooltip"> | |
389 | + <code><a href="#//api/name/select:">– select:</a></code> | |
390 | + | |
391 | + </span> | |
392 | + | |
393 | + | |
394 | +</li><li> | |
395 | + <span class="tooltip"> | |
396 | + <code><a href="#//api/name/fileEof">– fileEof</a></code> | |
397 | + | |
398 | + </span> | |
399 | + | |
400 | + | |
401 | +</li><li> | |
402 | + <span class="tooltip"> | |
403 | + <code><a href="#//api/name/fileFetch">– fileFetch</a></code> | |
404 | + | |
405 | + </span> | |
406 | + | |
407 | + | |
408 | +</li><li> | |
409 | + <span class="tooltip"> | |
410 | + <code><a href="#//api/name/fileStore">– fileStore</a></code> | |
411 | + | |
412 | + </span> | |
413 | + | |
414 | + | |
415 | +</li> | |
416 | + </ul> | |
417 | + | |
418 | + </div> | |
419 | + | |
420 | + | |
421 | + | |
422 | + | |
423 | + | |
424 | + | |
425 | + | |
426 | + | |
427 | + | |
428 | + <div class="section section-methods"> | |
429 | + <a title="Instance Methods" name="instance_methods"></a> | |
430 | + <h2 class="subtitle subtitle-methods">Instance Methods</h2> | |
431 | + | |
432 | + <div class="section-method"> | |
433 | + <a name="//api/name/copyFromResource:" title="copyFromResource:"></a> | |
434 | + <h3 class="subsubtitle method-title">copyFromResource:</h3> | |
435 | + | |
436 | + | |
437 | + | |
438 | + | |
439 | + <div class="method-subsection method-declaration"><code>- (void)copyFromResource:(EMResourceValue *)<em>source</em></code></div> | |
440 | + | |
441 | + | |
442 | + | |
443 | + | |
444 | + | |
445 | + | |
446 | + | |
447 | + | |
448 | + | |
449 | + | |
450 | + | |
451 | + | |
452 | + | |
453 | + | |
454 | + <div class="method-subsection declared-in-section"> | |
455 | + <h4 class="method-subtitle">Declared In</h4> | |
456 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
457 | + </div> | |
458 | + | |
459 | + | |
460 | +</div> | |
461 | + | |
462 | + <div class="section-method"> | |
463 | + <a name="//api/name/doubleValue" title="doubleValue"></a> | |
464 | + <h3 class="subsubtitle method-title">doubleValue</h3> | |
465 | + | |
466 | + | |
467 | + | |
468 | + | |
469 | + <div class="method-subsection method-declaration"><code>- (double)doubleValue</code></div> | |
470 | + | |
471 | + | |
472 | + | |
473 | + | |
474 | + | |
475 | + | |
476 | + | |
477 | + | |
478 | + | |
479 | + | |
480 | + | |
481 | + | |
482 | + | |
483 | + | |
484 | + <div class="method-subsection declared-in-section"> | |
485 | + <h4 class="method-subtitle">Declared In</h4> | |
486 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
487 | + </div> | |
488 | + | |
489 | + | |
490 | +</div> | |
491 | + | |
492 | + <div class="section-method"> | |
493 | + <a name="//api/name/enumValues" title="enumValues"></a> | |
494 | + <h3 class="subsubtitle method-title">enumValues</h3> | |
495 | + | |
496 | + | |
497 | + | |
498 | + | |
499 | + <div class="method-subsection method-declaration"><code>- (NSArray *)enumValues</code></div> | |
500 | + | |
501 | + | |
502 | + | |
503 | + | |
504 | + | |
505 | + | |
506 | + | |
507 | + | |
508 | + | |
509 | + | |
510 | + | |
511 | + | |
512 | + | |
513 | + | |
514 | + <div class="method-subsection declared-in-section"> | |
515 | + <h4 class="method-subtitle">Declared In</h4> | |
516 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
517 | + </div> | |
518 | + | |
519 | + | |
520 | +</div> | |
521 | + | |
522 | + <div class="section-method"> | |
523 | + <a name="//api/name/fieldNames" title="fieldNames"></a> | |
524 | + <h3 class="subsubtitle method-title">fieldNames</h3> | |
525 | + | |
526 | + | |
527 | + | |
528 | + | |
529 | + <div class="method-subsection method-declaration"><code>- (NSArray *)fieldNames</code></div> | |
530 | + | |
531 | + | |
532 | + | |
533 | + | |
534 | + | |
535 | + | |
536 | + | |
537 | + | |
538 | + | |
539 | + | |
540 | + | |
541 | + | |
542 | + | |
543 | + | |
544 | + <div class="method-subsection declared-in-section"> | |
545 | + <h4 class="method-subtitle">Declared In</h4> | |
546 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
547 | + </div> | |
548 | + | |
549 | + | |
550 | +</div> | |
551 | + | |
552 | + <div class="section-method"> | |
553 | + <a name="//api/name/fileEof" title="fileEof"></a> | |
554 | + <h3 class="subsubtitle method-title">fileEof</h3> | |
555 | + | |
556 | + | |
557 | + | |
558 | + | |
559 | + <div class="method-subsection method-declaration"><code>- (BOOL)fileEof</code></div> | |
560 | + | |
561 | + | |
562 | + | |
563 | + | |
564 | + | |
565 | + | |
566 | + | |
567 | + | |
568 | + | |
569 | + | |
570 | + | |
571 | + | |
572 | + | |
573 | + | |
574 | + <div class="method-subsection declared-in-section"> | |
575 | + <h4 class="method-subtitle">Declared In</h4> | |
576 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
577 | + </div> | |
578 | + | |
579 | + | |
580 | +</div> | |
581 | + | |
582 | + <div class="section-method"> | |
583 | + <a name="//api/name/fileFetch" title="fileFetch"></a> | |
584 | + <h3 class="subsubtitle method-title">fileFetch</h3> | |
585 | + | |
586 | + | |
587 | + | |
588 | + | |
589 | + <div class="method-subsection method-declaration"><code>- (void)fileFetch</code></div> | |
590 | + | |
591 | + | |
592 | + | |
593 | + | |
594 | + | |
595 | + | |
596 | + | |
597 | + | |
598 | + | |
599 | + | |
600 | + | |
601 | + | |
602 | + | |
603 | + | |
604 | + <div class="method-subsection declared-in-section"> | |
605 | + <h4 class="method-subtitle">Declared In</h4> | |
606 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
607 | + </div> | |
608 | + | |
609 | + | |
610 | +</div> | |
611 | + | |
612 | + <div class="section-method"> | |
613 | + <a name="//api/name/fileStore" title="fileStore"></a> | |
614 | + <h3 class="subsubtitle method-title">fileStore</h3> | |
615 | + | |
616 | + | |
617 | + | |
618 | + | |
619 | + <div class="method-subsection method-declaration"><code>- (void)fileStore</code></div> | |
620 | + | |
621 | + | |
622 | + | |
623 | + | |
624 | + | |
625 | + | |
626 | + | |
627 | + | |
628 | + | |
629 | + | |
630 | + | |
631 | + | |
632 | + | |
633 | + | |
634 | + <div class="method-subsection declared-in-section"> | |
635 | + <h4 class="method-subtitle">Declared In</h4> | |
636 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
637 | + </div> | |
638 | + | |
639 | + | |
640 | +</div> | |
641 | + | |
642 | + <div class="section-method"> | |
643 | + <a name="//api/name/getDataOfSize:fromBuffer:" title="getDataOfSize:fromBuffer:"></a> | |
644 | + <h3 class="subsubtitle method-title">getDataOfSize:fromBuffer:</h3> | |
645 | + | |
646 | + | |
647 | + | |
648 | + | |
649 | + <div class="method-subsection method-declaration"><code>- (void)getDataOfSize:(int)<em>size</em> fromBuffer:(EMSerialPacket *)<em>buffer</em></code></div> | |
650 | + | |
651 | + | |
652 | + | |
653 | + | |
654 | + | |
655 | + | |
656 | + | |
657 | + | |
658 | + | |
659 | + | |
660 | + | |
661 | + | |
662 | + | |
663 | + | |
664 | + <div class="method-subsection declared-in-section"> | |
665 | + <h4 class="method-subtitle">Declared In</h4> | |
666 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
667 | + </div> | |
668 | + | |
669 | + | |
670 | +</div> | |
671 | + | |
672 | + <div class="section-method"> | |
673 | + <a name="//api/name/index:" title="index:"></a> | |
674 | + <h3 class="subsubtitle method-title">index:</h3> | |
675 | + | |
676 | + | |
677 | + | |
678 | + | |
679 | + <div class="method-subsection method-declaration"><code>- (EMResourceValue *)index:(int)<em>index</em></code></div> | |
680 | + | |
681 | + | |
682 | + | |
683 | + | |
684 | + | |
685 | + | |
686 | + | |
687 | + | |
688 | + | |
689 | + | |
690 | + | |
691 | + | |
692 | + | |
693 | + | |
694 | + <div class="method-subsection declared-in-section"> | |
695 | + <h4 class="method-subtitle">Declared In</h4> | |
696 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
697 | + </div> | |
698 | + | |
699 | + | |
700 | +</div> | |
701 | + | |
702 | + <div class="section-method"> | |
703 | + <a name="//api/name/initWithName:type:schema:" title="initWithName:type:schema:"></a> | |
704 | + <h3 class="subsubtitle method-title">initWithName:type:schema:</h3> | |
705 | + | |
706 | + | |
707 | + | |
708 | + | |
709 | + <div class="method-subsection method-declaration"><code>- (id)initWithName:(NSString *)<em>theName</em> type:(NSString *)<em>theType</em> schema:(EMSchema *)<em>theResourceSchema</em></code></div> | |
710 | + | |
711 | + | |
712 | + | |
713 | + | |
714 | + | |
715 | + | |
716 | + | |
717 | + | |
718 | + | |
719 | + | |
720 | + | |
721 | + | |
722 | + | |
723 | + | |
724 | + <div class="method-subsection declared-in-section"> | |
725 | + <h4 class="method-subtitle">Declared In</h4> | |
726 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
727 | + </div> | |
728 | + | |
729 | + | |
730 | +</div> | |
731 | + | |
732 | + <div class="section-method"> | |
733 | + <a name="//api/name/length" title="length"></a> | |
734 | + <h3 class="subsubtitle method-title">length</h3> | |
735 | + | |
736 | + | |
737 | + | |
738 | + | |
739 | + <div class="method-subsection method-declaration"><code>- (long)length</code></div> | |
740 | + | |
741 | + | |
742 | + | |
743 | + | |
744 | + | |
745 | + | |
746 | + | |
747 | + | |
748 | + | |
749 | + | |
750 | + | |
751 | + | |
752 | + | |
753 | + | |
754 | + <div class="method-subsection declared-in-section"> | |
755 | + <h4 class="method-subtitle">Declared In</h4> | |
756 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
757 | + </div> | |
758 | + | |
759 | + | |
760 | +</div> | |
761 | + | |
762 | + <div class="section-method"> | |
763 | + <a name="//api/name/longValue" title="longValue"></a> | |
764 | + <h3 class="subsubtitle method-title">longValue</h3> | |
765 | + | |
766 | + | |
767 | + | |
768 | + | |
769 | + <div class="method-subsection method-declaration"><code>- (long long)longValue</code></div> | |
770 | + | |
771 | + | |
772 | + | |
773 | + | |
774 | + | |
775 | + | |
776 | + | |
777 | + | |
778 | + | |
779 | + | |
780 | + | |
781 | + | |
782 | + | |
783 | + | |
784 | + <div class="method-subsection declared-in-section"> | |
785 | + <h4 class="method-subtitle">Declared In</h4> | |
786 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
787 | + </div> | |
788 | + | |
789 | + | |
790 | +</div> | |
791 | + | |
792 | + <div class="section-method"> | |
793 | + <a name="//api/name/max" title="max"></a> | |
794 | + <h3 class="subsubtitle method-title">max</h3> | |
795 | + | |
796 | + | |
797 | + | |
798 | + | |
799 | + <div class="method-subsection method-declaration"><code>- (double)max</code></div> | |
800 | + | |
801 | + | |
802 | + | |
803 | + | |
804 | + | |
805 | + | |
806 | + | |
807 | + | |
808 | + | |
809 | + | |
810 | + | |
811 | + | |
812 | + | |
813 | + | |
814 | + <div class="method-subsection declared-in-section"> | |
815 | + <h4 class="method-subtitle">Declared In</h4> | |
816 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
817 | + </div> | |
818 | + | |
819 | + | |
820 | +</div> | |
821 | + | |
822 | + <div class="section-method"> | |
823 | + <a name="//api/name/min" title="min"></a> | |
824 | + <h3 class="subsubtitle method-title">min</h3> | |
825 | + | |
826 | + | |
827 | + | |
828 | + | |
829 | + <div class="method-subsection method-declaration"><code>- (double)min</code></div> | |
830 | + | |
831 | + | |
832 | + | |
833 | + | |
834 | + | |
835 | + | |
836 | + | |
837 | + | |
838 | + | |
839 | + | |
840 | + | |
841 | + | |
842 | + | |
843 | + | |
844 | + <div class="method-subsection declared-in-section"> | |
845 | + <h4 class="method-subtitle">Declared In</h4> | |
846 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
847 | + </div> | |
848 | + | |
849 | + | |
850 | +</div> | |
851 | + | |
852 | + <div class="section-method"> | |
853 | + <a name="//api/name/putData:" title="putData:"></a> | |
854 | + <h3 class="subsubtitle method-title">putData:</h3> | |
855 | + | |
856 | + | |
857 | + | |
858 | + | |
859 | + <div class="method-subsection method-declaration"><code>- (void)putData:(EMSerialPacket *)<em>buffer</em></code></div> | |
860 | + | |
861 | + | |
862 | + | |
863 | + | |
864 | + | |
865 | + | |
866 | + | |
867 | + | |
868 | + | |
869 | + | |
870 | + | |
871 | + | |
872 | + | |
873 | + | |
874 | + <div class="method-subsection declared-in-section"> | |
875 | + <h4 class="method-subtitle">Declared In</h4> | |
876 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
877 | + </div> | |
878 | + | |
879 | + | |
880 | +</div> | |
881 | + | |
882 | + <div class="section-method"> | |
883 | + <a name="//api/name/reset" title="reset"></a> | |
884 | + <h3 class="subsubtitle method-title">reset</h3> | |
885 | + | |
886 | + | |
887 | + | |
888 | + | |
889 | + <div class="method-subsection method-declaration"><code>- (void)reset</code></div> | |
890 | + | |
891 | + | |
892 | + | |
893 | + | |
894 | + | |
895 | + | |
896 | + | |
897 | + | |
898 | + | |
899 | + | |
900 | + | |
901 | + | |
902 | + | |
903 | + | |
904 | + <div class="method-subsection declared-in-section"> | |
905 | + <h4 class="method-subtitle">Declared In</h4> | |
906 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
907 | + </div> | |
908 | + | |
909 | + | |
910 | +</div> | |
911 | + | |
912 | + <div class="section-method"> | |
913 | + <a name="//api/name/select:" title="select:"></a> | |
914 | + <h3 class="subsubtitle method-title">select:</h3> | |
915 | + | |
916 | + | |
917 | + | |
918 | + | |
919 | + <div class="method-subsection method-declaration"><code>- (EMResourceValue *)select:(NSString *)<em>fieldName</em></code></div> | |
920 | + | |
921 | + | |
922 | + | |
923 | + | |
924 | + | |
925 | + | |
926 | + | |
927 | + | |
928 | + | |
929 | + | |
930 | + | |
931 | + | |
932 | + | |
933 | + | |
934 | + <div class="method-subsection declared-in-section"> | |
935 | + <h4 class="method-subtitle">Declared In</h4> | |
936 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
937 | + </div> | |
938 | + | |
939 | + | |
940 | +</div> | |
941 | + | |
942 | + <div class="section-method"> | |
943 | + <a name="//api/name/setDoubleValue:" title="setDoubleValue:"></a> | |
944 | + <h3 class="subsubtitle method-title">setDoubleValue:</h3> | |
945 | + | |
946 | + | |
947 | + | |
948 | + | |
949 | + <div class="method-subsection method-declaration"><code>- (void)setDoubleValue:(double)<em>value</em></code></div> | |
950 | + | |
951 | + | |
952 | + | |
953 | + | |
954 | + | |
955 | + | |
956 | + | |
957 | + | |
958 | + | |
959 | + | |
960 | + | |
961 | + | |
962 | + | |
963 | + | |
964 | + <div class="method-subsection declared-in-section"> | |
965 | + <h4 class="method-subtitle">Declared In</h4> | |
966 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
967 | + </div> | |
968 | + | |
969 | + | |
970 | +</div> | |
971 | + | |
972 | + <div class="section-method"> | |
973 | + <a name="//api/name/setLongValue:" title="setLongValue:"></a> | |
974 | + <h3 class="subsubtitle method-title">setLongValue:</h3> | |
975 | + | |
976 | + | |
977 | + | |
978 | + | |
979 | + <div class="method-subsection method-declaration"><code>- (void)setLongValue:(long long)<em>value</em></code></div> | |
980 | + | |
981 | + | |
982 | + | |
983 | + | |
984 | + | |
985 | + | |
986 | + | |
987 | + | |
988 | + | |
989 | + | |
990 | + | |
991 | + | |
992 | + | |
993 | + | |
994 | + <div class="method-subsection declared-in-section"> | |
995 | + <h4 class="method-subtitle">Declared In</h4> | |
996 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
997 | + </div> | |
998 | + | |
999 | + | |
1000 | +</div> | |
1001 | + | |
1002 | + <div class="section-method"> | |
1003 | + <a name="//api/name/setStringValue:" title="setStringValue:"></a> | |
1004 | + <h3 class="subsubtitle method-title">setStringValue:</h3> | |
1005 | + | |
1006 | + | |
1007 | + | |
1008 | + | |
1009 | + <div class="method-subsection method-declaration"><code>- (void)setStringValue:(NSString *)<em>value</em></code></div> | |
1010 | + | |
1011 | + | |
1012 | + | |
1013 | + | |
1014 | + | |
1015 | + | |
1016 | + | |
1017 | + | |
1018 | + | |
1019 | + | |
1020 | + | |
1021 | + | |
1022 | + | |
1023 | + | |
1024 | + <div class="method-subsection declared-in-section"> | |
1025 | + <h4 class="method-subtitle">Declared In</h4> | |
1026 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
1027 | + </div> | |
1028 | + | |
1029 | + | |
1030 | +</div> | |
1031 | + | |
1032 | + <div class="section-method"> | |
1033 | + <a name="//api/name/step" title="step"></a> | |
1034 | + <h3 class="subsubtitle method-title">step</h3> | |
1035 | + | |
1036 | + | |
1037 | + | |
1038 | + | |
1039 | + <div class="method-subsection method-declaration"><code>- (double)step</code></div> | |
1040 | + | |
1041 | + | |
1042 | + | |
1043 | + | |
1044 | + | |
1045 | + | |
1046 | + | |
1047 | + | |
1048 | + | |
1049 | + | |
1050 | + | |
1051 | + | |
1052 | + | |
1053 | + | |
1054 | + <div class="method-subsection declared-in-section"> | |
1055 | + <h4 class="method-subtitle">Declared In</h4> | |
1056 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
1057 | + </div> | |
1058 | + | |
1059 | + | |
1060 | +</div> | |
1061 | + | |
1062 | + <div class="section-method"> | |
1063 | + <a name="//api/name/stringValue" title="stringValue"></a> | |
1064 | + <h3 class="subsubtitle method-title">stringValue</h3> | |
1065 | + | |
1066 | + | |
1067 | + | |
1068 | + | |
1069 | + <div class="method-subsection method-declaration"><code>- (NSString *)stringValue</code></div> | |
1070 | + | |
1071 | + | |
1072 | + | |
1073 | + | |
1074 | + | |
1075 | + | |
1076 | + | |
1077 | + | |
1078 | + | |
1079 | + | |
1080 | + | |
1081 | + | |
1082 | + | |
1083 | + | |
1084 | + <div class="method-subsection declared-in-section"> | |
1085 | + <h4 class="method-subtitle">Declared In</h4> | |
1086 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | |
1087 | + </div> | |
1088 | + | |
1089 | + | |
1090 | +</div> | |
1091 | + | |
1092 | + </div> | |
1093 | + | |
1094 | + | |
1095 | + </div> | |
1096 | + <div class="main-navigation navigation-bottom"> | |
1097 | + <ul> | |
1098 | + <li><a href="../index.html">Index</a></li> | |
1099 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
1100 | +</ul> | |
1101 | + </div> | |
1102 | + <div id="footer"> | |
1103 | + <hr /> | |
1104 | + | |
1105 | + <style> | |
1106 | + #em-footer | |
1107 | + { | |
1108 | + background-color: #fff; | |
1109 | + height: 100px; | |
1110 | + font-size: 90%; | |
1111 | + overflow: hidden; | |
1112 | + } | |
1113 | + | |
1114 | + #em-footer_logo_container | |
1115 | + { | |
1116 | + position: relative; | |
1117 | + background-color: #d2d2d2; | |
1118 | + height: 70px; | |
1119 | + margin-bottom: 3px; | |
1120 | + } | |
1121 | + | |
1122 | + #em-footer_logo_container a | |
1123 | + { | |
1124 | + position: absolute; | |
1125 | + right: 7px; | |
1126 | + top: 7px; | |
1127 | + } | |
1128 | + | |
1129 | + </style> | |
1130 | + | |
1131 | + <!-- begin em-footer --> | |
1132 | + <div id="em-footer"> | |
1133 | + <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img | |
1134 | + src="http://www.emmoco.com/images/logo_emhub_footer.png" | |
1135 | + alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> | |
1136 | + </div> | |
1137 | + | |
1138 | + <div class="footer-copyright"> | |
1139 | + <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-21)</span><br /> | |
1140 | + | |
1141 | + <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> | |
1142 | + | |
1143 | + </div> | |
1144 | + </div> | |
1145 | + </div> | |
1146 | + </article> | |
1147 | + <script type="text/javascript"> | |
1148 | + function jumpToChange() | |
1149 | + { | |
1150 | + window.location.hash = this.options[this.selectedIndex].value; | |
1151 | + } | |
1152 | + | |
1153 | + function toggleTOC() | |
1154 | + { | |
1155 | + var contents = document.getElementById('contents'); | |
1156 | + var tocContainer = document.getElementById('tocContainer'); | |
1157 | + | |
1158 | + if (this.getAttribute('class') == 'open') | |
1159 | + { | |
1160 | + this.setAttribute('class', ''); | |
1161 | + contents.setAttribute('class', ''); | |
1162 | + tocContainer.setAttribute('class', ''); | |
1163 | + | |
1164 | + window.name = "hideTOC"; | |
1165 | + } | |
1166 | + else | |
1167 | + { | |
1168 | + this.setAttribute('class', 'open'); | |
1169 | + contents.setAttribute('class', 'isShowingTOC'); | |
1170 | + tocContainer.setAttribute('class', 'isShowingTOC'); | |
1171 | + | |
1172 | + window.name = ""; | |
1173 | + } | |
1174 | + return false; | |
1175 | + } | |
1176 | + | |
1177 | + function toggleTOCEntryChildren(e) | |
1178 | + { | |
1179 | + e.stopPropagation(); | |
1180 | + var currentClass = this.getAttribute('class'); | |
1181 | + if (currentClass == 'children') { | |
1182 | + this.setAttribute('class', 'children open'); | |
1183 | + } | |
1184 | + else if (currentClass == 'children open') { | |
1185 | + this.setAttribute('class', 'children'); | |
1186 | + } | |
1187 | + return false; | |
1188 | + } | |
1189 | + | |
1190 | + function tocEntryClick(e) | |
1191 | + { | |
1192 | + e.stopPropagation(); | |
1193 | + return true; | |
1194 | + } | |
1195 | + | |
1196 | + function init() | |
1197 | + { | |
1198 | + var selectElement = document.getElementById('jumpTo'); | |
1199 | + selectElement.addEventListener('change', jumpToChange, false); | |
1200 | + | |
1201 | + var tocButton = document.getElementById('table_of_contents'); | |
1202 | + tocButton.addEventListener('click', toggleTOC, false); | |
1203 | + | |
1204 | + var taskTreeItem = document.getElementById('task_treeitem'); | |
1205 | + if (taskTreeItem.getElementsByTagName('li').length > 0) | |
1206 | + { | |
1207 | + taskTreeItem.setAttribute('class', 'children'); | |
1208 | + taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | |
1209 | + } | |
1210 | + | |
1211 | + var tocList = document.getElementById('toc'); | |
1212 | + | |
1213 | + var tocEntries = tocList.getElementsByTagName('li'); | |
1214 | + for (var i = 0; i < tocEntries.length; i++) { | |
1215 | + tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | |
1216 | + } | |
1217 | + | |
1218 | + var tocLinks = tocList.getElementsByTagName('a'); | |
1219 | + for (var i = 0; i < tocLinks.length; i++) { | |
1220 | + tocLinks[i].addEventListener('click', tocEntryClick, false); | |
1221 | + } | |
1222 | + | |
1223 | + if (window.name == "hideTOC") { | |
1224 | + toggleTOC.call(tocButton); | |
1225 | + } | |
1226 | + } | |
1227 | + | |
1228 | + window.onload = init; | |
1229 | + </script> | |
1230 | + </body> | |
1231 | +</html> | |
0 | 1232 | \ No newline at end of file | ... | ... |
EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType.html
0 โ 100644
1 | +<!DOCTYPE HTML> | |
2 | +<html> | |
3 | + <head> | |
4 | + <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | |
5 | + <title>EMBluetoothLowEnergyConnectionType Class Reference</title> | |
6 | + <meta id="xcode-display" name="xcode-display" content="render"/> | |
7 | + <meta name="viewport" content="width=550" /> | |
8 | + <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | |
9 | + <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | |
10 | + <meta name="generator" content="appledoc 2.2 (build 961)" /> | |
11 | + </head> | |
12 | + <body> | |
13 | + | |
14 | + <div id="em-wrapper"> | |
15 | + <style> | |
16 | + #utility_bar | |
17 | + { | |
18 | + position: relative; | |
19 | + height: 35px; | |
20 | + /*background: #231f20 url(../images/bg_tagline.png) no-repeat right | |
21 | + center;*/ | |
22 | + background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; | |
23 | + color: #efefef; | |
24 | + overflow: hidden; | |
25 | + padding-left: 10px; | |
26 | + } | |
27 | + | |
28 | + #utility_bar p | |
29 | + { | |
30 | + margin-top: 9px; | |
31 | + margin-bottom: 0; | |
32 | + } | |
33 | + | |
34 | + #utility_bar a | |
35 | + { | |
36 | + color: #efefef; | |
37 | + margin-right: 15px; | |
38 | + padding: 2px; | |
39 | + } | |
40 | + | |
41 | + #utility_bar a:hover | |
42 | + { | |
43 | + color: #fff; | |
44 | + } | |
45 | + | |
46 | + #utility_bar a.selected | |
47 | + { | |
48 | + text-decoration: none; | |
49 | + background-color: #555; | |
50 | + } | |
51 | + </style> | |
52 | + <!-- begin utility bar --> | |
53 | + <div id="utility_bar"> | |
54 | + | |
55 | + <!-- user info / logout link --> | |
56 | + <p> | |
57 | + <a href="http://em-hub.com/">Em-Hub</a> | |
58 | + <a href="http://wiki.emmoco.com/">Wiki</a> | |
59 | + <a href="http://android.emmoco.com/">Android Docs</a> | |
60 | + <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> | |
61 | + <a href="http://support.emmoco.com/">Support</a> | |
62 | + </p> | |
63 | + | |
64 | + </div> | |
65 | + <!-- end utility bar --> | |
66 | + | |
67 | + <header id="top_header"> | |
68 | + <div id="library" class="hideInXcode"> | |
69 | + <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> | |
70 | + <a id="developerHome" href="../index.html">Emmoco, Inc.</a> | |
71 | + </div> | |
72 | + | |
73 | + <div id="title" role="banner"> | |
74 | + <h1 class="hideInXcode">EMBluetoothLowEnergyConnectionType Class Reference</h1> | |
75 | + </div> | |
76 | + <ul id="headerButtons" role="toolbar"> | |
77 | + <li id="toc_button"> | |
78 | + <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | |
79 | + </li> | |
80 | + <li id="jumpto_button" role="navigation"> | |
81 | + <select id="jumpTo"> | |
82 | + <option value="top">Jump To…</option> | |
83 | + | |
84 | + <option value="overview">Overview</option> | |
85 | + | |
86 | + | |
87 | + | |
88 | + | |
89 | + <option value="tasks">Tasks</option> | |
90 | + | |
91 | + | |
92 | + | |
93 | + | |
94 | + | |
95 | + <option value="properties">Properties</option> | |
96 | + | |
97 | + <option value="//api/name/connected"> connected</option> | |
98 | + | |
99 | + <option value="//api/name/discoversAllEmmocoBLEDevices"> discoversAllEmmocoBLEDevices</option> | |
100 | + | |
101 | + | |
102 | + | |
103 | + | |
104 | + | |
105 | + | |
106 | + <option value="instance_methods">Instance Methods</option> | |
107 | + | |
108 | + <option value="//api/name/connectToDevice:connectionDelegate:"> - connectToDevice:connectionDelegate:</option> | |
109 | + | |
110 | + <option value="//api/name/deviceType"> - deviceType</option> | |
111 | + | |
112 | + <option value="//api/name/disconnect"> - disconnect</option> | |
113 | + | |
114 | + <option value="//api/name/fetch:"> - fetch:</option> | |
115 | + | |
116 | + <option value="//api/name/fetchSystemResource:"> - fetchSystemResource:</option> | |
117 | + | |
118 | + <option value="//api/name/isAvailable"> - isAvailable</option> | |
119 | + | |
120 | + <option value="//api/name/lastReadValue"> - lastReadValue</option> | |
121 | + | |
122 | + <option value="//api/name/setConnectionDelegate:"> - setConnectionDelegate:</option> | |
123 | + | |
124 | + <option value="//api/name/startUpdating"> - startUpdating</option> | |
125 | + | |
126 | + <option value="//api/name/stopUpdating"> - stopUpdating</option> | |
127 | + | |
128 | + <option value="//api/name/store:"> - store:</option> | |
129 | + | |
130 | + | |
131 | + | |
132 | +</select> | |
133 | + </li> | |
134 | + </ul> | |
135 | + </header> | |
136 | + <nav id="tocContainer" class="isShowingTOC"> | |
137 | + <ul id="toc" role="tree"> | |
138 | + | |
139 | +<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li> | |
140 | + | |
141 | + | |
142 | + | |
143 | + | |
144 | +<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> | |
145 | + | |
146 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Extension Methods">Extension Methods</a></span></li> | |
147 | + | |
148 | +</ul></li> | |
149 | + | |
150 | + | |
151 | + | |
152 | + | |
153 | + | |
154 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul> | |
155 | + | |
156 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connected">connected</a></span></li> | |
157 | + | |
158 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/discoversAllEmmocoBLEDevices">discoversAllEmmocoBLEDevices</a></span></li> | |
159 | + | |
160 | +</ul></li> | |
161 | + | |
162 | + | |
163 | + | |
164 | + | |
165 | + | |
166 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> | |
167 | + | |
168 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connectToDevice:connectionDelegate:">connectToDevice:connectionDelegate:</a></span></li> | |
169 | + | |
170 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/deviceType">deviceType</a></span></li> | |
171 | + | |
172 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/disconnect">disconnect</a></span></li> | |
173 | + | |
174 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetch:">fetch:</a></span></li> | |
175 | + | |
176 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetchSystemResource:">fetchSystemResource:</a></span></li> | |
177 | + | |
178 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isAvailable">isAvailable</a></span></li> | |
179 | + | |
180 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/lastReadValue">lastReadValue</a></span></li> | |
181 | + | |
182 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setConnectionDelegate:">setConnectionDelegate:</a></span></li> | |
183 | + | |
184 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/startUpdating">startUpdating</a></span></li> | |
185 | + | |
186 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopUpdating">stopUpdating</a></span></li> | |
187 | + | |
188 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/store:">store:</a></span></li> | |
189 | + | |
190 | +</ul></li> | |
191 | + | |
192 | + | |
193 | + </ul> | |
194 | + </nav> | |
195 | + <article> | |
196 | + <div id="contents" class="isShowingTOC" role="main"> | |
197 | + <a title="EMBluetoothLowEnergyConnectionType Class Reference" name="top"></a> | |
198 | + <div class="main-navigation navigation-top"> | |
199 | + <ul> | |
200 | + <li><a href="../index.html">Index</a></li> | |
201 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
202 | +</ul> | |
203 | + </div> | |
204 | + <div id="header"> | |
205 | + <div class="section-header"> | |
206 | + <h1 class="title title-header">EMBluetoothLowEnergyConnectionType Class Reference</h1> | |
207 | + </div> | |
208 | + </div> | |
209 | + <div id="container"> | |
210 | + | |
211 | + <div class="section section-specification"><table cellspacing="0"><tbody> | |
212 | + <tr> | |
213 | + <td class="specification-title">Inherits from</td> | |
214 | + <td class="specification-value">NSObject</td> | |
215 | +</tr><tr> | |
216 | + <td class="specification-title">Conforms to</td> | |
217 | + <td class="specification-value">CBCentralManagerDelegate<br />CBPeripheralDelegate<br /><a href="../Protocols/EMConnectionType.html">EMConnectionType</a></td> | |
218 | +</tr><tr> | |
219 | + <td class="specification-title">Declared in</td> | |
220 | + <td class="specification-value">EMBluetoothLowEnergyConnectionType.h<br />EMBluetoothLowEnergyConnectionType.m</td> | |
221 | +</tr> | |
222 | + </tbody></table></div> | |
223 | + | |
224 | + | |
225 | + | |
226 | + | |
227 | + <div class="section section-overview"> | |
228 | + <a title="Overview" name="overview"></a> | |
229 | + <h2 class="subtitle subtitle-overview">Overview</h2> | |
230 | + <p>EMBluethoothLowEnergyConnectionType is a concrete <a href="../Protocols/EMConnectionType.html">EMConnectionType</a> for Bluetooth Low Energy.</p> | |
231 | + | |
232 | +<p>If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to <a href="../Classes/EMConnectionListManager.html">EMConnectionListManager</a> via the -addConnectionTypeToUpdates: method.</p> | |
233 | + </div> | |
234 | + | |
235 | + | |
236 | + | |
237 | + | |
238 | + | |
239 | + <div class="section section-tasks"> | |
240 | + <a title="Tasks" name="tasks"></a> | |
241 | + <h2 class="subtitle subtitle-tasks">Tasks</h2> | |
242 | + | |
243 | + | |
244 | + | |
245 | + <h3 class="subsubtitle task-title">Other Methods</h3> | |
246 | + | |
247 | + <ul class="task-list"> | |
248 | + <li> | |
249 | + <span class="tooltip"> | |
250 | + <code><a href="#//api/name/discoversAllEmmocoBLEDevices"> discoversAllEmmocoBLEDevices</a></code> | |
251 | + <span class="tooltip"><p>By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. | |
252 | +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. | |
253 | +NOTE: Most applications should not have this enabled.</p></span> | |
254 | + </span> | |
255 | + <span class="task-item-suffix">property</span> | |
256 | + | |
257 | +</li> | |
258 | + </ul> | |
259 | + | |
260 | + | |
261 | + | |
262 | + <h3 class="subsubtitle task-title">Other Methods</h3> | |
263 | + | |
264 | + <ul class="task-list"> | |
265 | + <li> | |
266 | + <span class="tooltip"> | |
267 | + <code><a href="#//api/name/setConnectionDelegate:">– setConnectionDelegate:</a></code> | |
268 | + <span class="tooltip"><p>The delegate for connection communication</p></span> | |
269 | + </span> | |
270 | + | |
271 | + | |
272 | +</li><li> | |
273 | + <span class="tooltip"> | |
274 | + <code><a href="#//api/name/isAvailable">– isAvailable</a></code> | |
275 | + <span class="tooltip"><p>YES if available on the current device, NO if unavailable.</p></span> | |
276 | + </span> | |
277 | + | |
278 | + | |
279 | +</li><li> | |
280 | + <span class="tooltip"> | |
281 | + <code><a href="#//api/name/lastReadValue">– lastReadValue</a></code> | |
282 | + <span class="tooltip"><p>The last read resource value from the device</p></span> | |
283 | + </span> | |
284 | + | |
285 | + | |
286 | +</li><li> | |
287 | + <span class="tooltip"> | |
288 | + <code><a href="#//api/name/startUpdating">– startUpdating</a></code> | |
289 | + <span class="tooltip"><p>Tells the connection to start looking for devices of its type.</p></span> | |
290 | + </span> | |
291 | + | |
292 | + | |
293 | +</li><li> | |
294 | + <span class="tooltip"> | |
295 | + <code><a href="#//api/name/stopUpdating">– stopUpdating</a></code> | |
296 | + <span class="tooltip"><p>Tells the connection to stop looking for devices of its type.</p></span> | |
297 | + </span> | |
298 | + | |
299 | + | |
300 | +</li><li> | |
301 | + <span class="tooltip"> | |
302 | + <code><a href="#//api/name/deviceType">– deviceType</a></code> | |
303 | + <span class="tooltip"><p>The type of device - this can be set to anything and retreived for printing or examining.</p></span> | |
304 | + </span> | |
305 | + | |
306 | + | |
307 | +</li><li> | |
308 | + <span class="tooltip"> | |
309 | + <code><a href="#//api/name/connectToDevice:connectionDelegate:">– connectToDevice:connectionDelegate:</a></code> | |
310 | + <span class="tooltip"><p>Establishes a connection with a device</p></span> | |
311 | + </span> | |
312 | + | |
313 | + | |
314 | +</li><li> | |
315 | + <span class="tooltip"> | |
316 | + <code><a href="#//api/name/disconnect">– disconnect</a></code> | |
317 | + <span class="tooltip"><p>disconnects the current device.</p></span> | |
318 | + </span> | |
319 | + | |
320 | + | |
321 | +</li><li> | |
322 | + <span class="tooltip"> | |
323 | + <code><a href="#//api/name/fetch:">– fetch:</a></code> | |
324 | + <span class="tooltip"><p>Fetches a resource. Can be retrieved in “lastReadValue”</p></span> | |
325 | + </span> | |
326 | + | |
327 | + | |
328 | +</li><li> | |
329 | + <span class="tooltip"> | |
330 | + <code><a href="#//api/name/fetchSystemResource:">– fetchSystemResource:</a></code> | |
331 | + <span class="tooltip"><p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p></span> | |
332 | + </span> | |
333 | + | |
334 | + | |
335 | +</li><li> | |
336 | + <span class="tooltip"> | |
337 | + <code><a href="#//api/name/store:">– store:</a></code> | |
338 | + <span class="tooltip"><p>writes a value to a device.</p></span> | |
339 | + </span> | |
340 | + | |
341 | + | |
342 | +</li> | |
343 | + </ul> | |
344 | + | |
345 | + | |
346 | + <a title="Extension Methods" name="task_Extension Methods"></a> | |
347 | + <h3 class="subsubtitle task-title">Extension Methods</h3> | |
348 | + | |
349 | + <ul class="task-list"> | |
350 | + <li> | |
351 | + <span class="tooltip"> | |
352 | + <code><a href="#//api/name/connected"> connected</a></code> | |
353 | + <span class="tooltip"><p>A boolean indicating whether or not there is a connection with a device.</p></span> | |
354 | + </span> | |
355 | + <span class="task-item-suffix">property</span> | |
356 | + | |
357 | +</li> | |
358 | + </ul> | |
359 | + | |
360 | + </div> | |
361 | + | |
362 | + | |
363 | + | |
364 | + | |
365 | + | |
366 | + <div class="section section-methods"> | |
367 | + <a title="Properties" name="properties"></a> | |
368 | + <h2 class="subtitle subtitle-methods">Properties</h2> | |
369 | + | |
370 | + <div class="section-method"> | |
371 | + <a name="//api/name/connected" title="connected"></a> | |
372 | + <h3 class="subsubtitle method-title">connected</h3> | |
373 | + | |
374 | + | |
375 | + | |
376 | + <div class="method-subsection brief-description"> | |
377 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | |
378 | + </div> | |
379 | + | |
380 | + | |
381 | + <div class="method-subsection method-declaration"><code>@property (nonatomic, getter=isConnected) BOOL connected</code></div> | |
382 | + | |
383 | + | |
384 | + | |
385 | + | |
386 | + | |
387 | + | |
388 | + | |
389 | + | |
390 | + <div class="method-subsection discussion-section"> | |
391 | + <h4 class="method-subtitle">Discussion</h4> | |
392 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | |
393 | + </div> | |
394 | + | |
395 | + | |
396 | + | |
397 | + | |
398 | + | |
399 | + | |
400 | + | |
401 | + <div class="method-subsection declared-in-section"> | |
402 | + <h4 class="method-subtitle">Declared In</h4> | |
403 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
404 | + </div> | |
405 | + | |
406 | + | |
407 | +</div> | |
408 | + | |
409 | + <div class="section-method"> | |
410 | + <a name="//api/name/discoversAllEmmocoBLEDevices" title="discoversAllEmmocoBLEDevices"></a> | |
411 | + <h3 class="subsubtitle method-title">discoversAllEmmocoBLEDevices</h3> | |
412 | + | |
413 | + | |
414 | + | |
415 | + <div class="method-subsection brief-description"> | |
416 | + <p>By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. | |
417 | +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. | |
418 | +NOTE: Most applications should not have this enabled.</p> | |
419 | + </div> | |
420 | + | |
421 | + | |
422 | + <div class="method-subsection method-declaration"><code>@property (nonatomic) BOOL discoversAllEmmocoBLEDevices</code></div> | |
423 | + | |
424 | + | |
425 | + | |
426 | + | |
427 | + | |
428 | + | |
429 | + | |
430 | + | |
431 | + <div class="method-subsection discussion-section"> | |
432 | + <h4 class="method-subtitle">Discussion</h4> | |
433 | + <p>By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. | |
434 | +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. | |
435 | +NOTE: Most applications should not have this enabled.</p> | |
436 | + </div> | |
437 | + | |
438 | + | |
439 | + | |
440 | + | |
441 | + | |
442 | + | |
443 | + | |
444 | + <div class="method-subsection declared-in-section"> | |
445 | + <h4 class="method-subtitle">Declared In</h4> | |
446 | + <code class="declared-in-ref">EMBluetoothLowEnergyConnectionType.h</code><br /> | |
447 | + </div> | |
448 | + | |
449 | + | |
450 | +</div> | |
451 | + | |
452 | + </div> | |
453 | + | |
454 | + | |
455 | + | |
456 | + | |
457 | + | |
458 | + <div class="section section-methods"> | |
459 | + <a title="Instance Methods" name="instance_methods"></a> | |
460 | + <h2 class="subtitle subtitle-methods">Instance Methods</h2> | |
461 | + | |
462 | + <div class="section-method"> | |
463 | + <a name="//api/name/connectToDevice:connectionDelegate:" title="connectToDevice:connectionDelegate:"></a> | |
464 | + <h3 class="subsubtitle method-title">connectToDevice:connectionDelegate:</h3> | |
465 | + | |
466 | + | |
467 | + | |
468 | + <div class="method-subsection brief-description"> | |
469 | + <p>Establishes a connection with a device</p> | |
470 | + </div> | |
471 | + | |
472 | + | |
473 | + <div class="method-subsection method-declaration"><code>- (void)connectToDevice:(EMDeviceBasicDescription *)<em>device</em> connectionDelegate:(id<EMDeviceDelegate>)<em>connDelegate</em></code></div> | |
474 | + | |
475 | + | |
476 | + | |
477 | + | |
478 | + | |
479 | + | |
480 | + | |
481 | + | |
482 | + <div class="method-subsection discussion-section"> | |
483 | + <h4 class="method-subtitle">Discussion</h4> | |
484 | + <p>Establishes a connection with a device</p> | |
485 | + </div> | |
486 | + | |
487 | + | |
488 | + | |
489 | + | |
490 | + | |
491 | + | |
492 | + | |
493 | + <div class="method-subsection declared-in-section"> | |
494 | + <h4 class="method-subtitle">Declared In</h4> | |
495 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
496 | + </div> | |
497 | + | |
498 | + | |
499 | +</div> | |
500 | + | |
501 | + <div class="section-method"> | |
502 | + <a name="//api/name/deviceType" title="deviceType"></a> | |
503 | + <h3 class="subsubtitle method-title">deviceType</h3> | |
504 | + | |
505 | + | |
506 | + | |
507 | + <div class="method-subsection brief-description"> | |
508 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | |
509 | + </div> | |
510 | + | |
511 | + | |
512 | + <div class="method-subsection method-declaration"><code>- (NSString *)deviceType</code></div> | |
513 | + | |
514 | + | |
515 | + | |
516 | + | |
517 | + | |
518 | + | |
519 | + | |
520 | + | |
521 | + <div class="method-subsection discussion-section"> | |
522 | + <h4 class="method-subtitle">Discussion</h4> | |
523 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | |
524 | + </div> | |
525 | + | |
526 | + | |
527 | + | |
528 | + | |
529 | + | |
530 | + | |
531 | + | |
532 | + <div class="method-subsection declared-in-section"> | |
533 | + <h4 class="method-subtitle">Declared In</h4> | |
534 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
535 | + </div> | |
536 | + | |
537 | + | |
538 | +</div> | |
539 | + | |
540 | + <div class="section-method"> | |
541 | + <a name="//api/name/disconnect" title="disconnect"></a> | |
542 | + <h3 class="subsubtitle method-title">disconnect</h3> | |
543 | + | |
544 | + | |
545 | + | |
546 | + <div class="method-subsection brief-description"> | |
547 | + <p>disconnects the current device.</p> | |
548 | + </div> | |
549 | + | |
550 | + | |
551 | + <div class="method-subsection method-declaration"><code>- (void)disconnect</code></div> | |
552 | + | |
553 | + | |
554 | + | |
555 | + | |
556 | + | |
557 | + | |
558 | + | |
559 | + | |
560 | + <div class="method-subsection discussion-section"> | |
561 | + <h4 class="method-subtitle">Discussion</h4> | |
562 | + <p>disconnects the current device.</p> | |
563 | + </div> | |
564 | + | |
565 | + | |
566 | + | |
567 | + | |
568 | + | |
569 | + | |
570 | + | |
571 | + <div class="method-subsection declared-in-section"> | |
572 | + <h4 class="method-subtitle">Declared In</h4> | |
573 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
574 | + </div> | |
575 | + | |
576 | + | |
577 | +</div> | |
578 | + | |
579 | + <div class="section-method"> | |
580 | + <a name="//api/name/fetch:" title="fetch:"></a> | |
581 | + <h3 class="subsubtitle method-title">fetch:</h3> | |
582 | + | |
583 | + | |
584 | + | |
585 | + <div class="method-subsection brief-description"> | |
586 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | |
587 | + </div> | |
588 | + | |
589 | + | |
590 | + <div class="method-subsection method-declaration"><code>- (void)fetch:(EMResourceValue *)<em>value</em></code></div> | |
591 | + | |
592 | + | |
593 | + | |
594 | + | |
595 | + | |
596 | + | |
597 | + | |
598 | + | |
599 | + <div class="method-subsection discussion-section"> | |
600 | + <h4 class="method-subtitle">Discussion</h4> | |
601 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | |
602 | + </div> | |
603 | + | |
604 | + | |
605 | + | |
606 | + | |
607 | + | |
608 | + | |
609 | + | |
610 | + <div class="method-subsection declared-in-section"> | |
611 | + <h4 class="method-subtitle">Declared In</h4> | |
612 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
613 | + </div> | |
614 | + | |
615 | + | |
616 | +</div> | |
617 | + | |
618 | + <div class="section-method"> | |
619 | + <a name="//api/name/fetchSystemResource:" title="fetchSystemResource:"></a> | |
620 | + <h3 class="subsubtitle method-title">fetchSystemResource:</h3> | |
621 | + | |
622 | + | |
623 | + | |
624 | + <div class="method-subsection brief-description"> | |
625 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | |
626 | + </div> | |
627 | + | |
628 | + | |
629 | + <div class="method-subsection method-declaration"><code>- (void)fetchSystemResource:(EMResourceValue *)<em>value</em></code></div> | |
630 | + | |
631 | + | |
632 | + | |
633 | + | |
634 | + | |
635 | + | |
636 | + | |
637 | + | |
638 | + <div class="method-subsection discussion-section"> | |
639 | + <h4 class="method-subtitle">Discussion</h4> | |
640 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | |
641 | + </div> | |
642 | + | |
643 | + | |
644 | + | |
645 | + | |
646 | + | |
647 | + | |
648 | + | |
649 | + <div class="method-subsection declared-in-section"> | |
650 | + <h4 class="method-subtitle">Declared In</h4> | |
651 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
652 | + </div> | |
653 | + | |
654 | + | |
655 | +</div> | |
656 | + | |
657 | + <div class="section-method"> | |
658 | + <a name="//api/name/isAvailable" title="isAvailable"></a> | |
659 | + <h3 class="subsubtitle method-title">isAvailable</h3> | |
660 | + | |
661 | + | |
662 | + | |
663 | + <div class="method-subsection brief-description"> | |
664 | + <p>YES if available on the current device, NO if unavailable.</p> | |
665 | + </div> | |
666 | + | |
667 | + | |
668 | + <div class="method-subsection method-declaration"><code>- (BOOL)isAvailable</code></div> | |
669 | + | |
670 | + | |
671 | + | |
672 | + | |
673 | + | |
674 | + | |
675 | + | |
676 | + | |
677 | + <div class="method-subsection discussion-section"> | |
678 | + <h4 class="method-subtitle">Discussion</h4> | |
679 | + <p>YES if available on the current device, NO if unavailable.</p> | |
680 | + </div> | |
681 | + | |
682 | + | |
683 | + | |
684 | + | |
685 | + | |
686 | + | |
687 | + | |
688 | + <div class="method-subsection declared-in-section"> | |
689 | + <h4 class="method-subtitle">Declared In</h4> | |
690 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
691 | + </div> | |
692 | + | |
693 | + | |
694 | +</div> | |
695 | + | |
696 | + <div class="section-method"> | |
697 | + <a name="//api/name/lastReadValue" title="lastReadValue"></a> | |
698 | + <h3 class="subsubtitle method-title">lastReadValue</h3> | |
699 | + | |
700 | + | |
701 | + | |
702 | + <div class="method-subsection brief-description"> | |
703 | + <p>The last read resource value from the device</p> | |
704 | + </div> | |
705 | + | |
706 | + | |
707 | + <div class="method-subsection method-declaration"><code>- (EMResourceValue *)lastReadValue</code></div> | |
708 | + | |
709 | + | |
710 | + | |
711 | + | |
712 | + | |
713 | + | |
714 | + | |
715 | + | |
716 | + <div class="method-subsection discussion-section"> | |
717 | + <h4 class="method-subtitle">Discussion</h4> | |
718 | + <p>The last read resource value from the device</p> | |
719 | + </div> | |
720 | + | |
721 | + | |
722 | + | |
723 | + | |
724 | + | |
725 | + | |
726 | + | |
727 | + <div class="method-subsection declared-in-section"> | |
728 | + <h4 class="method-subtitle">Declared In</h4> | |
729 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
730 | + </div> | |
731 | + | |
732 | + | |
733 | +</div> | |
734 | + | |
735 | + <div class="section-method"> | |
736 | + <a name="//api/name/setConnectionDelegate:" title="setConnectionDelegate:"></a> | |
737 | + <h3 class="subsubtitle method-title">setConnectionDelegate:</h3> | |
738 | + | |
739 | + | |
740 | + | |
741 | + <div class="method-subsection brief-description"> | |
742 | + <p>The delegate for connection communication</p> | |
743 | + </div> | |
744 | + | |
745 | + | |
746 | + <div class="method-subsection method-declaration"><code>- (void)setConnectionDelegate:(id<EMDeviceDelegate>)<em>connectionDelegate</em></code></div> | |
747 | + | |
748 | + | |
749 | + | |
750 | + | |
751 | + | |
752 | + | |
753 | + | |
754 | + | |
755 | + <div class="method-subsection discussion-section"> | |
756 | + <h4 class="method-subtitle">Discussion</h4> | |
757 | + <p>The delegate for connection communication</p> | |
758 | + </div> | |
759 | + | |
760 | + | |
761 | + | |
762 | + | |
763 | + | |
764 | + | |
765 | + | |
766 | + <div class="method-subsection declared-in-section"> | |
767 | + <h4 class="method-subtitle">Declared In</h4> | |
768 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
769 | + </div> | |
770 | + | |
771 | + | |
772 | +</div> | |
773 | + | |
774 | + <div class="section-method"> | |
775 | + <a name="//api/name/startUpdating" title="startUpdating"></a> | |
776 | + <h3 class="subsubtitle method-title">startUpdating</h3> | |
777 | + | |
778 | + | |
779 | + | |
780 | + <div class="method-subsection brief-description"> | |
781 | + <p>Tells the connection to start looking for devices of its type.</p> | |
782 | + </div> | |
783 | + | |
784 | + | |
785 | + <div class="method-subsection method-declaration"><code>- (void)startUpdating</code></div> | |
786 | + | |
787 | + | |
788 | + | |
789 | + | |
790 | + | |
791 | + | |
792 | + | |
793 | + | |
794 | + <div class="method-subsection discussion-section"> | |
795 | + <h4 class="method-subtitle">Discussion</h4> | |
796 | + <p>Tells the connection to start looking for devices of its type.</p> | |
797 | + </div> | |
798 | + | |
799 | + | |
800 | + | |
801 | + | |
802 | + | |
803 | + | |
804 | + | |
805 | + <div class="method-subsection declared-in-section"> | |
806 | + <h4 class="method-subtitle">Declared In</h4> | |
807 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
808 | + </div> | |
809 | + | |
810 | + | |
811 | +</div> | |
812 | + | |
813 | + <div class="section-method"> | |
814 | + <a name="//api/name/stopUpdating" title="stopUpdating"></a> | |
815 | + <h3 class="subsubtitle method-title">stopUpdating</h3> | |
816 | + | |
817 | + | |
818 | + | |
819 | + <div class="method-subsection brief-description"> | |
820 | + <p>Tells the connection to stop looking for devices of its type.</p> | |
821 | + </div> | |
822 | + | |
823 | + | |
824 | + <div class="method-subsection method-declaration"><code>- (void)stopUpdating</code></div> | |
825 | + | |
826 | + | |
827 | + | |
828 | + | |
829 | + | |
830 | + | |
831 | + | |
832 | + | |
833 | + <div class="method-subsection discussion-section"> | |
834 | + <h4 class="method-subtitle">Discussion</h4> | |
835 | + <p>Tells the connection to stop looking for devices of its type.</p> | |
836 | + </div> | |
837 | + | |
838 | + | |
839 | + | |
840 | + | |
841 | + | |
842 | + | |
843 | + | |
844 | + <div class="method-subsection declared-in-section"> | |
845 | + <h4 class="method-subtitle">Declared In</h4> | |
846 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
847 | + </div> | |
848 | + | |
849 | + | |
850 | +</div> | |
851 | + | |
852 | + <div class="section-method"> | |
853 | + <a name="//api/name/store:" title="store:"></a> | |
854 | + <h3 class="subsubtitle method-title">store:</h3> | |
855 | + | |
856 | + | |
857 | + | |
858 | + <div class="method-subsection brief-description"> | |
859 | + <p>writes a value to a device.</p> | |
860 | + </div> | |
861 | + | |
862 | + | |
863 | + <div class="method-subsection method-declaration"><code>- (void)store:(EMResourceValue *)<em>value</em></code></div> | |
864 | + | |
865 | + | |
866 | + | |
867 | + | |
868 | + | |
869 | + | |
870 | + | |
871 | + | |
872 | + <div class="method-subsection discussion-section"> | |
873 | + <h4 class="method-subtitle">Discussion</h4> | |
874 | + <p>writes a value to a device.</p> | |
875 | + </div> | |
876 | + | |
877 | + | |
878 | + | |
879 | + | |
880 | + | |
881 | + | |
882 | + | |
883 | + <div class="method-subsection declared-in-section"> | |
884 | + <h4 class="method-subtitle">Declared In</h4> | |
885 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
886 | + </div> | |
887 | + | |
888 | + | |
889 | +</div> | |
890 | + | |
891 | + </div> | |
892 | + | |
893 | + | |
894 | + </div> | |
895 | + <div class="main-navigation navigation-bottom"> | |
896 | + <ul> | |
897 | + <li><a href="../index.html">Index</a></li> | |
898 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
899 | +</ul> | |
900 | + </div> | |
901 | + <div id="footer"> | |
902 | + <hr /> | |
903 | + | |
904 | + <style> | |
905 | + #em-footer | |
906 | + { | |
907 | + background-color: #fff; | |
908 | + height: 100px; | |
909 | + font-size: 90%; | |
910 | + overflow: hidden; | |
911 | + } | |
912 | + | |
913 | + #em-footer_logo_container | |
914 | + { | |
915 | + position: relative; | |
916 | + background-color: #d2d2d2; | |
917 | + height: 70px; | |
918 | + margin-bottom: 3px; | |
919 | + } | |
920 | + | |
921 | + #em-footer_logo_container a | |
922 | + { | |
923 | + position: absolute; | |
924 | + right: 7px; | |
925 | + top: 7px; | |
926 | + } | |
927 | + | |
928 | + </style> | |
929 | + | |
930 | + <!-- begin em-footer --> | |
931 | + <div id="em-footer"> | |
932 | + <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img | |
933 | + src="http://www.emmoco.com/images/logo_emhub_footer.png" | |
934 | + alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> | |
935 | + </div> | |
936 | + | |
937 | + <div class="footer-copyright"> | |
938 | + <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-21)</span><br /> | |
939 | + | |
940 | + <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> | |
941 | + | |
942 | + </div> | |
943 | + </div> | |
944 | + </div> | |
945 | + </article> | |
946 | + <script type="text/javascript"> | |
947 | + function jumpToChange() | |
948 | + { | |
949 | + window.location.hash = this.options[this.selectedIndex].value; | |
950 | + } | |
951 | + | |
952 | + function toggleTOC() | |
953 | + { | |
954 | + var contents = document.getElementById('contents'); | |
955 | + var tocContainer = document.getElementById('tocContainer'); | |
956 | + | |
957 | + if (this.getAttribute('class') == 'open') | |
958 | + { | |
959 | + this.setAttribute('class', ''); | |
960 | + contents.setAttribute('class', ''); | |
961 | + tocContainer.setAttribute('class', ''); | |
962 | + | |
963 | + window.name = "hideTOC"; | |
964 | + } | |
965 | + else | |
966 | + { | |
967 | + this.setAttribute('class', 'open'); | |
968 | + contents.setAttribute('class', 'isShowingTOC'); | |
969 | + tocContainer.setAttribute('class', 'isShowingTOC'); | |
970 | + | |
971 | + window.name = ""; | |
972 | + } | |
973 | + return false; | |
974 | + } | |
975 | + | |
976 | + function toggleTOCEntryChildren(e) | |
977 | + { | |
978 | + e.stopPropagation(); | |
979 | + var currentClass = this.getAttribute('class'); | |
980 | + if (currentClass == 'children') { | |
981 | + this.setAttribute('class', 'children open'); | |
982 | + } | |
983 | + else if (currentClass == 'children open') { | |
984 | + this.setAttribute('class', 'children'); | |
985 | + } | |
986 | + return false; | |
987 | + } | |
988 | + | |
989 | + function tocEntryClick(e) | |
990 | + { | |
991 | + e.stopPropagation(); | |
992 | + return true; | |
993 | + } | |
994 | + | |
995 | + function init() | |
996 | + { | |
997 | + var selectElement = document.getElementById('jumpTo'); | |
998 | + selectElement.addEventListener('change', jumpToChange, false); | |
999 | + | |
1000 | + var tocButton = document.getElementById('table_of_contents'); | |
1001 | + tocButton.addEventListener('click', toggleTOC, false); | |
1002 | + | |
1003 | + var taskTreeItem = document.getElementById('task_treeitem'); | |
1004 | + if (taskTreeItem.getElementsByTagName('li').length > 0) | |
1005 | + { | |
1006 | + taskTreeItem.setAttribute('class', 'children'); | |
1007 | + taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | |
1008 | + } | |
1009 | + | |
1010 | + var tocList = document.getElementById('toc'); | |
1011 | + | |
1012 | + var tocEntries = tocList.getElementsByTagName('li'); | |
1013 | + for (var i = 0; i < tocEntries.length; i++) { | |
1014 | + tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | |
1015 | + } | |
1016 | + | |
1017 | + var tocLinks = tocList.getElementsByTagName('a'); | |
1018 | + for (var i = 0; i < tocLinks.length; i++) { | |
1019 | + tocLinks[i].addEventListener('click', tocEntryClick, false); | |
1020 | + } | |
1021 | + | |
1022 | + if (window.name == "hideTOC") { | |
1023 | + toggleTOC.call(tocButton); | |
1024 | + } | |
1025 | + } | |
1026 | + | |
1027 | + window.onload = init; | |
1028 | + </script> | |
1029 | + </body> | |
1030 | +</html> | |
0 | 1031 | \ No newline at end of file | ... | ... |
EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v12.html
0 โ 100644
1 | +<!DOCTYPE HTML> | |
2 | +<html> | |
3 | + <head> | |
4 | + <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | |
5 | + <title>EMBluetoothLowEnergyConnectionType_v12 Class Reference</title> | |
6 | + <meta id="xcode-display" name="xcode-display" content="render"/> | |
7 | + <meta name="viewport" content="width=550" /> | |
8 | + <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | |
9 | + <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | |
10 | + <meta name="generator" content="appledoc 2.2 (build 961)" /> | |
11 | + </head> | |
12 | + <body> | |
13 | + | |
14 | + <div id="em-wrapper"> | |
15 | + <style> | |
16 | + #utility_bar | |
17 | + { | |
18 | + position: relative; | |
19 | + height: 35px; | |
20 | + /*background: #231f20 url(../images/bg_tagline.png) no-repeat right | |
21 | + center;*/ | |
22 | + background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; | |
23 | + color: #efefef; | |
24 | + overflow: hidden; | |
25 | + padding-left: 10px; | |
26 | + } | |
27 | + | |
28 | + #utility_bar p | |
29 | + { | |
30 | + margin-top: 9px; | |
31 | + margin-bottom: 0; | |
32 | + } | |
33 | + | |
34 | + #utility_bar a | |
35 | + { | |
36 | + color: #efefef; | |
37 | + margin-right: 15px; | |
38 | + padding: 2px; | |
39 | + } | |
40 | + | |
41 | + #utility_bar a:hover | |
42 | + { | |
43 | + color: #fff; | |
44 | + } | |
45 | + | |
46 | + #utility_bar a.selected | |
47 | + { | |
48 | + text-decoration: none; | |
49 | + background-color: #555; | |
50 | + } | |
51 | + </style> | |
52 | + <!-- begin utility bar --> | |
53 | + <div id="utility_bar"> | |
54 | + | |
55 | + <!-- user info / logout link --> | |
56 | + <p> | |
57 | + <a href="http://em-hub.com/">Em-Hub</a> | |
58 | + <a href="http://wiki.emmoco.com/">Wiki</a> | |
59 | + <a href="http://android.emmoco.com/">Android Docs</a> | |
60 | + <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> | |
61 | + <a href="http://support.emmoco.com/">Support</a> | |
62 | + </p> | |
63 | + | |
64 | + </div> | |
65 | + <!-- end utility bar --> | |
66 | + | |
67 | + <header id="top_header"> | |
68 | + <div id="library" class="hideInXcode"> | |
69 | + <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> | |
70 | + <a id="developerHome" href="../index.html">Emmoco, Inc.</a> | |
71 | + </div> | |
72 | + | |
73 | + <div id="title" role="banner"> | |
74 | + <h1 class="hideInXcode">EMBluetoothLowEnergyConnectionType_v12 Class Reference</h1> | |
75 | + </div> | |
76 | + <ul id="headerButtons" role="toolbar"> | |
77 | + <li id="toc_button"> | |
78 | + <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | |
79 | + </li> | |
80 | + <li id="jumpto_button" role="navigation"> | |
81 | + <select id="jumpTo"> | |
82 | + <option value="top">Jump To…</option> | |
83 | + | |
84 | + <option value="overview">Overview</option> | |
85 | + | |
86 | + | |
87 | + | |
88 | + | |
89 | + <option value="tasks">Tasks</option> | |
90 | + | |
91 | + | |
92 | + | |
93 | + | |
94 | + | |
95 | + <option value="properties">Properties</option> | |
96 | + | |
97 | + <option value="//api/name/connected"> connected</option> | |
98 | + | |
99 | + | |
100 | + | |
101 | + | |
102 | + | |
103 | + | |
104 | + <option value="instance_methods">Instance Methods</option> | |
105 | + | |
106 | + <option value="//api/name/connectToDevice:connectionDelegate:"> - connectToDevice:connectionDelegate:</option> | |
107 | + | |
108 | + <option value="//api/name/deviceType"> - deviceType</option> | |
109 | + | |
110 | + <option value="//api/name/disconnect"> - disconnect</option> | |
111 | + | |
112 | + <option value="//api/name/fetch:"> - fetch:</option> | |
113 | + | |
114 | + <option value="//api/name/fetchSystemResource:"> - fetchSystemResource:</option> | |
115 | + | |
116 | + <option value="//api/name/isAvailable"> - isAvailable</option> | |
117 | + | |
118 | + <option value="//api/name/startUpdating"> - startUpdating</option> | |
119 | + | |
120 | + <option value="//api/name/stopUpdating"> - stopUpdating</option> | |
121 | + | |
122 | + <option value="//api/name/store:"> - store:</option> | |
123 | + | |
124 | + | |
125 | + | |
126 | +</select> | |
127 | + </li> | |
128 | + </ul> | |
129 | + </header> | |
130 | + <nav id="tocContainer" class="isShowingTOC"> | |
131 | + <ul id="toc" role="tree"> | |
132 | + | |
133 | +<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li> | |
134 | + | |
135 | + | |
136 | + | |
137 | + | |
138 | +<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> | |
139 | + | |
140 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Extension Methods">Extension Methods</a></span></li> | |
141 | + | |
142 | +</ul></li> | |
143 | + | |
144 | + | |
145 | + | |
146 | + | |
147 | + | |
148 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul> | |
149 | + | |
150 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connected">connected</a></span></li> | |
151 | + | |
152 | +</ul></li> | |
153 | + | |
154 | + | |
155 | + | |
156 | + | |
157 | + | |
158 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> | |
159 | + | |
160 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connectToDevice:connectionDelegate:">connectToDevice:connectionDelegate:</a></span></li> | |
161 | + | |
162 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/deviceType">deviceType</a></span></li> | |
163 | + | |
164 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/disconnect">disconnect</a></span></li> | |
165 | + | |
166 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetch:">fetch:</a></span></li> | |
167 | + | |
168 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetchSystemResource:">fetchSystemResource:</a></span></li> | |
169 | + | |
170 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isAvailable">isAvailable</a></span></li> | |
171 | + | |
172 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/startUpdating">startUpdating</a></span></li> | |
173 | + | |
174 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopUpdating">stopUpdating</a></span></li> | |
175 | + | |
176 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/store:">store:</a></span></li> | |
177 | + | |
178 | +</ul></li> | |
179 | + | |
180 | + | |
181 | + </ul> | |
182 | + </nav> | |
183 | + <article> | |
184 | + <div id="contents" class="isShowingTOC" role="main"> | |
185 | + <a title="EMBluetoothLowEnergyConnectionType_v12 Class Reference" name="top"></a> | |
186 | + <div class="main-navigation navigation-top"> | |
187 | + <ul> | |
188 | + <li><a href="../index.html">Index</a></li> | |
189 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
190 | +</ul> | |
191 | + </div> | |
192 | + <div id="header"> | |
193 | + <div class="section-header"> | |
194 | + <h1 class="title title-header">EMBluetoothLowEnergyConnectionType_v12 Class Reference</h1> | |
195 | + </div> | |
196 | + </div> | |
197 | + <div id="container"> | |
198 | + | |
199 | + <div class="section section-specification"><table cellspacing="0"><tbody> | |
200 | + <tr> | |
201 | + <td class="specification-title">Inherits from</td> | |
202 | + <td class="specification-value">NSObject</td> | |
203 | +</tr><tr> | |
204 | + <td class="specification-title">Conforms to</td> | |
205 | + <td class="specification-value">CBCentralManagerDelegate<br />CBPeripheralDelegate<br /><a href="../Protocols/EMConnectionType.html">EMConnectionType</a></td> | |
206 | +</tr><tr> | |
207 | + <td class="specification-title">Declared in</td> | |
208 | + <td class="specification-value">EMBluetoothLowEnergyConnectionType_v12.h<br />EMBluetoothLowEnergyConnectionType_v12.m</td> | |
209 | +</tr> | |
210 | + </tbody></table></div> | |
211 | + | |
212 | + | |
213 | + | |
214 | + | |
215 | + <div class="section section-overview"> | |
216 | + <a title="Overview" name="overview"></a> | |
217 | + <h2 class="subtitle subtitle-overview">Overview</h2> | |
218 | + <p>EMBluethoothLowEnergyConnectionType is a concrete <a href="../Protocols/EMConnectionType.html">EMConnectionType</a> for Bluetooth Low Energy.</p> | |
219 | + | |
220 | +<p>If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to <a href="../Classes/EMConnectionListManager.html">EMConnectionListManager</a> via the -addConnectionTypeToUpdates: method.</p> | |
221 | + </div> | |
222 | + | |
223 | + | |
224 | + | |
225 | + | |
226 | + | |
227 | + <div class="section section-tasks"> | |
228 | + <a title="Tasks" name="tasks"></a> | |
229 | + <h2 class="subtitle subtitle-tasks">Tasks</h2> | |
230 | + | |
231 | + | |
232 | + | |
233 | + <h3 class="subsubtitle task-title">Other Methods</h3> | |
234 | + | |
235 | + <ul class="task-list"> | |
236 | + <li> | |
237 | + <span class="tooltip"> | |
238 | + <code><a href="#//api/name/startUpdating">– startUpdating</a></code> | |
239 | + <span class="tooltip"><p>Tells the connection to start looking for devices of its type.</p></span> | |
240 | + </span> | |
241 | + | |
242 | + | |
243 | +</li><li> | |
244 | + <span class="tooltip"> | |
245 | + <code><a href="#//api/name/stopUpdating">– stopUpdating</a></code> | |
246 | + <span class="tooltip"><p>Tells the connection to stop looking for devices of its type.</p></span> | |
247 | + </span> | |
248 | + | |
249 | + | |
250 | +</li><li> | |
251 | + <span class="tooltip"> | |
252 | + <code><a href="#//api/name/isAvailable">– isAvailable</a></code> | |
253 | + <span class="tooltip"><p>YES if available on the current device, NO if unavailable.</p></span> | |
254 | + </span> | |
255 | + | |
256 | + | |
257 | +</li><li> | |
258 | + <span class="tooltip"> | |
259 | + <code><a href="#//api/name/deviceType">– deviceType</a></code> | |
260 | + <span class="tooltip"><p>The type of device - this can be set to anything and retreived for printing or examining.</p></span> | |
261 | + </span> | |
262 | + | |
263 | + | |
264 | +</li><li> | |
265 | + <span class="tooltip"> | |
266 | + <code><a href="#//api/name/connectToDevice:connectionDelegate:">– connectToDevice:connectionDelegate:</a></code> | |
267 | + <span class="tooltip"><p>Establishes a connection with a device</p></span> | |
268 | + </span> | |
269 | + | |
270 | + | |
271 | +</li><li> | |
272 | + <span class="tooltip"> | |
273 | + <code><a href="#//api/name/disconnect">– disconnect</a></code> | |
274 | + <span class="tooltip"><p>disconnects the current device.</p></span> | |
275 | + </span> | |
276 | + | |
277 | + | |
278 | +</li><li> | |
279 | + <span class="tooltip"> | |
280 | + <code><a href="#//api/name/fetch:">– fetch:</a></code> | |
281 | + <span class="tooltip"><p>Fetches a resource. Can be retrieved in “lastReadValue”</p></span> | |
282 | + </span> | |
283 | + | |
284 | + | |
285 | +</li><li> | |
286 | + <span class="tooltip"> | |
287 | + <code><a href="#//api/name/fetchSystemResource:">– fetchSystemResource:</a></code> | |
288 | + <span class="tooltip"><p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p></span> | |
289 | + </span> | |
290 | + | |
291 | + | |
292 | +</li><li> | |
293 | + <span class="tooltip"> | |
294 | + <code><a href="#//api/name/store:">– store:</a></code> | |
295 | + <span class="tooltip"><p>writes a value to a device.</p></span> | |
296 | + </span> | |
297 | + | |
298 | + | |
299 | +</li> | |
300 | + </ul> | |
301 | + | |
302 | + | |
303 | + <a title="Extension Methods" name="task_Extension Methods"></a> | |
304 | + <h3 class="subsubtitle task-title">Extension Methods</h3> | |
305 | + | |
306 | + <ul class="task-list"> | |
307 | + <li> | |
308 | + <span class="tooltip"> | |
309 | + <code><a href="#//api/name/connected"> connected</a></code> | |
310 | + <span class="tooltip"><p>A boolean indicating whether or not there is a connection with a device.</p></span> | |
311 | + </span> | |
312 | + <span class="task-item-suffix">property</span> | |
313 | + | |
314 | +</li> | |
315 | + </ul> | |
316 | + | |
317 | + </div> | |
318 | + | |
319 | + | |
320 | + | |
321 | + | |
322 | + | |
323 | + <div class="section section-methods"> | |
324 | + <a title="Properties" name="properties"></a> | |
325 | + <h2 class="subtitle subtitle-methods">Properties</h2> | |
326 | + | |
327 | + <div class="section-method"> | |
328 | + <a name="//api/name/connected" title="connected"></a> | |
329 | + <h3 class="subsubtitle method-title">connected</h3> | |
330 | + | |
331 | + | |
332 | + | |
333 | + <div class="method-subsection brief-description"> | |
334 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | |
335 | + </div> | |
336 | + | |
337 | + | |
338 | + <div class="method-subsection method-declaration"><code>@property (nonatomic, getter=isConnected) BOOL connected</code></div> | |
339 | + | |
340 | + | |
341 | + | |
342 | + | |
343 | + | |
344 | + | |
345 | + | |
346 | + | |
347 | + <div class="method-subsection discussion-section"> | |
348 | + <h4 class="method-subtitle">Discussion</h4> | |
349 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | |
350 | + </div> | |
351 | + | |
352 | + | |
353 | + | |
354 | + | |
355 | + | |
356 | + | |
357 | + | |
358 | + <div class="method-subsection declared-in-section"> | |
359 | + <h4 class="method-subtitle">Declared In</h4> | |
360 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
361 | + </div> | |
362 | + | |
363 | + | |
364 | +</div> | |
365 | + | |
366 | + </div> | |
367 | + | |
368 | + | |
369 | + | |
370 | + | |
371 | + | |
372 | + <div class="section section-methods"> | |
373 | + <a title="Instance Methods" name="instance_methods"></a> | |
374 | + <h2 class="subtitle subtitle-methods">Instance Methods</h2> | |
375 | + | |
376 | + <div class="section-method"> | |
377 | + <a name="//api/name/connectToDevice:connectionDelegate:" title="connectToDevice:connectionDelegate:"></a> | |
378 | + <h3 class="subsubtitle method-title">connectToDevice:connectionDelegate:</h3> | |
379 | + | |
380 | + | |
381 | + | |
382 | + <div class="method-subsection brief-description"> | |
383 | + <p>Establishes a connection with a device</p> | |
384 | + </div> | |
385 | + | |
386 | + | |
387 | + <div class="method-subsection method-declaration"><code>- (void)connectToDevice:(EMDeviceBasicDescription *)<em>device</em> connectionDelegate:(id<EMDeviceDelegate>)<em>connDelegate</em></code></div> | |
388 | + | |
389 | + | |
390 | + | |
391 | + | |
392 | + | |
393 | + | |
394 | + | |
395 | + | |
396 | + <div class="method-subsection discussion-section"> | |
397 | + <h4 class="method-subtitle">Discussion</h4> | |
398 | + <p>Establishes a connection with a device</p> | |
399 | + </div> | |
400 | + | |
401 | + | |
402 | + | |
403 | + | |
404 | + | |
405 | + | |
406 | + | |
407 | + <div class="method-subsection declared-in-section"> | |
408 | + <h4 class="method-subtitle">Declared In</h4> | |
409 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
410 | + </div> | |
411 | + | |
412 | + | |
413 | +</div> | |
414 | + | |
415 | + <div class="section-method"> | |
416 | + <a name="//api/name/deviceType" title="deviceType"></a> | |
417 | + <h3 class="subsubtitle method-title">deviceType</h3> | |
418 | + | |
419 | + | |
420 | + | |
421 | + <div class="method-subsection brief-description"> | |
422 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | |
423 | + </div> | |
424 | + | |
425 | + | |
426 | + <div class="method-subsection method-declaration"><code>- (NSString *)deviceType</code></div> | |
427 | + | |
428 | + | |
429 | + | |
430 | + | |
431 | + | |
432 | + | |
433 | + | |
434 | + | |
435 | + <div class="method-subsection discussion-section"> | |
436 | + <h4 class="method-subtitle">Discussion</h4> | |
437 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | |
438 | + </div> | |
439 | + | |
440 | + | |
441 | + | |
442 | + | |
443 | + | |
444 | + | |
445 | + | |
446 | + <div class="method-subsection declared-in-section"> | |
447 | + <h4 class="method-subtitle">Declared In</h4> | |
448 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
449 | + </div> | |
450 | + | |
451 | + | |
452 | +</div> | |
453 | + | |
454 | + <div class="section-method"> | |
455 | + <a name="//api/name/disconnect" title="disconnect"></a> | |
456 | + <h3 class="subsubtitle method-title">disconnect</h3> | |
457 | + | |
458 | + | |
459 | + | |
460 | + <div class="method-subsection brief-description"> | |
461 | + <p>disconnects the current device.</p> | |
462 | + </div> | |
463 | + | |
464 | + | |
465 | + <div class="method-subsection method-declaration"><code>- (void)disconnect</code></div> | |
466 | + | |
467 | + | |
468 | + | |
469 | + | |
470 | + | |
471 | + | |
472 | + | |
473 | + | |
474 | + <div class="method-subsection discussion-section"> | |
475 | + <h4 class="method-subtitle">Discussion</h4> | |
476 | + <p>disconnects the current device.</p> | |
477 | + </div> | |
478 | + | |
479 | + | |
480 | + | |
481 | + | |
482 | + | |
483 | + | |
484 | + | |
485 | + <div class="method-subsection declared-in-section"> | |
486 | + <h4 class="method-subtitle">Declared In</h4> | |
487 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
488 | + </div> | |
489 | + | |
490 | + | |
491 | +</div> | |
492 | + | |
493 | + <div class="section-method"> | |
494 | + <a name="//api/name/fetch:" title="fetch:"></a> | |
495 | + <h3 class="subsubtitle method-title">fetch:</h3> | |
496 | + | |
497 | + | |
498 | + | |
499 | + <div class="method-subsection brief-description"> | |
500 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | |
501 | + </div> | |
502 | + | |
503 | + | |
504 | + <div class="method-subsection method-declaration"><code>- (void)fetch:(EMResourceValue *)<em>value</em></code></div> | |
505 | + | |
506 | + | |
507 | + | |
508 | + | |
509 | + | |
510 | + | |
511 | + | |
512 | + | |
513 | + <div class="method-subsection discussion-section"> | |
514 | + <h4 class="method-subtitle">Discussion</h4> | |
515 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | |
516 | + </div> | |
517 | + | |
518 | + | |
519 | + | |
520 | + | |
521 | + | |
522 | + | |
523 | + | |
524 | + <div class="method-subsection declared-in-section"> | |
525 | + <h4 class="method-subtitle">Declared In</h4> | |
526 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
527 | + </div> | |
528 | + | |
529 | + | |
530 | +</div> | |
531 | + | |
532 | + <div class="section-method"> | |
533 | + <a name="//api/name/fetchSystemResource:" title="fetchSystemResource:"></a> | |
534 | + <h3 class="subsubtitle method-title">fetchSystemResource:</h3> | |
535 | + | |
536 | + | |
537 | + | |
538 | + <div class="method-subsection brief-description"> | |
539 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | |
540 | + </div> | |
541 | + | |
542 | + | |
543 | + <div class="method-subsection method-declaration"><code>- (void)fetchSystemResource:(EMResourceValue *)<em>value</em></code></div> | |
544 | + | |
545 | + | |
546 | + | |
547 | + | |
548 | + | |
549 | + | |
550 | + | |
551 | + | |
552 | + <div class="method-subsection discussion-section"> | |
553 | + <h4 class="method-subtitle">Discussion</h4> | |
554 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | |
555 | + </div> | |
556 | + | |
557 | + | |
558 | + | |
559 | + | |
560 | + | |
561 | + | |
562 | + | |
563 | + <div class="method-subsection declared-in-section"> | |
564 | + <h4 class="method-subtitle">Declared In</h4> | |
565 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
566 | + </div> | |
567 | + | |
568 | + | |
569 | +</div> | |
570 | + | |
571 | + <div class="section-method"> | |
572 | + <a name="//api/name/isAvailable" title="isAvailable"></a> | |
573 | + <h3 class="subsubtitle method-title">isAvailable</h3> | |
574 | + | |
575 | + | |
576 | + | |
577 | + <div class="method-subsection brief-description"> | |
578 | + <p>YES if available on the current device, NO if unavailable.</p> | |
579 | + </div> | |
580 | + | |
581 | + | |
582 | + <div class="method-subsection method-declaration"><code>- (BOOL)isAvailable</code></div> | |
583 | + | |
584 | + | |
585 | + | |
586 | + | |
587 | + | |
588 | + | |
589 | + | |
590 | + | |
591 | + <div class="method-subsection discussion-section"> | |
592 | + <h4 class="method-subtitle">Discussion</h4> | |
593 | + <p>YES if available on the current device, NO if unavailable.</p> | |
594 | + </div> | |
595 | + | |
596 | + | |
597 | + | |
598 | + | |
599 | + | |
600 | + | |
601 | + | |
602 | + <div class="method-subsection declared-in-section"> | |
603 | + <h4 class="method-subtitle">Declared In</h4> | |
604 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
605 | + </div> | |
606 | + | |
607 | + | |
608 | +</div> | |
609 | + | |
610 | + <div class="section-method"> | |
611 | + <a name="//api/name/startUpdating" title="startUpdating"></a> | |
612 | + <h3 class="subsubtitle method-title">startUpdating</h3> | |
613 | + | |
614 | + | |
615 | + | |
616 | + <div class="method-subsection brief-description"> | |
617 | + <p>Tells the connection to start looking for devices of its type.</p> | |
618 | + </div> | |
619 | + | |
620 | + | |
621 | + <div class="method-subsection method-declaration"><code>- (void)startUpdating</code></div> | |
622 | + | |
623 | + | |
624 | + | |
625 | + | |
626 | + | |
627 | + | |
628 | + | |
629 | + | |
630 | + <div class="method-subsection discussion-section"> | |
631 | + <h4 class="method-subtitle">Discussion</h4> | |
632 | + <p>Tells the connection to start looking for devices of its type.</p> | |
633 | + </div> | |
634 | + | |
635 | + | |
636 | + | |
637 | + | |
638 | + | |
639 | + | |
640 | + | |
641 | + <div class="method-subsection declared-in-section"> | |
642 | + <h4 class="method-subtitle">Declared In</h4> | |
643 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
644 | + </div> | |
645 | + | |
646 | + | |
647 | +</div> | |
648 | + | |
649 | + <div class="section-method"> | |
650 | + <a name="//api/name/stopUpdating" title="stopUpdating"></a> | |
651 | + <h3 class="subsubtitle method-title">stopUpdating</h3> | |
652 | + | |
653 | + | |
654 | + | |
655 | + <div class="method-subsection brief-description"> | |
656 | + <p>Tells the connection to stop looking for devices of its type.</p> | |
657 | + </div> | |
658 | + | |
659 | + | |
660 | + <div class="method-subsection method-declaration"><code>- (void)stopUpdating</code></div> | |
661 | + | |
662 | + | |
663 | + | |
664 | + | |
665 | + | |
666 | + | |
667 | + | |
668 | + | |
669 | + <div class="method-subsection discussion-section"> | |
670 | + <h4 class="method-subtitle">Discussion</h4> | |
671 | + <p>Tells the connection to stop looking for devices of its type.</p> | |
672 | + </div> | |
673 | + | |
674 | + | |
675 | + | |
676 | + | |
677 | + | |
678 | + | |
679 | + | |
680 | + <div class="method-subsection declared-in-section"> | |
681 | + <h4 class="method-subtitle">Declared In</h4> | |
682 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
683 | + </div> | |
684 | + | |
685 | + | |
686 | +</div> | |
687 | + | |
688 | + <div class="section-method"> | |
689 | + <a name="//api/name/store:" title="store:"></a> | |
690 | + <h3 class="subsubtitle method-title">store:</h3> | |
691 | + | |
692 | + | |
693 | + | |
694 | + <div class="method-subsection brief-description"> | |
695 | + <p>writes a value to a device.</p> | |
696 | + </div> | |
697 | + | |
698 | + | |
699 | + <div class="method-subsection method-declaration"><code>- (void)store:(EMResourceValue *)<em>value</em></code></div> | |
700 | + | |
701 | + | |
702 | + | |
703 | + | |
704 | + | |
705 | + | |
706 | + | |
707 | + | |
708 | + <div class="method-subsection discussion-section"> | |
709 | + <h4 class="method-subtitle">Discussion</h4> | |
710 | + <p>writes a value to a device.</p> | |
711 | + </div> | |
712 | + | |
713 | + | |
714 | + | |
715 | + | |
716 | + | |
717 | + | |
718 | + | |
719 | + <div class="method-subsection declared-in-section"> | |
720 | + <h4 class="method-subtitle">Declared In</h4> | |
721 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
722 | + </div> | |
723 | + | |
724 | + | |
725 | +</div> | |
726 | + | |
727 | + </div> | |
728 | + | |
729 | + | |
730 | + </div> | |
731 | + <div class="main-navigation navigation-bottom"> | |
732 | + <ul> | |
733 | + <li><a href="../index.html">Index</a></li> | |
734 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
735 | +</ul> | |
736 | + </div> | |
737 | + <div id="footer"> | |
738 | + <hr /> | |
739 | + | |
740 | + <style> | |
741 | + #em-footer | |
742 | + { | |
743 | + background-color: #fff; | |
744 | + height: 100px; | |
745 | + font-size: 90%; | |
746 | + overflow: hidden; | |
747 | + } | |
748 | + | |
749 | + #em-footer_logo_container | |
750 | + { | |
751 | + position: relative; | |
752 | + background-color: #d2d2d2; | |
753 | + height: 70px; | |
754 | + margin-bottom: 3px; | |
755 | + } | |
756 | + | |
757 | + #em-footer_logo_container a | |
758 | + { | |
759 | + position: absolute; | |
760 | + right: 7px; | |
761 | + top: 7px; | |
762 | + } | |
763 | + | |
764 | + </style> | |
765 | + | |
766 | + <!-- begin em-footer --> | |
767 | + <div id="em-footer"> | |
768 | + <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img | |
769 | + src="http://www.emmoco.com/images/logo_emhub_footer.png" | |
770 | + alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> | |
771 | + </div> | |
772 | + | |
773 | + <div class="footer-copyright"> | |
774 | + <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-21)</span><br /> | |
775 | + | |
776 | + <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> | |
777 | + | |
778 | + </div> | |
779 | + </div> | |
780 | + </div> | |
781 | + </article> | |
782 | + <script type="text/javascript"> | |
783 | + function jumpToChange() | |
784 | + { | |
785 | + window.location.hash = this.options[this.selectedIndex].value; | |
786 | + } | |
787 | + | |
788 | + function toggleTOC() | |
789 | + { | |
790 | + var contents = document.getElementById('contents'); | |
791 | + var tocContainer = document.getElementById('tocContainer'); | |
792 | + | |
793 | + if (this.getAttribute('class') == 'open') | |
794 | + { | |
795 | + this.setAttribute('class', ''); | |
796 | + contents.setAttribute('class', ''); | |
797 | + tocContainer.setAttribute('class', ''); | |
798 | + | |
799 | + window.name = "hideTOC"; | |
800 | + } | |
801 | + else | |
802 | + { | |
803 | + this.setAttribute('class', 'open'); | |
804 | + contents.setAttribute('class', 'isShowingTOC'); | |
805 | + tocContainer.setAttribute('class', 'isShowingTOC'); | |
806 | + | |
807 | + window.name = ""; | |
808 | + } | |
809 | + return false; | |
810 | + } | |
811 | + | |
812 | + function toggleTOCEntryChildren(e) | |
813 | + { | |
814 | + e.stopPropagation(); | |
815 | + var currentClass = this.getAttribute('class'); | |
816 | + if (currentClass == 'children') { | |
817 | + this.setAttribute('class', 'children open'); | |
818 | + } | |
819 | + else if (currentClass == 'children open') { | |
820 | + this.setAttribute('class', 'children'); | |
821 | + } | |
822 | + return false; | |
823 | + } | |
824 | + | |
825 | + function tocEntryClick(e) | |
826 | + { | |
827 | + e.stopPropagation(); | |
828 | + return true; | |
829 | + } | |
830 | + | |
831 | + function init() | |
832 | + { | |
833 | + var selectElement = document.getElementById('jumpTo'); | |
834 | + selectElement.addEventListener('change', jumpToChange, false); | |
835 | + | |
836 | + var tocButton = document.getElementById('table_of_contents'); | |
837 | + tocButton.addEventListener('click', toggleTOC, false); | |
838 | + | |
839 | + var taskTreeItem = document.getElementById('task_treeitem'); | |
840 | + if (taskTreeItem.getElementsByTagName('li').length > 0) | |
841 | + { | |
842 | + taskTreeItem.setAttribute('class', 'children'); | |
843 | + taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | |
844 | + } | |
845 | + | |
846 | + var tocList = document.getElementById('toc'); | |
847 | + | |
848 | + var tocEntries = tocList.getElementsByTagName('li'); | |
849 | + for (var i = 0; i < tocEntries.length; i++) { | |
850 | + tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | |
851 | + } | |
852 | + | |
853 | + var tocLinks = tocList.getElementsByTagName('a'); | |
854 | + for (var i = 0; i < tocLinks.length; i++) { | |
855 | + tocLinks[i].addEventListener('click', tocEntryClick, false); | |
856 | + } | |
857 | + | |
858 | + if (window.name == "hideTOC") { | |
859 | + toggleTOC.call(tocButton); | |
860 | + } | |
861 | + } | |
862 | + | |
863 | + window.onload = init; | |
864 | + </script> | |
865 | + </body> | |
866 | +</html> | |
0 | 867 | \ No newline at end of file | ... | ... |
EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v13.html
0 โ 100644
1 | +<!DOCTYPE HTML> | |
2 | +<html> | |
3 | + <head> | |
4 | + <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | |
5 | + <title>EMBluetoothLowEnergyConnectionType_v13 Class Reference</title> | |
6 | + <meta id="xcode-display" name="xcode-display" content="render"/> | |
7 | + <meta name="viewport" content="width=550" /> | |
8 | + <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | |
9 | + <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | |
10 | + <meta name="generator" content="appledoc 2.2 (build 961)" /> | |
11 | + </head> | |
12 | + <body> | |
13 | + | |
14 | + <div id="em-wrapper"> | |
15 | + <style> | |
16 | + #utility_bar | |
17 | + { | |
18 | + position: relative; | |
19 | + height: 35px; | |
20 | + /*background: #231f20 url(../images/bg_tagline.png) no-repeat right | |
21 | + center;*/ | |
22 | + background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; | |
23 | + color: #efefef; | |
24 | + overflow: hidden; | |
25 | + padding-left: 10px; | |
26 | + } | |
27 | + | |
28 | + #utility_bar p | |
29 | + { | |
30 | + margin-top: 9px; | |
31 | + margin-bottom: 0; | |
32 | + } | |
33 | + | |
34 | + #utility_bar a | |
35 | + { | |
36 | + color: #efefef; | |
37 | + margin-right: 15px; | |
38 | + padding: 2px; | |
39 | + } | |
40 | + | |
41 | + #utility_bar a:hover | |
42 | + { | |
43 | + color: #fff; | |
44 | + } | |
45 | + | |
46 | + #utility_bar a.selected | |
47 | + { | |
48 | + text-decoration: none; | |
49 | + background-color: #555; | |
50 | + } | |
51 | + </style> | |
52 | + <!-- begin utility bar --> | |
53 | + <div id="utility_bar"> | |
54 | + | |
55 | + <!-- user info / logout link --> | |
56 | + <p> | |
57 | + <a href="http://em-hub.com/">Em-Hub</a> | |
58 | + <a href="http://wiki.emmoco.com/">Wiki</a> | |
59 | + <a href="http://android.emmoco.com/">Android Docs</a> | |
60 | + <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> | |
61 | + <a href="http://support.emmoco.com/">Support</a> | |
62 | + </p> | |
63 | + | |
64 | + </div> | |
65 | + <!-- end utility bar --> | |
66 | + | |
67 | + <header id="top_header"> | |
68 | + <div id="library" class="hideInXcode"> | |
69 | + <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> | |
70 | + <a id="developerHome" href="../index.html">Emmoco, Inc.</a> | |
71 | + </div> | |
72 | + | |
73 | + <div id="title" role="banner"> | |
74 | + <h1 class="hideInXcode">EMBluetoothLowEnergyConnectionType_v13 Class Reference</h1> | |
75 | + </div> | |
76 | + <ul id="headerButtons" role="toolbar"> | |
77 | + <li id="toc_button"> | |
78 | + <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | |
79 | + </li> | |
80 | + <li id="jumpto_button" role="navigation"> | |
81 | + <select id="jumpTo"> | |
82 | + <option value="top">Jump To…</option> | |
83 | + | |
84 | + <option value="overview">Overview</option> | |
85 | + | |
86 | + | |
87 | + | |
88 | + | |
89 | + <option value="tasks">Tasks</option> | |
90 | + | |
91 | + | |
92 | + | |
93 | + | |
94 | + | |
95 | + <option value="properties">Properties</option> | |
96 | + | |
97 | + <option value="//api/name/connected"> connected</option> | |
98 | + | |
99 | + | |
100 | + | |
101 | + | |
102 | + | |
103 | + | |
104 | + <option value="instance_methods">Instance Methods</option> | |
105 | + | |
106 | + <option value="//api/name/connectToDevice:connectionDelegate:"> - connectToDevice:connectionDelegate:</option> | |
107 | + | |
108 | + <option value="//api/name/deviceType"> - deviceType</option> | |
109 | + | |
110 | + <option value="//api/name/disconnect"> - disconnect</option> | |
111 | + | |
112 | + <option value="//api/name/fetch:"> - fetch:</option> | |
113 | + | |
114 | + <option value="//api/name/fetchSystemResource:"> - fetchSystemResource:</option> | |
115 | + | |
116 | + <option value="//api/name/isAvailable"> - isAvailable</option> | |
117 | + | |
118 | + <option value="//api/name/startUpdating"> - startUpdating</option> | |
119 | + | |
120 | + <option value="//api/name/stopUpdating"> - stopUpdating</option> | |
121 | + | |
122 | + <option value="//api/name/store:"> - store:</option> | |
123 | + | |
124 | + | |
125 | + | |
126 | +</select> | |
127 | + </li> | |
128 | + </ul> | |
129 | + </header> | |
130 | + <nav id="tocContainer" class="isShowingTOC"> | |
131 | + <ul id="toc" role="tree"> | |
132 | + | |
133 | +<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li> | |
134 | + | |
135 | + | |
136 | + | |
137 | + | |
138 | +<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> | |
139 | + | |
140 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Extension Methods">Extension Methods</a></span></li> | |
141 | + | |
142 | +</ul></li> | |
143 | + | |
144 | + | |
145 | + | |
146 | + | |
147 | + | |
148 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul> | |
149 | + | |
150 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connected">connected</a></span></li> | |
151 | + | |
152 | +</ul></li> | |
153 | + | |
154 | + | |
155 | + | |
156 | + | |
157 | + | |
158 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> | |
159 | + | |
160 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connectToDevice:connectionDelegate:">connectToDevice:connectionDelegate:</a></span></li> | |
161 | + | |
162 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/deviceType">deviceType</a></span></li> | |
163 | + | |
164 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/disconnect">disconnect</a></span></li> | |
165 | + | |
166 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetch:">fetch:</a></span></li> | |
167 | + | |
168 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetchSystemResource:">fetchSystemResource:</a></span></li> | |
169 | + | |
170 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isAvailable">isAvailable</a></span></li> | |
171 | + | |
172 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/startUpdating">startUpdating</a></span></li> | |
173 | + | |
174 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopUpdating">stopUpdating</a></span></li> | |
175 | + | |
176 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/store:">store:</a></span></li> | |
177 | + | |
178 | +</ul></li> | |
179 | + | |
180 | + | |
181 | + </ul> | |
182 | + </nav> | |
183 | + <article> | |
184 | + <div id="contents" class="isShowingTOC" role="main"> | |
185 | + <a title="EMBluetoothLowEnergyConnectionType_v13 Class Reference" name="top"></a> | |
186 | + <div class="main-navigation navigation-top"> | |
187 | + <ul> | |
188 | + <li><a href="../index.html">Index</a></li> | |
189 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
190 | +</ul> | |
191 | + </div> | |
192 | + <div id="header"> | |
193 | + <div class="section-header"> | |
194 | + <h1 class="title title-header">EMBluetoothLowEnergyConnectionType_v13 Class Reference</h1> | |
195 | + </div> | |
196 | + </div> | |
197 | + <div id="container"> | |
198 | + | |
199 | + <div class="section section-specification"><table cellspacing="0"><tbody> | |
200 | + <tr> | |
201 | + <td class="specification-title">Inherits from</td> | |
202 | + <td class="specification-value">NSObject</td> | |
203 | +</tr><tr> | |
204 | + <td class="specification-title">Conforms to</td> | |
205 | + <td class="specification-value">CBCentralManagerDelegate<br />CBPeripheralDelegate<br /><a href="../Protocols/EMConnectionType.html">EMConnectionType</a></td> | |
206 | +</tr><tr> | |
207 | + <td class="specification-title">Declared in</td> | |
208 | + <td class="specification-value">EMBluetoothLowEnergyConnectionType_v13.h<br />EMBluetoothLowEnergyConnectionType_v13.m</td> | |
209 | +</tr> | |
210 | + </tbody></table></div> | |
211 | + | |
212 | + | |
213 | + | |
214 | + | |
215 | + <div class="section section-overview"> | |
216 | + <a title="Overview" name="overview"></a> | |
217 | + <h2 class="subtitle subtitle-overview">Overview</h2> | |
218 | + <p>EMBluethoothLowEnergyConnectionType is a concrete <a href="../Protocols/EMConnectionType.html">EMConnectionType</a> for Bluetooth Low Energy.</p> | |
219 | + | |
220 | +<p>If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to <a href="../Classes/EMConnectionListManager.html">EMConnectionListManager</a> via the -addConnectionTypeToUpdates: method.</p> | |
221 | + </div> | |
222 | + | |
223 | + | |
224 | + | |
225 | + | |
226 | + | |
227 | + <div class="section section-tasks"> | |
228 | + <a title="Tasks" name="tasks"></a> | |
229 | + <h2 class="subtitle subtitle-tasks">Tasks</h2> | |
230 | + | |
231 | + | |
232 | + | |
233 | + <h3 class="subsubtitle task-title">Other Methods</h3> | |
234 | + | |
235 | + <ul class="task-list"> | |
236 | + <li> | |
237 | + <span class="tooltip"> | |
238 | + <code><a href="#//api/name/isAvailable">– isAvailable</a></code> | |
239 | + <span class="tooltip"><p>YES if available on the current device, NO if unavailable.</p></span> | |
240 | + </span> | |
241 | + | |
242 | + | |
243 | +</li><li> | |
244 | + <span class="tooltip"> | |
245 | + <code><a href="#//api/name/startUpdating">– startUpdating</a></code> | |
246 | + <span class="tooltip"><p>Tells the connection to start looking for devices of its type.</p></span> | |
247 | + </span> | |
248 | + | |
249 | + | |
250 | +</li><li> | |
251 | + <span class="tooltip"> | |
252 | + <code><a href="#//api/name/stopUpdating">– stopUpdating</a></code> | |
253 | + <span class="tooltip"><p>Tells the connection to stop looking for devices of its type.</p></span> | |
254 | + </span> | |
255 | + | |
256 | + | |
257 | +</li><li> | |
258 | + <span class="tooltip"> | |
259 | + <code><a href="#//api/name/deviceType">– deviceType</a></code> | |
260 | + <span class="tooltip"><p>The type of device - this can be set to anything and retreived for printing or examining.</p></span> | |
261 | + </span> | |
262 | + | |
263 | + | |
264 | +</li><li> | |
265 | + <span class="tooltip"> | |
266 | + <code><a href="#//api/name/connectToDevice:connectionDelegate:">– connectToDevice:connectionDelegate:</a></code> | |
267 | + <span class="tooltip"><p>Establishes a connection with a device</p></span> | |
268 | + </span> | |
269 | + | |
270 | + | |
271 | +</li><li> | |
272 | + <span class="tooltip"> | |
273 | + <code><a href="#//api/name/disconnect">– disconnect</a></code> | |
274 | + <span class="tooltip"><p>disconnects the current device.</p></span> | |
275 | + </span> | |
276 | + | |
277 | + | |
278 | +</li><li> | |
279 | + <span class="tooltip"> | |
280 | + <code><a href="#//api/name/fetch:">– fetch:</a></code> | |
281 | + <span class="tooltip"><p>Fetches a resource. Can be retrieved in “lastReadValue”</p></span> | |
282 | + </span> | |
283 | + | |
284 | + | |
285 | +</li><li> | |
286 | + <span class="tooltip"> | |
287 | + <code><a href="#//api/name/fetchSystemResource:">– fetchSystemResource:</a></code> | |
288 | + <span class="tooltip"><p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p></span> | |
289 | + </span> | |
290 | + | |
291 | + | |
292 | +</li><li> | |
293 | + <span class="tooltip"> | |
294 | + <code><a href="#//api/name/store:">– store:</a></code> | |
295 | + <span class="tooltip"><p>writes a value to a device.</p></span> | |
296 | + </span> | |
297 | + | |
298 | + | |
299 | +</li> | |
300 | + </ul> | |
301 | + | |
302 | + | |
303 | + <a title="Extension Methods" name="task_Extension Methods"></a> | |
304 | + <h3 class="subsubtitle task-title">Extension Methods</h3> | |
305 | + | |
306 | + <ul class="task-list"> | |
307 | + <li> | |
308 | + <span class="tooltip"> | |
309 | + <code><a href="#//api/name/connected"> connected</a></code> | |
310 | + <span class="tooltip"><p>A boolean indicating whether or not there is a connection with a device.</p></span> | |
311 | + </span> | |
312 | + <span class="task-item-suffix">property</span> | |
313 | + | |
314 | +</li> | |
315 | + </ul> | |
316 | + | |
317 | + </div> | |
318 | + | |
319 | + | |
320 | + | |
321 | + | |
322 | + | |
323 | + <div class="section section-methods"> | |
324 | + <a title="Properties" name="properties"></a> | |
325 | + <h2 class="subtitle subtitle-methods">Properties</h2> | |
326 | + | |
327 | + <div class="section-method"> | |
328 | + <a name="//api/name/connected" title="connected"></a> | |
329 | + <h3 class="subsubtitle method-title">connected</h3> | |
330 | + | |
331 | + | |
332 | + | |
333 | + <div class="method-subsection brief-description"> | |
334 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | |
335 | + </div> | |
336 | + | |
337 | + | |
338 | + <div class="method-subsection method-declaration"><code>@property (nonatomic, getter=isConnected) BOOL connected</code></div> | |
339 | + | |
340 | + | |
341 | + | |
342 | + | |
343 | + | |
344 | + | |
345 | + | |
346 | + | |
347 | + <div class="method-subsection discussion-section"> | |
348 | + <h4 class="method-subtitle">Discussion</h4> | |
349 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | |
350 | + </div> | |
351 | + | |
352 | + | |
353 | + | |
354 | + | |
355 | + | |
356 | + | |
357 | + | |
358 | + <div class="method-subsection declared-in-section"> | |
359 | + <h4 class="method-subtitle">Declared In</h4> | |
360 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
361 | + </div> | |
362 | + | |
363 | + | |
364 | +</div> | |
365 | + | |
366 | + </div> | |
367 | + | |
368 | + | |
369 | + | |
370 | + | |
371 | + | |
372 | + <div class="section section-methods"> | |
373 | + <a title="Instance Methods" name="instance_methods"></a> | |
374 | + <h2 class="subtitle subtitle-methods">Instance Methods</h2> | |
375 | + | |
376 | + <div class="section-method"> | |
377 | + <a name="//api/name/connectToDevice:connectionDelegate:" title="connectToDevice:connectionDelegate:"></a> | |
378 | + <h3 class="subsubtitle method-title">connectToDevice:connectionDelegate:</h3> | |
379 | + | |
380 | + | |
381 | + | |
382 | + <div class="method-subsection brief-description"> | |
383 | + <p>Establishes a connection with a device</p> | |
384 | + </div> | |
385 | + | |
386 | + | |
387 | + <div class="method-subsection method-declaration"><code>- (void)connectToDevice:(EMDeviceBasicDescription *)<em>device</em> connectionDelegate:(id<EMDeviceDelegate>)<em>connDelegate</em></code></div> | |
388 | + | |
389 | + | |
390 | + | |
391 | + | |
392 | + | |
393 | + | |
394 | + | |
395 | + | |
396 | + <div class="method-subsection discussion-section"> | |
397 | + <h4 class="method-subtitle">Discussion</h4> | |
398 | + <p>Establishes a connection with a device</p> | |
399 | + </div> | |
400 | + | |
401 | + | |
402 | + | |
403 | + | |
404 | + | |
405 | + | |
406 | + | |
407 | + <div class="method-subsection declared-in-section"> | |
408 | + <h4 class="method-subtitle">Declared In</h4> | |
409 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
410 | + </div> | |
411 | + | |
412 | + | |
413 | +</div> | |
414 | + | |
415 | + <div class="section-method"> | |
416 | + <a name="//api/name/deviceType" title="deviceType"></a> | |
417 | + <h3 class="subsubtitle method-title">deviceType</h3> | |
418 | + | |
419 | + | |
420 | + | |
421 | + <div class="method-subsection brief-description"> | |
422 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | |
423 | + </div> | |
424 | + | |
425 | + | |
426 | + <div class="method-subsection method-declaration"><code>- (NSString *)deviceType</code></div> | |
427 | + | |
428 | + | |
429 | + | |
430 | + | |
431 | + | |
432 | + | |
433 | + | |
434 | + | |
435 | + <div class="method-subsection discussion-section"> | |
436 | + <h4 class="method-subtitle">Discussion</h4> | |
437 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | |
438 | + </div> | |
439 | + | |
440 | + | |
441 | + | |
442 | + | |
443 | + | |
444 | + | |
445 | + | |
446 | + <div class="method-subsection declared-in-section"> | |
447 | + <h4 class="method-subtitle">Declared In</h4> | |
448 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
449 | + </div> | |
450 | + | |
451 | + | |
452 | +</div> | |
453 | + | |
454 | + <div class="section-method"> | |
455 | + <a name="//api/name/disconnect" title="disconnect"></a> | |
456 | + <h3 class="subsubtitle method-title">disconnect</h3> | |
457 | + | |
458 | + | |
459 | + | |
460 | + <div class="method-subsection brief-description"> | |
461 | + <p>disconnects the current device.</p> | |
462 | + </div> | |
463 | + | |
464 | + | |
465 | + <div class="method-subsection method-declaration"><code>- (void)disconnect</code></div> | |
466 | + | |
467 | + | |
468 | + | |
469 | + | |
470 | + | |
471 | + | |
472 | + | |
473 | + | |
474 | + <div class="method-subsection discussion-section"> | |
475 | + <h4 class="method-subtitle">Discussion</h4> | |
476 | + <p>disconnects the current device.</p> | |
477 | + </div> | |
478 | + | |
479 | + | |
480 | + | |
481 | + | |
482 | + | |
483 | + | |
484 | + | |
485 | + <div class="method-subsection declared-in-section"> | |
486 | + <h4 class="method-subtitle">Declared In</h4> | |
487 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
488 | + </div> | |
489 | + | |
490 | + | |
491 | +</div> | |
492 | + | |
493 | + <div class="section-method"> | |
494 | + <a name="//api/name/fetch:" title="fetch:"></a> | |
495 | + <h3 class="subsubtitle method-title">fetch:</h3> | |
496 | + | |
497 | + | |
498 | + | |
499 | + <div class="method-subsection brief-description"> | |
500 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | |
501 | + </div> | |
502 | + | |
503 | + | |
504 | + <div class="method-subsection method-declaration"><code>- (void)fetch:(EMResourceValue *)<em>value</em></code></div> | |
505 | + | |
506 | + | |
507 | + | |
508 | + | |
509 | + | |
510 | + | |
511 | + | |
512 | + | |
513 | + <div class="method-subsection discussion-section"> | |
514 | + <h4 class="method-subtitle">Discussion</h4> | |
515 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | |
516 | + </div> | |
517 | + | |
518 | + | |
519 | + | |
520 | + | |
521 | + | |
522 | + | |
523 | + | |
524 | + <div class="method-subsection declared-in-section"> | |
525 | + <h4 class="method-subtitle">Declared In</h4> | |
526 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
527 | + </div> | |
528 | + | |
529 | + | |
530 | +</div> | |
531 | + | |
532 | + <div class="section-method"> | |
533 | + <a name="//api/name/fetchSystemResource:" title="fetchSystemResource:"></a> | |
534 | + <h3 class="subsubtitle method-title">fetchSystemResource:</h3> | |
535 | + | |
536 | + | |
537 | + | |
538 | + <div class="method-subsection brief-description"> | |
539 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | |
540 | + </div> | |
541 | + | |
542 | + | |
543 | + <div class="method-subsection method-declaration"><code>- (void)fetchSystemResource:(EMResourceValue *)<em>value</em></code></div> | |
544 | + | |
545 | + | |
546 | + | |
547 | + | |
548 | + | |
549 | + | |
550 | + | |
551 | + | |
552 | + <div class="method-subsection discussion-section"> | |
553 | + <h4 class="method-subtitle">Discussion</h4> | |
554 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | |
555 | + </div> | |
556 | + | |
557 | + | |
558 | + | |
559 | + | |
560 | + | |
561 | + | |
562 | + | |
563 | + <div class="method-subsection declared-in-section"> | |
564 | + <h4 class="method-subtitle">Declared In</h4> | |
565 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
566 | + </div> | |
567 | + | |
568 | + | |
569 | +</div> | |
570 | + | |
571 | + <div class="section-method"> | |
572 | + <a name="//api/name/isAvailable" title="isAvailable"></a> | |
573 | + <h3 class="subsubtitle method-title">isAvailable</h3> | |
574 | + | |
575 | + | |
576 | + | |
577 | + <div class="method-subsection brief-description"> | |
578 | + <p>YES if available on the current device, NO if unavailable.</p> | |
579 | + </div> | |
580 | + | |
581 | + | |
582 | + <div class="method-subsection method-declaration"><code>- (BOOL)isAvailable</code></div> | |
583 | + | |
584 | + | |
585 | + | |
586 | + | |
587 | + | |
588 | + | |
589 | + | |
590 | + | |
591 | + <div class="method-subsection discussion-section"> | |
592 | + <h4 class="method-subtitle">Discussion</h4> | |
593 | + <p>YES if available on the current device, NO if unavailable.</p> | |
594 | + </div> | |
595 | + | |
596 | + | |
597 | + | |
598 | + | |
599 | + | |
600 | + | |
601 | + | |
602 | + <div class="method-subsection declared-in-section"> | |
603 | + <h4 class="method-subtitle">Declared In</h4> | |
604 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
605 | + </div> | |
606 | + | |
607 | + | |
608 | +</div> | |
609 | + | |
610 | + <div class="section-method"> | |
611 | + <a name="//api/name/startUpdating" title="startUpdating"></a> | |
612 | + <h3 class="subsubtitle method-title">startUpdating</h3> | |
613 | + | |
614 | + | |
615 | + | |
616 | + <div class="method-subsection brief-description"> | |
617 | + <p>Tells the connection to start looking for devices of its type.</p> | |
618 | + </div> | |
619 | + | |
620 | + | |
621 | + <div class="method-subsection method-declaration"><code>- (void)startUpdating</code></div> | |
622 | + | |
623 | + | |
624 | + | |
625 | + | |
626 | + | |
627 | + | |
628 | + | |
629 | + | |
630 | + <div class="method-subsection discussion-section"> | |
631 | + <h4 class="method-subtitle">Discussion</h4> | |
632 | + <p>Tells the connection to start looking for devices of its type.</p> | |
633 | + </div> | |
634 | + | |
635 | + | |
636 | + | |
637 | + | |
638 | + | |
639 | + | |
640 | + | |
641 | + <div class="method-subsection declared-in-section"> | |
642 | + <h4 class="method-subtitle">Declared In</h4> | |
643 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
644 | + </div> | |
645 | + | |
646 | + | |
647 | +</div> | |
648 | + | |
649 | + <div class="section-method"> | |
650 | + <a name="//api/name/stopUpdating" title="stopUpdating"></a> | |
651 | + <h3 class="subsubtitle method-title">stopUpdating</h3> | |
652 | + | |
653 | + | |
654 | + | |
655 | + <div class="method-subsection brief-description"> | |
656 | + <p>Tells the connection to stop looking for devices of its type.</p> | |
657 | + </div> | |
658 | + | |
659 | + | |
660 | + <div class="method-subsection method-declaration"><code>- (void)stopUpdating</code></div> | |
661 | + | |
662 | + | |
663 | + | |
664 | + | |
665 | + | |
666 | + | |
667 | + | |
668 | + | |
669 | + <div class="method-subsection discussion-section"> | |
670 | + <h4 class="method-subtitle">Discussion</h4> | |
671 | + <p>Tells the connection to stop looking for devices of its type.</p> | |
672 | + </div> | |
673 | + | |
674 | + | |
675 | + | |
676 | + | |
677 | + | |
678 | + | |
679 | + | |
680 | + <div class="method-subsection declared-in-section"> | |
681 | + <h4 class="method-subtitle">Declared In</h4> | |
682 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
683 | + </div> | |
684 | + | |
685 | + | |
686 | +</div> | |
687 | + | |
688 | + <div class="section-method"> | |
689 | + <a name="//api/name/store:" title="store:"></a> | |
690 | + <h3 class="subsubtitle method-title">store:</h3> | |
691 | + | |
692 | + | |
693 | + | |
694 | + <div class="method-subsection brief-description"> | |
695 | + <p>writes a value to a device.</p> | |
696 | + </div> | |
697 | + | |
698 | + | |
699 | + <div class="method-subsection method-declaration"><code>- (void)store:(EMResourceValue *)<em>value</em></code></div> | |
700 | + | |
701 | + | |
702 | + | |
703 | + | |
704 | + | |
705 | + | |
706 | + | |
707 | + | |
708 | + <div class="method-subsection discussion-section"> | |
709 | + <h4 class="method-subtitle">Discussion</h4> | |
710 | + <p>writes a value to a device.</p> | |
711 | + </div> | |
712 | + | |
713 | + | |
714 | + | |
715 | + | |
716 | + | |
717 | + | |
718 | + | |
719 | + <div class="method-subsection declared-in-section"> | |
720 | + <h4 class="method-subtitle">Declared In</h4> | |
721 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | |
722 | + </div> | |
723 | + | |
724 | + | |
725 | +</div> | |
726 | + | |
727 | + </div> | |
728 | + | |
729 | + | |
730 | + </div> | |
731 | + <div class="main-navigation navigation-bottom"> | |
732 | + <ul> | |
733 | + <li><a href="../index.html">Index</a></li> | |
734 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | |
735 | +</ul> | |
736 | + </div> | |
737 | + <div id="footer"> | |
738 | + <hr /> | |
739 | + | |
740 | + <style> | |
741 | + #em-footer | |
742 | + { | |
743 | + background-color: #fff; | |
744 | + height: 100px; | |
745 | + font-size: 90%; | |
746 | + overflow: hidden; | |
747 | + } | |
748 | + | |
749 | + #em-footer_logo_container | |
750 | + { | |
751 | + position: relative; | |
752 | + background-color: #d2d2d2; | |
753 | + height: 70px; | |
754 | + margin-bottom: 3px; | |
755 | + } | |
756 | + | |
757 | + #em-footer_logo_container a | |
758 | + { | |
759 | + position: absolute; | |
760 | + right: 7px; | |
761 | + top: 7px; | |
762 | + } | |
763 | + | |
764 | + </style> | |
765 | + | |
766 | + <!-- begin em-footer --> | |
767 | + <div id="em-footer"> | |
768 | + <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img | |
769 | + src="http://www.emmoco.com/images/logo_emhub_footer.png" | |
770 | + alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> | |
771 | + </div> | |
772 | + | |
773 | + <div class="footer-copyright"> | |
774 | + <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-21)</span><br /> | |
775 | + | |
776 | + <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> | |
777 | + | |
778 | + </div> | |
779 | + </div> | |
780 | + </div> | |
781 | + </article> | |
782 | + <script type="text/javascript"> | |
783 | + function jumpToChange() | |
784 | + { | |
785 | + window.location.hash = this.options[this.selectedIndex].value; | |
786 | + } | |
787 | + | |
788 | + function toggleTOC() | |
789 | + { | |
790 | + var contents = document.getElementById('contents'); | |
791 | + var tocContainer = document.getElementById('tocContainer'); | |
792 | + | |
793 | + if (this.getAttribute('class') == 'open') | |
794 | + { | |
795 | + this.setAttribute('class', ''); | |
796 | + contents.setAttribute('class', ''); | |
797 | + tocContainer.setAttribute('class', ''); | |
798 | + | |
799 | + window.name = "hideTOC"; | |
800 | + } | |
801 | + else | |
802 | + { | |
803 | + this.setAttribute('class', 'open'); | |
804 | + contents.setAttribute('class', 'isShowingTOC'); | |
805 | + tocContainer.setAttribute('class', 'isShowingTOC'); | |
806 | + | |
807 | + window.name = ""; | |
808 | + } | |
809 | + return false; | |
810 | + } | |
811 | + | |
812 | + function toggleTOCEntryChildren(e) | |
813 | + { | |
814 | + e.stopPropagation(); | |
815 | + var currentClass = this.getAttribute('class'); | |
816 | + if (currentClass == 'children') { | |
817 | + this.setAttribute('class', 'children open'); | |
818 | + } | |
819 | + else if (currentClass == 'children open') { | |
820 | + this.setAttribute('class', 'children'); | |
821 | + } | |
822 | + return false; | |
823 | + } | |
824 | + | |
825 | + function tocEntryClick(e) | |
826 | + { | |
827 | + e.stopPropagation(); | |
828 | + return true; | |
829 | + } | |
830 | + | |
831 | + function init() | |
832 | + { | |
833 | + var selectElement = document.getElementById('jumpTo'); | |
834 | + selectElement.addEventListener('change', jumpToChange, false); | |
835 | + | |
836 | + var tocButton = document.getElementById('table_of_contents'); | |
837 | + tocButton.addEventListener('click', toggleTOC, false); | |
838 | + | |
839 | + var taskTreeItem = document.getElementById('task_treeitem'); | |
840 | + if (taskTreeItem.getElementsByTagName('li').length > 0) | |
841 | + { | |
842 | + taskTreeItem.setAttribute('class', 'children'); | |
843 | + taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | |
844 | + } | |
845 | + | |
846 | + var tocList = document.getElementById('toc'); | |
847 | + | |
848 | + var tocEntries = tocList.getElementsByTagName('li'); | |
849 | + for (var i = 0; i < tocEntries.length; i++) { | |
850 | + tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | |
851 | + } | |
852 | + | |
853 | + var tocLinks = tocList.getElementsByTagName('a'); | |
854 | + for (var i = 0; i < tocLinks.length; i++) { | |
855 | + tocLinks[i].addEventListener('click', tocEntryClick, false); | |
856 | + } | |
857 | + | |
858 | + if (window.name == "hideTOC") { | |
859 | + toggleTOC.call(tocButton); | |
860 | + } | |
861 | + } | |
862 | + | |
863 | + window.onload = init; | |
864 | + </script> | |
865 | + </body> | |
866 | +</html> | |
0 | 867 | \ No newline at end of file | ... | ... |