summaryrefslogtreecommitdiff
path: root/docs/Protocols.html
blob: a19e0783f4a336f07f75763b4f2a3b66f60f60b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<h1>Protocols  Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section-SDLInt">SDLInt</a></li>
  <li><a href="#section-SDLUInt">SDLUInt</a></li>
  <li><a href="#section-SDLBool">SDLBool</a></li>
  <li><a href="#section-SDLFloat">SDLFloat</a></li>
  <li><a href="#section-SDLAudioStreamManagerDelegate">SDLAudioStreamManagerDelegate</a></li>
  <li><a href="#section-SDLChoiceSetDelegate">SDLChoiceSetDelegate</a></li>
  <li><a href="#section-SDLKeyboardDelegate">SDLKeyboardDelegate</a></li>
  <li><a href="#section-SDLLogTarget">SDLLogTarget</a></li>
  <li><a href="#section-SDLManagerDelegate">SDLManagerDelegate</a></li>
  <li><a href="#section-SDLSecurityType">SDLSecurityType</a></li>
  <li><a href="#section-SDLServiceEncryptionDelegate">SDLServiceEncryptionDelegate</a></li>
  <li><a href="#section-SDLStreamingAudioManagerType">SDLStreamingAudioManagerType</a></li>
  <li><a href="#section-SDLStreamingMediaManagerDataSource">SDLStreamingMediaManagerDataSource</a></li>
  <li><a href="#section-SDLStreamingVideoDelegate">SDLStreamingVideoDelegate</a></li>
  <li><a href="#section-SDLTouchManagerDelegate">SDLTouchManagerDelegate</a></li>
</ul>

<h3>Overview</h3>

<p>The following protocols are available globally.</p>


<section class="section task-group-section">
  <h3 id="section-SDLInt">
      SDLInt
  </h3>
  
  <p>A declaration that this NSNumber contains an NSInteger.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLInt</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLInt</span></code></pre>

  
  
  
  <h3 id="section-SDLUInt">
      SDLUInt
  </h3>
  
  <p>A declaration that this NSNumber contains an NSUInteger.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLUInt</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLUInt</span></code></pre>

  
  
  
  <h3 id="section-SDLBool">
      SDLBool
  </h3>
  
  <p>A declaration that this NSNumber contains a BOOL.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLBool</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLBool</span></code></pre>

  
  
  
  <h3 id="section-SDLFloat">
      SDLFloat
  </h3>
  
  <p>A declaration that this NSNumber contains a float.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLFloat</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLFloat</span></code></pre>

  
  
  
  <h3 id="section-SDLAudioStreamManagerDelegate">
      SDLAudioStreamManagerDelegate
  </h3>
  
  <p>Delegate for the AudioStreamManager</p>

  <a href="Protocols/SDLAudioStreamManagerDelegate.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLAudioStreamManagerDelegate</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLAudioStreamManagerDelegate</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLChoiceSetDelegate">
      SDLChoiceSetDelegate
  </h3>
  
  <p>Delegate for the SDLChoiceSet. Contains methods that get called when an action is taken on a choice cell.</p>

  <a href="Protocols/SDLChoiceSetDelegate.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLChoiceSetDelegate</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLChoiceSetDelegate</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLKeyboardDelegate">
      SDLKeyboardDelegate
  </h3>
  
  <p>They delegate of a keyboard popup allowing customization at runtime of the keyboard.</p>

  <a href="Protocols/SDLKeyboardDelegate.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLKeyboardDelegate</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLKeyboardDelegate</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLLogTarget">
      SDLLogTarget
  </h3>
  
  <p>A protocol describing a place logs from SDLLogManager are logged to</p>

  <a href="Protocols/SDLLogTarget.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLLogTarget</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLLogTarget</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerDelegate">
      SDLManagerDelegate
  </h3>
  
  <p>The manager&rsquo;s delegate</p>

  <a href="Protocols/SDLManagerDelegate.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLManagerDelegate</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLManagerDelegate</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLSecurityType">
      SDLSecurityType
  </h3>
  
  <p>A protocol used by SDL Security libraries.</p>
<div class="aside aside-warning">
    <p class="aside-title">Warning</p>
    Used internally

</div>

  <a href="Protocols/SDLSecurityType.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLSecurityType</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLSecurityType</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLServiceEncryptionDelegate">
      SDLServiceEncryptionDelegate
  </h3>
  
  <p>Delegate for the encryption service.</p>

  <a href="Protocols/SDLServiceEncryptionDelegate.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLServiceEncryptionDelegate</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLServiceEncryptionDelegate</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLStreamingAudioManagerType">
      SDLStreamingAudioManagerType
  </h3>
  
  <p>Streaming audio manager</p>

  <a href="Protocols/SDLStreamingAudioManagerType.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLStreamingAudioManagerType</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLStreamingAudioManagerType</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLStreamingMediaManagerDataSource">
      SDLStreamingMediaManagerDataSource
  </h3>
  
  <p>A data source for the streaming manager&rsquo;s preferred resolutions and preferred formats.</p>

  <a href="Protocols/SDLStreamingMediaManagerDataSource.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLStreamingMediaManagerDataSource</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLStreamingMediaManagerDataSource</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLStreamingVideoDelegate">
      SDLStreamingVideoDelegate
  </h3>
  
  <p>A delegate method about changes to streaming video for streaming video apps</p>

  <a href="Protocols/SDLStreamingVideoDelegate.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLStreamingVideoDelegate</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLStreamingVideoDelegate</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
  <h3 id="section-SDLTouchManagerDelegate">
      SDLTouchManagerDelegate
  </h3>
  
  <p>The delegate to be notified of processed touches such as pinches, pans, and taps</p>

  <a href="Protocols/SDLTouchManagerDelegate.html" class="slightly-smaller">See more</a>
  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@protocol</span> <span class="nc">SDLTouchManagerDelegate</span> <span class="o">&lt;</span><span class="n">NSObject</span><span class="o">&gt;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">SDLTouchManagerDelegate</span> <span class="p">:</span> <span class="kt">NSObjectProtocol</span></code></pre>

  
  
  
</section>