-
Notifications
You must be signed in to change notification settings - Fork 0
/
AudioAttributes.xml
884 lines (877 loc) · 57.1 KB
/
AudioAttributes.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
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
<Type Name="AudioAttributes" FullName="Android.Media.AudioAttributes">
<TypeSignature Language="C#" Value="public sealed class AudioAttributes : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit AudioAttributes extends Java.Lang.Object implements class Android.OS.IParcelable, class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Media.AudioAttributes" />
<TypeSignature Language="F#" Value="type AudioAttributes = class
 inherit Object
 interface IParcelable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.OS.IParcelable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/media/AudioAttributes", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/media/AudioAttributes", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="21">
<summary>A class to encapsulate a collection of attributes describing information about an audio
stream.</summary>
<remarks>
<para>A class to encapsulate a collection of attributes describing information about an audio
stream.</para>
<para>
<c>AudioAttributes</c> supersede the notion of stream types (see for instance
<c>AudioManager#STREAM_MUSIC</c> or <c>AudioManager#STREAM_ALARM</c>) for defining the
behavior of audio playback. Attributes allow an application to specify more information than is
conveyed in a stream type by allowing the application to define:
<ul>
<li>usage: "why" you are playing a sound, what is this sound used for. This is achieved with
the "usage" information. Examples of usage are <c>#USAGE_MEDIA</c> and <c>#USAGE_ALARM</c>.
These two examples are the closest to stream types, but more detailed use cases are
available. Usage information is more expressive than a stream type, and allows certain
platforms or routing policies to use this information for more refined volume or routing
decisions. Usage is the most important information to supply in <c>AudioAttributes</c>
and it is recommended to build any instance with this information supplied, see
<c>AudioAttributes.Builder</c> for exceptions.</li>
<li>content type: "what" you are playing. The content type expresses the general category of
the content. This information is optional. But in case it is known (for instance
<c>#CONTENT_TYPE_MOVIE</c> for a movie streaming service or <c>#CONTENT_TYPE_MUSIC</c> for
a music playback application) this information might be used by the audio framework to
selectively configure some audio post-processing blocks.</li>
<li>flags: "how" is playback to be affected, see the flag definitions for the specific playback
behaviors they control. </li>
</ul></para>
<para>
<c>AudioAttributes</c> are used for example in one of the <c>AudioTrack</c>
constructors (see <c>AudioTrack#AudioTrack(AudioAttributes, AudioFormat, int, int, int)</c>),
to configure a <c>MediaPlayer</c>
(see <c>MediaPlayer#setAudioAttributes(AudioAttributes)</c> or a
<c>android.app.Notification</c> (see <c>android.app.Notification#audioAttributes</c>). An
<c>AudioAttributes</c> instance is built through its builder,
<c>AudioAttributes.Builder</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName="AllowCaptureByAll">
<MemberSignature Language="C#" Value="public const Android.Media.CapturePolicies AllowCaptureByAll = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Media.CapturePolicies AllowCaptureByAll = (1)" />
<MemberSignature Language="DocId" Value="F:Android.Media.AudioAttributes.AllowCaptureByAll" />
<MemberSignature Language="F#" Value="val mutable AllowCaptureByAll : Android.Media.CapturePolicies" Usage="Android.Media.AudioAttributes.AllowCaptureByAll" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ALLOW_CAPTURE_BY_ALL", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ALLOW_CAPTURE_BY_ALL", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.CapturePolicies</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Indicates that the audio may be captured by any app.</summary>
<remarks>
<para>Indicates that the audio may be captured by any app.
For privacy, the following usages cannot be recorded: VOICE_COMMUNICATION*,
USAGE_NOTIFICATION*, USAGE_ASSISTANCE* and USAGE_ASSISTANT.
On <c>android.os.Build.VERSION_CODES#Q</c>, this means only <c>#USAGE_UNKNOWN</c>,
<c>#USAGE_MEDIA</c> and <c>#USAGE_GAME</c> may be captured.
See <c>android.media.projection.MediaProjection</c> and
<c>Builder#setAllowedCapturePolicy</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#ALLOW_CAPTURE_BY_ALL" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.ALLOW_CAPTURE_BY_ALL</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AllowCaptureByNone">
<MemberSignature Language="C#" Value="public const Android.Media.CapturePolicies AllowCaptureByNone = 3;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Media.CapturePolicies AllowCaptureByNone = (3)" />
<MemberSignature Language="DocId" Value="F:Android.Media.AudioAttributes.AllowCaptureByNone" />
<MemberSignature Language="F#" Value="val mutable AllowCaptureByNone : Android.Media.CapturePolicies" Usage="Android.Media.AudioAttributes.AllowCaptureByNone" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ALLOW_CAPTURE_BY_NONE", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ALLOW_CAPTURE_BY_NONE", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.CapturePolicies</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>Indicates that the audio is not to be recorded by any app, even if it is a system app.</summary>
<remarks>
<para>Indicates that the audio is not to be recorded by any app, even if it is a system app.
It is encouraged to use <c>#ALLOW_CAPTURE_BY_SYSTEM</c> instead of this value as system apps
provide significant and useful features for the user (such as live captioning
and accessibility).
See <c>Builder#setAllowedCapturePolicy</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#ALLOW_CAPTURE_BY_NONE" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.ALLOW_CAPTURE_BY_NONE</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AllowCaptureBySystem">
<MemberSignature Language="C#" Value="public const Android.Media.CapturePolicies AllowCaptureBySystem = 2;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Media.CapturePolicies AllowCaptureBySystem = (2)" />
<MemberSignature Language="DocId" Value="F:Android.Media.AudioAttributes.AllowCaptureBySystem" />
<MemberSignature Language="F#" Value="val mutable AllowCaptureBySystem : Android.Media.CapturePolicies" Usage="Android.Media.AudioAttributes.AllowCaptureBySystem" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ALLOW_CAPTURE_BY_SYSTEM", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ALLOW_CAPTURE_BY_SYSTEM", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.CapturePolicies</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>Indicates that the audio may only be captured by system apps.</summary>
<remarks>
<para>Indicates that the audio may only be captured by system apps.
System apps can capture for many purposes like accessibility, live captions, user guidance...
but abide to the following restrictions:
- the audio cannot leave the device
- the audio cannot be passed to a third party app
- the audio cannot be recorded at a higher quality than 16kHz 16bit mono
See <c>Builder#setAllowedCapturePolicy</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#ALLOW_CAPTURE_BY_SYSTEM" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AllowedCapturePolicy">
<MemberSignature Language="C#" Value="public Android.Media.CapturePolicies AllowedCapturePolicy { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Media.CapturePolicies AllowedCapturePolicy" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.AllowedCapturePolicy" />
<MemberSignature Language="F#" Value="member this.AllowedCapturePolicy : Android.Media.CapturePolicies" Usage="Android.Media.AudioAttributes.AllowedCapturePolicy" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAllowedCapturePolicy", "()I", "", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAllowedCapturePolicy", "()I", "", ApiSince=29)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.CapturePolicies</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the capture policy.</summary>
<value>the capture policy set by <c>Builder#setAllowedCapturePolicy(int)</c> or
the default if it was not called.</value>
<remarks>
<para>Return the capture policy.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#getAllowedCapturePolicy()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.getAllowedCapturePolicy()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AreHapticChannelsMuted">
<MemberSignature Language="C#" Value="public bool AreHapticChannelsMuted ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool AreHapticChannelsMuted() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.AudioAttributes.AreHapticChannelsMuted" />
<MemberSignature Language="F#" Value="member this.AreHapticChannelsMuted : unit -> bool" Usage="audioAttributes.AreHapticChannelsMuted " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("areHapticChannelsMuted", "()Z", "", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("areHapticChannelsMuted", "()Z", "", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Return if haptic channels are muted.</summary>
<returns>
<c>true</c> if haptic channels are muted, <c>false</c> otherwise.</returns>
<remarks>
<para>Return if haptic channels are muted.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#areHapticChannelsMuted()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.areHapticChannelsMuted()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ContentType">
<MemberSignature Language="C#" Value="public Android.Media.AudioContentType ContentType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Media.AudioContentType ContentType" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.ContentType" />
<MemberSignature Language="F#" Value="member this.ContentType : Android.Media.AudioContentType" Usage="Android.Media.AudioAttributes.ContentType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getContentType", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getContentType", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.AudioContentType</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the content type.</summary>
<value>one of the values that can be set in <c>Builder#setContentType(int)</c></value>
<remarks>
<para>Return the content type.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#getContentType()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.getContentType()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Creator">
<MemberSignature Language="C#" Value="public static Android.OS.IParcelableCreator? Creator { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Android.OS.IParcelableCreator Creator" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.Creator" />
<MemberSignature Language="F#" Value="static member Creator : Android.OS.IParcelableCreator" Usage="Android.Media.AudioAttributes.Creator" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CREATOR")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CREATOR")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.IParcelableCreator</ReturnType>
</ReturnValue>
<Docs>
<summary>
</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="DescribeContents">
<MemberSignature Language="C#" Value="public int DescribeContents ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 DescribeContents() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.AudioAttributes.DescribeContents" />
<MemberSignature Language="F#" Value="abstract member DescribeContents : unit -> int
override this.DescribeContents : unit -> int" Usage="audioAttributes.DescribeContents " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Android.OS.IParcelable.DescribeContents</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("describeContents", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("describeContents", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Describe the kinds of special objects contained in this Parcelable's
marshalled representation.</summary>
<returns>To be added.</returns>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Flags">
<MemberSignature Language="C#" Value="public Android.Media.AudioFlags Flags { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Media.AudioFlags Flags" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.Flags" />
<MemberSignature Language="F#" Value="member this.Flags : Android.Media.AudioFlags" Usage="Android.Media.AudioAttributes.Flags" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getFlags", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getFlags", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.AudioFlags</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the flags.</summary>
<value>a combined mask of all flags</value>
<remarks>
<para>Return the flags.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#getFlags()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.getFlags()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="IsContentSpatialized">
<MemberSignature Language="C#" Value="public bool IsContentSpatialized { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsContentSpatialized" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.IsContentSpatialized" />
<MemberSignature Language="F#" Value="member this.IsContentSpatialized : bool" Usage="Android.Media.AudioAttributes.IsContentSpatialized" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android32.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android32.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isContentSpatialized", "()Z", "", ApiSince=32)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isContentSpatialized", "()Z", "", ApiSince=32)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Return true if the audio content associated with these attributes has already been
spatialized, that is it has already been processed to offer a binaural or transaural
immersive audio experience.</summary>
<value>
<c>true</c> if the content has been processed</value>
<remarks>
<para>Return true if the audio content associated with these attributes has already been
spatialized, that is it has already been processed to offer a binaural or transaural
immersive audio experience.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#isContentSpatialized()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.isContentSpatialized()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Media.AudioAttributes.JniPeerMembers" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Java.Interop.IJavaPeerable.JniPeerMembers</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SpatializationBehavior">
<MemberSignature Language="C#" Value="public int SpatializationBehavior { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 SpatializationBehavior" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.SpatializationBehavior" />
<MemberSignature Language="F#" Value="member this.SpatializationBehavior : int" Usage="Android.Media.AudioAttributes.SpatializationBehavior" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android32.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android32.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSpatializationBehavior", "()I", "", ApiSince=32)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSpatializationBehavior", "()I", "", ApiSince=32)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the behavior affecting whether spatialization will be used.</summary>
<value>the spatialization behavior</value>
<remarks>
<para>Return the behavior affecting whether spatialization will be used.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#getSpatializationBehavior()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.getSpatializationBehavior()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SpatializationBehaviorAuto">
<MemberSignature Language="C#" Value="public const Android.Media.AudioSpatializationBehavior SpatializationBehaviorAuto = 0;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Media.AudioSpatializationBehavior SpatializationBehaviorAuto = (0)" />
<MemberSignature Language="DocId" Value="F:Android.Media.AudioAttributes.SpatializationBehaviorAuto" />
<MemberSignature Language="F#" Value="val mutable SpatializationBehaviorAuto : Android.Media.AudioSpatializationBehavior" Usage="Android.Media.AudioAttributes.SpatializationBehaviorAuto" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("SPATIALIZATION_BEHAVIOR_AUTO", ApiSince=32)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("SPATIALIZATION_BEHAVIOR_AUTO", ApiSince=32)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioSpatializationBehavior enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioSpatializationBehavior enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android32.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android32.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.AudioSpatializationBehavior</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Constant indicating the audio content associated with these attributes will follow the
default platform behavior with regards to which content will be spatialized or not.</summary>
<remarks>
<para>Constant indicating the audio content associated with these attributes will follow the
default platform behavior with regards to which content will be spatialized or not.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#SPATIALIZATION_BEHAVIOR_AUTO" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.SPATIALIZATION_BEHAVIOR_AUTO</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="SpatializationBehaviorNever">
<MemberSignature Language="C#" Value="public const Android.Media.AudioSpatializationBehavior SpatializationBehaviorNever = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Media.AudioSpatializationBehavior SpatializationBehaviorNever = (1)" />
<MemberSignature Language="DocId" Value="F:Android.Media.AudioAttributes.SpatializationBehaviorNever" />
<MemberSignature Language="F#" Value="val mutable SpatializationBehaviorNever : Android.Media.AudioSpatializationBehavior" Usage="Android.Media.AudioAttributes.SpatializationBehaviorNever" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("SPATIALIZATION_BEHAVIOR_NEVER", ApiSince=32)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("SPATIALIZATION_BEHAVIOR_NEVER", ApiSince=32)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioSpatializationBehavior enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioSpatializationBehavior enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android32.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android32.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.AudioSpatializationBehavior</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Constant indicating the audio content associated with these attributes should never
be virtualized.</summary>
<remarks>
<para>Constant indicating the audio content associated with these attributes should never
be virtualized.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#SPATIALIZATION_BEHAVIOR_NEVER" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.SPATIALIZATION_BEHAVIOR_NEVER</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Media.AudioAttributes.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Media.AudioAttributes.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Usage">
<MemberSignature Language="C#" Value="public Android.Media.AudioUsageKind Usage { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Media.AudioUsageKind Usage" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.Usage" />
<MemberSignature Language="F#" Value="member this.Usage : Android.Media.AudioUsageKind" Usage="Android.Media.AudioAttributes.Usage" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getUsage", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getUsage", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.AudioUsageKind</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the usage.</summary>
<value>one of the values that can be set in <c>Builder#setUsage(int)</c></value>
<remarks>
<para>Return the usage.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#getUsage()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.getUsage()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="VolumeControlStream">
<MemberSignature Language="C#" Value="public Android.Media.Stream VolumeControlStream { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Media.Stream VolumeControlStream" />
<MemberSignature Language="DocId" Value="P:Android.Media.AudioAttributes.VolumeControlStream" />
<MemberSignature Language="F#" Value="member this.VolumeControlStream : Android.Media.Stream" Usage="Android.Media.AudioAttributes.VolumeControlStream" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getVolumeControlStream", "()I", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getVolumeControlStream", "()I", "", ApiSince=26)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Media.Stream</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the stream type matching this <c>AudioAttributes</c> instance for volume control.</summary>
<value>a valid stream type for <c>Activity</c> or stream volume control that matches
the attributes, or <c>AudioManager#USE_DEFAULT_STREAM_TYPE</c> if there isn't a direct
match. Note that <c>USE_DEFAULT_STREAM_TYPE</c> is not a valid value
for <c>AudioManager#setStreamVolume(int, int, int)</c>.</value>
<remarks>
<para>Returns the stream type matching this <c>AudioAttributes</c> instance for volume control.
Use this method to derive the stream type needed to configure the volume
control slider in an <c>android.app.Activity</c> with
<c>android.app.Activity#setVolumeControlStream(int)</c> for playback conducted with these
attributes.
<BR>Do not use this method to set the stream type on an audio player object
(e.g. <c>AudioTrack</c>, <c>MediaPlayer</c>) as this is deprecated,
use <c>AudioAttributes</c> instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/media/AudioAttributes#getVolumeControlStream()" title="Reference documentation">Java documentation for <code>android.media.AudioAttributes.getVolumeControlStream()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="WriteToParcel">
<MemberSignature Language="C#" Value="public void WriteToParcel (Android.OS.Parcel? dest, Android.OS.ParcelableWriteFlags flags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void WriteToParcel(class Android.OS.Parcel dest, valuetype Android.OS.ParcelableWriteFlags flags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Media.AudioAttributes.WriteToParcel(Android.OS.Parcel,Android.OS.ParcelableWriteFlags)" />
<MemberSignature Language="F#" Value="abstract member WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit
override this.WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit" Usage="audioAttributes.WriteToParcel (dest, flags)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Android.OS.IParcelable.WriteToParcel(Android.OS.Parcel,Android.OS.ParcelableWriteFlags)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dest" Type="Android.OS.Parcel" />
<Parameter Name="flags" Type="Android.OS.ParcelableWriteFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="dest">The Parcel in which the object should be written.</param>
<param name="flags">Additional flags about how the object should be written.
May be 0 or <see cref="F:Android.OS.Parcelable.ParcelableWriteReturnValue" />.
</param>
<summary>Flatten this object in to a Parcel.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>