-
Notifications
You must be signed in to change notification settings - Fork 42
/
SystemSound.xml
599 lines (599 loc) · 29.8 KB
/
SystemSound.xml
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
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
<Type Name="SystemSound" FullName="AudioToolbox.SystemSound">
<TypeSignature Language="C#" Value="public class SystemSound : IDisposable, ObjCRuntime.INativeObject" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SystemSound extends System.Object implements class ObjCRuntime.INativeObject, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:AudioToolbox.SystemSound" />
<TypeSignature Language="F#" Value="type SystemSound = class
 interface INativeObject
 interface IDisposable" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Provides methods for producing simple sounds.</summary>
<remarks>
<para>
This API is intended to be used to play sound effects or to
make the device vibrate. You use <see cref="M:AudioToolbox.SystemSound.PlaySystemSoundAsync" />
to play short sounds and <see cref="M:AudioToolbox.SystemSound.PlayAlertSoundAsync" />
to play either the sound or vibrate (depending on the device
settings).
</para>
<para>
Unlike the <see cref="T:AVFoundation.AVAudioPlayer" /> which works
with the audio session and is able to dim your audio, play in
the background and interact with the system based on a set of
rules, the SystemSound does not support this. So you should
in general avoid using it for anything but sound effects and
device vibration.
</para>
<para>
As of iOS 8, SystemSound has the following restrictions:
</para>
<list type="bullet">
<item>
<term>
Audio Format: PCM or IMA4 (IMA/ADPCM).
</term>
</item>
<item>
<term>
Audio Container: .caf, .aif or .wav containers.
</term>
</item>
<item>
<term>
At most 30 seconds of duration.
</term>
</item>
<item>
<term>
There is no volume control, this uses the system volume.
</term>
</item>
<item>
<term>
Sound plays immediately.
</term>
</item>
<item>
<term>
Only one sound can be played at a time, there is no way to play more than one sound at a time.
</term>
</item>
</list>
<para>
To play a sound, you first create an instance of the
SystemSound object, either via the constructor, or one of the
<see cref="M:AudioToolbox.SystemSound.FromFile(System.String)" />
methods. Once this object has been created, you call one of
the playback methods <see cref="M:AudioToolbox.SystemSound.PlaySystemSoundAsync" />
to play short sounds and <see cref="M:AudioToolbox.SystemSound.PlayAlertSoundAsync" />.
</para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SystemSound (Foundation.NSUrl fileUrl);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Foundation.NSUrl fileUrl) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.#ctor(Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="new AudioToolbox.SystemSound : Foundation.NSUrl -> AudioToolbox.SystemSound" Usage="new AudioToolbox.SystemSound fileUrl" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="fileUrl" Type="Foundation.NSUrl" />
</Parameters>
<Docs>
<param name="fileUrl">The url to the local file.</param>
<summary>Create a system sound from a local file.</summary>
<remarks>The system sounds are limited to 30 seconds or less. If there is an error, this constructor will throw an exception. If you want to avoid exceptions, and instead get a null on error, call the FromFile methods.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SystemSound (uint soundId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int32 soundId) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.#ctor(System.UInt32)" />
<MemberSignature Language="F#" Value="new AudioToolbox.SystemSound : uint32 -> AudioToolbox.SystemSound" Usage="new AudioToolbox.SystemSound soundId" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="soundId" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="soundId">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddSystemSoundCompletion">
<MemberSignature Language="C#" Value="public AudioToolbox.AudioServicesError AddSystemSoundCompletion (Action routine, CoreFoundation.CFRunLoop runLoop = null);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype AudioToolbox.AudioServicesError AddSystemSoundCompletion(class System.Action routine, class CoreFoundation.CFRunLoop runLoop) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.AddSystemSoundCompletion(System.Action,CoreFoundation.CFRunLoop)" />
<MemberSignature Language="F#" Value="member this.AddSystemSoundCompletion : Action * CoreFoundation.CFRunLoop -> AudioToolbox.AudioServicesError" Usage="systemSound.AddSystemSoundCompletion (routine, runLoop)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>AudioToolbox.AudioServicesError</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="routine" Type="System.Action" />
<Parameter Name="runLoop" Type="CoreFoundation.CFRunLoop" />
</Parameters>
<Docs>
<param name="routine">Method to invoke upon completion.</param>
<param name="runLoop">Runloop on which the completion will be invoked, this parameter can be null to invoke on the main loop.</param>
<summary>Method to invoke when this sound completes playing.</summary>
<returns>Status code.</returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Close">
<MemberSignature Language="C#" Value="public void Close ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Close() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.Close" />
<MemberSignature Language="F#" Value="member this.Close : unit -> unit" Usage="systemSound.Close " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Closes this system sound.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CompletePlaybackIfAppDies">
<MemberSignature Language="C#" Value="public bool CompletePlaybackIfAppDies { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CompletePlaybackIfAppDies" />
<MemberSignature Language="DocId" Value="P:AudioToolbox.SystemSound.CompletePlaybackIfAppDies" />
<MemberSignature Language="F#" Value="member this.CompletePlaybackIfAppDies : bool with get, set" Usage="AudioToolbox.SystemSound.CompletePlaybackIfAppDies" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Controls whether the sound will complete playing, even if the application dies.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="public void Dispose ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.Dispose" />
<MemberSignature Language="F#" Value="abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit" Usage="systemSound.Dispose " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IDisposable.Dispose</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Releases the resources used by the SystemSound object.</summary>
<remarks>
<para>The Dispose method releases the resources used by the SystemSound class.</para>
<para>Calling the Dispose method when the application is finished using the SystemSound ensures that all external resources used by this managed object are released as soon as possible. Once developers have invoked the Dispose method, the object is no longer useful and developers should no longer make any calls to it. For more information on releasing resources see ``Cleaning up Unmananaged Resources'' at https://msdn.microsoft.com/en-us/library/498928w2.aspx</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected virtual void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.Dispose(System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit" Usage="systemSound.Dispose disposing" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources; If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
</param>
<summary>Releases the resources used by the SystemSound object.</summary>
<remarks>
<para>This Dispose method releases the resources used by the SystemSound class.</para>
<para>This method is called by both the Dispose() method and the object finalizer (Finalize). When invoked by the Dispose method, the parameter disposing <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released; when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
<para>Calling the Dispose method when the application is finished using the SystemSound ensures that all external resources used by this managed object are released as soon as possible. Once developers have invoked the Dispose method, the object is no longer useful and developers should no longer make any calls to it.</para>
<para> For more information on how to override this method and on the Dispose/IDisposable pattern, read the ``Implementing a Dispose Method'' document at https://msdn.microsoft.com/en-us/library/fs2xkftw.aspx</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~SystemSound ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.Finalize" />
<MemberSignature Language="F#" Value="override this.Finalize : unit -> unit" Usage="systemSound.Finalize " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Finalizer for the SystemSound object</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="FromFile">
<MemberSignature Language="C#" Value="public static AudioToolbox.SystemSound FromFile (Foundation.NSUrl fileUrl);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class AudioToolbox.SystemSound FromFile(class Foundation.NSUrl fileUrl) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.FromFile(Foundation.NSUrl)" />
<MemberSignature Language="F#" Value="static member FromFile : Foundation.NSUrl -> AudioToolbox.SystemSound" Usage="AudioToolbox.SystemSound.FromFile fileUrl" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>AudioToolbox.SystemSound</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fileUrl" Type="Foundation.NSUrl" />
</Parameters>
<Docs>
<param name="fileUrl">A SystemSound instance, or null on error.</param>
<summary>Creates a system sound from a file.</summary>
<returns>The system sound object, or null on error.</returns>
<remarks>SystemSounds are limited to 30 seconds or less.</remarks>
</Docs>
</Member>
<Member MemberName="FromFile">
<MemberSignature Language="C#" Value="public static AudioToolbox.SystemSound FromFile (string filename);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class AudioToolbox.SystemSound FromFile(string filename) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.FromFile(System.String)" />
<MemberSignature Language="F#" Value="static member FromFile : string -> AudioToolbox.SystemSound" Usage="AudioToolbox.SystemSound.FromFile filename" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>AudioToolbox.SystemSound</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<param name="filename">The file that contains the audio.</param>
<summary>An array of packet descriptions that describe the contents of the buffer.</summary>
<returns>A SystemSound instance or null on error.</returns>
<remarks>SystemSounds are limited to 30 seconds or less.</remarks>
</Docs>
</Member>
<Member MemberName="Handle">
<MemberSignature Language="C#" Value="public IntPtr Handle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int Handle" />
<MemberSignature Language="DocId" Value="P:AudioToolbox.SystemSound.Handle" />
<MemberSignature Language="F#" Value="member this.Handle : nativeint" Usage="AudioToolbox.SystemSound.Handle" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:ObjCRuntime.INativeObject.Handle</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>Handle (pointer) to the unmanaged object representation.</summary>
<value>A pointer</value>
<remarks>This IntPtr is a handle to the underlying unmanaged representation for this object.</remarks>
</Docs>
</Member>
<Member MemberName="IsUISound">
<MemberSignature Language="C#" Value="public bool IsUISound { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsUISound" />
<MemberSignature Language="DocId" Value="P:AudioToolbox.SystemSound.IsUISound" />
<MemberSignature Language="F#" Value="member this.IsUISound : bool with get, set" Usage="AudioToolbox.SystemSound.IsUISound" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets whether to override user preferences when calling <see cref="M:AudioToolbox.SystemSound.PlaySystemSound" />.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PlayAlertSound">
<MemberSignature Language="C#" Value="public void PlayAlertSound ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void PlayAlertSound() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.PlayAlertSound" />
<MemberSignature Language="F#" Value="member this.PlayAlertSound : unit -> unit" Usage="systemSound.PlayAlertSound " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Plays a sound or alert.</summary>
<remarks>The actual behavior of this method depends on the device (iPhone, iPod touch) and the vibrate settings.</remarks>
</Docs>
</Member>
<Member MemberName="PlayAlertSound">
<MemberSignature Language="C#" Value="public void PlayAlertSound (Action onCompletion);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void PlayAlertSound(class System.Action onCompletion) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.PlayAlertSound(System.Action)" />
<MemberSignature Language="F#" Value="member this.PlayAlertSound : Action -> unit" Usage="systemSound.PlayAlertSound onCompletion" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="onCompletion" Type="System.Action" />
</Parameters>
<Docs>
<param name="onCompletion">To be added.</param>
<summary>Plays a sound or alert and then calls the <param name="onCompletion" /> handler.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PlayAlertSoundAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task PlayAlertSoundAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task PlayAlertSoundAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.PlayAlertSoundAsync" />
<MemberSignature Language="F#" Value="member this.PlayAlertSoundAsync : unit -> System.Threading.Tasks.Task" Usage="systemSound.PlayAlertSoundAsync " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asynchronously plays a sound or alert, returning a <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=System%20Threading%20Task&scope=Xamarin" title="T:System.Threading.Task">T:System.Threading.Task</a></format> that completes after the sound ends.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PlaySystemSound">
<MemberSignature Language="C#" Value="public void PlaySystemSound ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void PlaySystemSound() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.PlaySystemSound" />
<MemberSignature Language="F#" Value="member this.PlaySystemSound : unit -> unit" Usage="systemSound.PlaySystemSound " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Plays the system sound.</summary>
<remarks>The system sound is played asynchronously, but it is also limited to 30 seconds or less.</remarks>
</Docs>
</Member>
<Member MemberName="PlaySystemSound">
<MemberSignature Language="C#" Value="public void PlaySystemSound (Action onCompletion);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void PlaySystemSound(class System.Action onCompletion) cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.PlaySystemSound(System.Action)" />
<MemberSignature Language="F#" Value="member this.PlaySystemSound : Action -> unit" Usage="systemSound.PlaySystemSound onCompletion" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="onCompletion" Type="System.Action" />
</Parameters>
<Docs>
<param name="onCompletion">To be added.</param>
<summary>Plays the system sound and calls <param name="onCompletion" /> afterwards.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PlaySystemSoundAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task PlaySystemSoundAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task PlaySystemSoundAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.PlaySystemSoundAsync" />
<MemberSignature Language="F#" Value="member this.PlaySystemSoundAsync : unit -> System.Threading.Tasks.Task" Usage="systemSound.PlaySystemSoundAsync " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Asynchronously plays a system sound and returns a <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=System%20Threading%20Tasks%20Task&scope=Xamarin" title="T:System.Threading.Tasks.Task">T:System.Threading.Tasks.Task</a></format> that is completed when the sound ends.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveSystemSoundCompletion">
<MemberSignature Language="C#" Value="public void RemoveSystemSoundCompletion ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveSystemSoundCompletion() cil managed" />
<MemberSignature Language="DocId" Value="M:AudioToolbox.SystemSound.RemoveSystemSoundCompletion" />
<MemberSignature Language="F#" Value="member this.RemoveSystemSoundCompletion : unit -> unit" Usage="systemSound.RemoveSystemSoundCompletion " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes the previously registered completion method.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Vibrate">
<MemberSignature Language="C#" Value="public static readonly AudioToolbox.SystemSound Vibrate;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class AudioToolbox.SystemSound Vibrate" />
<MemberSignature Language="DocId" Value="F:AudioToolbox.SystemSound.Vibrate" />
<MemberSignature Language="F#" Value=" staticval mutable Vibrate : AudioToolbox.SystemSound" Usage="AudioToolbox.SystemSound.Vibrate" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>AudioToolbox.SystemSound</ReturnType>
</ReturnValue>
<Docs>
<summary>A special system sound that can be used to make the device vibrate.</summary>
<remarks>This system sound does nothing on iPod touches.</remarks>
</Docs>
</Member>
</Members>
</Type>