jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
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
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-media-AudioManager"))]
__jni_bindgen! {
    /// public class [AudioManager](https://developer.android.com/reference/android/media/AudioManager.html)
    ///
    /// Required feature: "android-media-AudioManager"
    public class AudioManager ("android/media/AudioManager") extends crate::java::lang::Object {

        /// [dispatchMediaKeyEvent](https://developer.android.com/reference/android/media/AudioManager.html#dispatchMediaKeyEvent(android.view.KeyEvent))
        ///
        /// Required features: "android-view-KeyEvent"
        #[cfg(any(feature = "all", all(feature = "android-view-KeyEvent")))]
        pub fn dispatchMediaKeyEvent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::view::KeyEvent>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "dispatchMediaKeyEvent", .descriptor == "(Landroid/view/KeyEvent;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "dispatchMediaKeyEvent\0", "(Landroid/view/KeyEvent;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isVolumeFixed](https://developer.android.com/reference/android/media/AudioManager.html#isVolumeFixed())
        pub fn isVolumeFixed<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isVolumeFixed", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isVolumeFixed\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [adjustStreamVolume](https://developer.android.com/reference/android/media/AudioManager.html#adjustStreamVolume(int,%20int,%20int))
        pub fn adjustStreamVolume<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "adjustStreamVolume", .descriptor == "(III)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "adjustStreamVolume\0", "(III)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [adjustVolume](https://developer.android.com/reference/android/media/AudioManager.html#adjustVolume(int,%20int))
        pub fn adjustVolume<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "adjustVolume", .descriptor == "(II)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "adjustVolume\0", "(II)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [adjustSuggestedStreamVolume](https://developer.android.com/reference/android/media/AudioManager.html#adjustSuggestedStreamVolume(int,%20int,%20int))
        pub fn adjustSuggestedStreamVolume<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "adjustSuggestedStreamVolume", .descriptor == "(III)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "adjustSuggestedStreamVolume\0", "(III)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getRingerMode](https://developer.android.com/reference/android/media/AudioManager.html#getRingerMode())
        pub fn getRingerMode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getRingerMode", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getRingerMode\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getStreamMaxVolume](https://developer.android.com/reference/android/media/AudioManager.html#getStreamMaxVolume(int))
        pub fn getStreamMaxVolume<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getStreamMaxVolume", .descriptor == "(I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getStreamMaxVolume\0", "(I)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getStreamVolume](https://developer.android.com/reference/android/media/AudioManager.html#getStreamVolume(int))
        pub fn getStreamVolume<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getStreamVolume", .descriptor == "(I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getStreamVolume\0", "(I)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setRingerMode](https://developer.android.com/reference/android/media/AudioManager.html#setRingerMode(int))
        pub fn setRingerMode<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setRingerMode", .descriptor == "(I)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setRingerMode\0", "(I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setStreamVolume](https://developer.android.com/reference/android/media/AudioManager.html#setStreamVolume(int,%20int,%20int))
        pub fn setStreamVolume<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setStreamVolume", .descriptor == "(III)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setStreamVolume\0", "(III)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setStreamSolo](https://developer.android.com/reference/android/media/AudioManager.html#setStreamSolo(int,%20boolean))
        pub fn setStreamSolo<'env>(&'env self, arg0: i32, arg1: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setStreamSolo", .descriptor == "(IZ)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setStreamSolo\0", "(IZ)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setStreamMute](https://developer.android.com/reference/android/media/AudioManager.html#setStreamMute(int,%20boolean))
        pub fn setStreamMute<'env>(&'env self, arg0: i32, arg1: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setStreamMute", .descriptor == "(IZ)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setStreamMute\0", "(IZ)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [shouldVibrate](https://developer.android.com/reference/android/media/AudioManager.html#shouldVibrate(int))
        #[deprecated] pub fn shouldVibrate<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "shouldVibrate", .descriptor == "(I)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "shouldVibrate\0", "(I)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getVibrateSetting](https://developer.android.com/reference/android/media/AudioManager.html#getVibrateSetting(int))
        #[deprecated] pub fn getVibrateSetting<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getVibrateSetting", .descriptor == "(I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getVibrateSetting\0", "(I)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setVibrateSetting](https://developer.android.com/reference/android/media/AudioManager.html#setVibrateSetting(int,%20int))
        #[deprecated] pub fn setVibrateSetting<'env>(&'env self, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setVibrateSetting", .descriptor == "(II)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setVibrateSetting\0", "(II)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setSpeakerphoneOn](https://developer.android.com/reference/android/media/AudioManager.html#setSpeakerphoneOn(boolean))
        pub fn setSpeakerphoneOn<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setSpeakerphoneOn", .descriptor == "(Z)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setSpeakerphoneOn\0", "(Z)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isSpeakerphoneOn](https://developer.android.com/reference/android/media/AudioManager.html#isSpeakerphoneOn())
        pub fn isSpeakerphoneOn<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isSpeakerphoneOn", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isSpeakerphoneOn\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isBluetoothScoAvailableOffCall](https://developer.android.com/reference/android/media/AudioManager.html#isBluetoothScoAvailableOffCall())
        pub fn isBluetoothScoAvailableOffCall<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isBluetoothScoAvailableOffCall", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isBluetoothScoAvailableOffCall\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [startBluetoothSco](https://developer.android.com/reference/android/media/AudioManager.html#startBluetoothSco())
        pub fn startBluetoothSco<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "startBluetoothSco", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "startBluetoothSco\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [stopBluetoothSco](https://developer.android.com/reference/android/media/AudioManager.html#stopBluetoothSco())
        pub fn stopBluetoothSco<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "stopBluetoothSco", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "stopBluetoothSco\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setBluetoothScoOn](https://developer.android.com/reference/android/media/AudioManager.html#setBluetoothScoOn(boolean))
        pub fn setBluetoothScoOn<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setBluetoothScoOn", .descriptor == "(Z)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setBluetoothScoOn\0", "(Z)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isBluetoothScoOn](https://developer.android.com/reference/android/media/AudioManager.html#isBluetoothScoOn())
        pub fn isBluetoothScoOn<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isBluetoothScoOn", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isBluetoothScoOn\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setBluetoothA2dpOn](https://developer.android.com/reference/android/media/AudioManager.html#setBluetoothA2dpOn(boolean))
        #[deprecated] pub fn setBluetoothA2dpOn<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setBluetoothA2dpOn", .descriptor == "(Z)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setBluetoothA2dpOn\0", "(Z)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isBluetoothA2dpOn](https://developer.android.com/reference/android/media/AudioManager.html#isBluetoothA2dpOn())
        pub fn isBluetoothA2dpOn<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isBluetoothA2dpOn", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isBluetoothA2dpOn\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setWiredHeadsetOn](https://developer.android.com/reference/android/media/AudioManager.html#setWiredHeadsetOn(boolean))
        #[deprecated] pub fn setWiredHeadsetOn<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setWiredHeadsetOn", .descriptor == "(Z)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setWiredHeadsetOn\0", "(Z)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isWiredHeadsetOn](https://developer.android.com/reference/android/media/AudioManager.html#isWiredHeadsetOn())
        #[deprecated] pub fn isWiredHeadsetOn<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isWiredHeadsetOn", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isWiredHeadsetOn\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setMicrophoneMute](https://developer.android.com/reference/android/media/AudioManager.html#setMicrophoneMute(boolean))
        pub fn setMicrophoneMute<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setMicrophoneMute", .descriptor == "(Z)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setMicrophoneMute\0", "(Z)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isMicrophoneMute](https://developer.android.com/reference/android/media/AudioManager.html#isMicrophoneMute())
        pub fn isMicrophoneMute<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isMicrophoneMute", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isMicrophoneMute\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setMode](https://developer.android.com/reference/android/media/AudioManager.html#setMode(int))
        pub fn setMode<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setMode", .descriptor == "(I)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setMode\0", "(I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMode](https://developer.android.com/reference/android/media/AudioManager.html#getMode())
        pub fn getMode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getMode", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getMode\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setRouting](https://developer.android.com/reference/android/media/AudioManager.html#setRouting(int,%20int,%20int))
        #[deprecated] pub fn setRouting<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setRouting", .descriptor == "(III)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setRouting\0", "(III)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getRouting](https://developer.android.com/reference/android/media/AudioManager.html#getRouting(int))
        #[deprecated] pub fn getRouting<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getRouting", .descriptor == "(I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getRouting\0", "(I)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isMusicActive](https://developer.android.com/reference/android/media/AudioManager.html#isMusicActive())
        pub fn isMusicActive<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "isMusicActive", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "isMusicActive\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [generateAudioSessionId](https://developer.android.com/reference/android/media/AudioManager.html#generateAudioSessionId())
        pub fn generateAudioSessionId<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "generateAudioSessionId", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "generateAudioSessionId\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setParameters](https://developer.android.com/reference/android/media/AudioManager.html#setParameters(java.lang.String))
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn setParameters<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "setParameters", .descriptor == "(Ljava/lang/String;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "setParameters\0", "(Ljava/lang/String;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getParameters](https://developer.android.com/reference/android/media/AudioManager.html#getParameters(java.lang.String))
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn getParameters<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getParameters", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getParameters\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [playSoundEffect](https://developer.android.com/reference/android/media/AudioManager.html#playSoundEffect(int))
        pub fn playSoundEffect_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "playSoundEffect", .descriptor == "(I)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "playSoundEffect\0", "(I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [playSoundEffect](https://developer.android.com/reference/android/media/AudioManager.html#playSoundEffect(int,%20float))
        pub fn playSoundEffect_int_float<'env>(&'env self, arg0: i32, arg1: f32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "playSoundEffect", .descriptor == "(IF)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "playSoundEffect\0", "(IF)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [loadSoundEffects](https://developer.android.com/reference/android/media/AudioManager.html#loadSoundEffects())
        pub fn loadSoundEffects<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "loadSoundEffects", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "loadSoundEffects\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [unloadSoundEffects](https://developer.android.com/reference/android/media/AudioManager.html#unloadSoundEffects())
        pub fn unloadSoundEffects<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "unloadSoundEffects", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "unloadSoundEffects\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [requestAudioFocus](https://developer.android.com/reference/android/media/AudioManager.html#requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener,%20int,%20int))
        ///
        /// Required features: "android-media-AudioManager_OnAudioFocusChangeListener"
        #[cfg(any(feature = "all", all(feature = "android-media-AudioManager_OnAudioFocusChangeListener")))]
        pub fn requestAudioFocus<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::media::AudioManager_OnAudioFocusChangeListener>>, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "requestAudioFocus", .descriptor == "(Landroid/media/AudioManager$OnAudioFocusChangeListener;II)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "requestAudioFocus\0", "(Landroid/media/AudioManager$OnAudioFocusChangeListener;II)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [abandonAudioFocus](https://developer.android.com/reference/android/media/AudioManager.html#abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener))
        ///
        /// Required features: "android-media-AudioManager_OnAudioFocusChangeListener"
        #[cfg(any(feature = "all", all(feature = "android-media-AudioManager_OnAudioFocusChangeListener")))]
        pub fn abandonAudioFocus<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::media::AudioManager_OnAudioFocusChangeListener>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "abandonAudioFocus", .descriptor == "(Landroid/media/AudioManager$OnAudioFocusChangeListener;)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "abandonAudioFocus\0", "(Landroid/media/AudioManager$OnAudioFocusChangeListener;)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [registerMediaButtonEventReceiver](https://developer.android.com/reference/android/media/AudioManager.html#registerMediaButtonEventReceiver(android.content.ComponentName))
        ///
        /// Required features: "android-content-ComponentName"
        #[cfg(any(feature = "all", all(feature = "android-content-ComponentName")))]
        #[deprecated] pub fn registerMediaButtonEventReceiver_ComponentName<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ComponentName>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "registerMediaButtonEventReceiver", .descriptor == "(Landroid/content/ComponentName;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "registerMediaButtonEventReceiver\0", "(Landroid/content/ComponentName;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [registerMediaButtonEventReceiver](https://developer.android.com/reference/android/media/AudioManager.html#registerMediaButtonEventReceiver(android.app.PendingIntent))
        ///
        /// Required features: "android-app-PendingIntent"
        #[cfg(any(feature = "all", all(feature = "android-app-PendingIntent")))]
        #[deprecated] pub fn registerMediaButtonEventReceiver_PendingIntent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::PendingIntent>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "registerMediaButtonEventReceiver", .descriptor == "(Landroid/app/PendingIntent;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "registerMediaButtonEventReceiver\0", "(Landroid/app/PendingIntent;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [unregisterMediaButtonEventReceiver](https://developer.android.com/reference/android/media/AudioManager.html#unregisterMediaButtonEventReceiver(android.content.ComponentName))
        ///
        /// Required features: "android-content-ComponentName"
        #[cfg(any(feature = "all", all(feature = "android-content-ComponentName")))]
        #[deprecated] pub fn unregisterMediaButtonEventReceiver_ComponentName<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ComponentName>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "unregisterMediaButtonEventReceiver", .descriptor == "(Landroid/content/ComponentName;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "unregisterMediaButtonEventReceiver\0", "(Landroid/content/ComponentName;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [unregisterMediaButtonEventReceiver](https://developer.android.com/reference/android/media/AudioManager.html#unregisterMediaButtonEventReceiver(android.app.PendingIntent))
        ///
        /// Required features: "android-app-PendingIntent"
        #[cfg(any(feature = "all", all(feature = "android-app-PendingIntent")))]
        #[deprecated] pub fn unregisterMediaButtonEventReceiver_PendingIntent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::app::PendingIntent>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "unregisterMediaButtonEventReceiver", .descriptor == "(Landroid/app/PendingIntent;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "unregisterMediaButtonEventReceiver\0", "(Landroid/app/PendingIntent;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [registerRemoteControlClient](https://developer.android.com/reference/android/media/AudioManager.html#registerRemoteControlClient(android.media.RemoteControlClient))
        ///
        /// Required features: "android-media-RemoteControlClient"
        #[cfg(any(feature = "all", all(feature = "android-media-RemoteControlClient")))]
        #[deprecated] pub fn registerRemoteControlClient<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::media::RemoteControlClient>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "registerRemoteControlClient", .descriptor == "(Landroid/media/RemoteControlClient;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "registerRemoteControlClient\0", "(Landroid/media/RemoteControlClient;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [unregisterRemoteControlClient](https://developer.android.com/reference/android/media/AudioManager.html#unregisterRemoteControlClient(android.media.RemoteControlClient))
        ///
        /// Required features: "android-media-RemoteControlClient"
        #[cfg(any(feature = "all", all(feature = "android-media-RemoteControlClient")))]
        #[deprecated] pub fn unregisterRemoteControlClient<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::media::RemoteControlClient>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "unregisterRemoteControlClient", .descriptor == "(Landroid/media/RemoteControlClient;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "unregisterRemoteControlClient\0", "(Landroid/media/RemoteControlClient;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [registerRemoteController](https://developer.android.com/reference/android/media/AudioManager.html#registerRemoteController(android.media.RemoteController))
        ///
        /// Required features: "android-media-RemoteController"
        #[cfg(any(feature = "all", all(feature = "android-media-RemoteController")))]
        #[deprecated] pub fn registerRemoteController<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::media::RemoteController>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "registerRemoteController", .descriptor == "(Landroid/media/RemoteController;)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "registerRemoteController\0", "(Landroid/media/RemoteController;)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [unregisterRemoteController](https://developer.android.com/reference/android/media/AudioManager.html#unregisterRemoteController(android.media.RemoteController))
        ///
        /// Required features: "android-media-RemoteController"
        #[cfg(any(feature = "all", all(feature = "android-media-RemoteController")))]
        #[deprecated] pub fn unregisterRemoteController<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::media::RemoteController>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "unregisterRemoteController", .descriptor == "(Landroid/media/RemoteController;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "unregisterRemoteController\0", "(Landroid/media/RemoteController;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getProperty](https://developer.android.com/reference/android/media/AudioManager.html#getProperty(java.lang.String))
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn getProperty<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/media/AudioManager", java.flags == PUBLIC, .name == "getProperty", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/media/AudioManager\0", "getProperty\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [ACTION_AUDIO_BECOMING_NOISY](https://developer.android.com/reference/android/media/AudioManager.html#ACTION_AUDIO_BECOMING_NOISY)
        pub const ACTION_AUDIO_BECOMING_NOISY : &'static str = "android.media.AUDIO_BECOMING_NOISY";

        /// public static final [ACTION_HDMI_AUDIO_PLUG](https://developer.android.com/reference/android/media/AudioManager.html#ACTION_HDMI_AUDIO_PLUG)
        pub const ACTION_HDMI_AUDIO_PLUG : &'static str = "android.media.action.HDMI_AUDIO_PLUG";

        /// public static final [ACTION_HEADSET_PLUG](https://developer.android.com/reference/android/media/AudioManager.html#ACTION_HEADSET_PLUG)
        pub const ACTION_HEADSET_PLUG : &'static str = "android.intent.action.HEADSET_PLUG";

        /// public static final [ACTION_SCO_AUDIO_STATE_CHANGED](https://developer.android.com/reference/android/media/AudioManager.html#ACTION_SCO_AUDIO_STATE_CHANGED)
        #[deprecated] pub const ACTION_SCO_AUDIO_STATE_CHANGED : &'static str = "android.media.SCO_AUDIO_STATE_CHANGED";

        /// public static final [ACTION_SCO_AUDIO_STATE_UPDATED](https://developer.android.com/reference/android/media/AudioManager.html#ACTION_SCO_AUDIO_STATE_UPDATED)
        pub const ACTION_SCO_AUDIO_STATE_UPDATED : &'static str = "android.media.ACTION_SCO_AUDIO_STATE_UPDATED";

        /// public static final [ADJUST_LOWER](https://developer.android.com/reference/android/media/AudioManager.html#ADJUST_LOWER)
        pub const ADJUST_LOWER : i32 = -1;

        /// public static final [ADJUST_RAISE](https://developer.android.com/reference/android/media/AudioManager.html#ADJUST_RAISE)
        pub const ADJUST_RAISE : i32 = 1;

        /// public static final [ADJUST_SAME](https://developer.android.com/reference/android/media/AudioManager.html#ADJUST_SAME)
        pub const ADJUST_SAME : i32 = 0;

        /// public static final [AUDIOFOCUS_GAIN](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_GAIN)
        pub const AUDIOFOCUS_GAIN : i32 = 1;

        /// public static final [AUDIOFOCUS_GAIN_TRANSIENT](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_GAIN_TRANSIENT)
        pub const AUDIOFOCUS_GAIN_TRANSIENT : i32 = 2;

        /// public static final [AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE)
        pub const AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE : i32 = 4;

        /// public static final [AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK)
        pub const AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK : i32 = 3;

        /// public static final [AUDIOFOCUS_LOSS](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_LOSS)
        pub const AUDIOFOCUS_LOSS : i32 = -1;

        /// public static final [AUDIOFOCUS_LOSS_TRANSIENT](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_LOSS_TRANSIENT)
        pub const AUDIOFOCUS_LOSS_TRANSIENT : i32 = -2;

        /// public static final [AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK)
        pub const AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK : i32 = -3;

        /// public static final [AUDIOFOCUS_REQUEST_FAILED](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_REQUEST_FAILED)
        pub const AUDIOFOCUS_REQUEST_FAILED : i32 = 0;

        /// public static final [AUDIOFOCUS_REQUEST_GRANTED](https://developer.android.com/reference/android/media/AudioManager.html#AUDIOFOCUS_REQUEST_GRANTED)
        pub const AUDIOFOCUS_REQUEST_GRANTED : i32 = 1;

        /// public static final [AUDIO_SESSION_ID_GENERATE](https://developer.android.com/reference/android/media/AudioManager.html#AUDIO_SESSION_ID_GENERATE)
        pub const AUDIO_SESSION_ID_GENERATE : i32 = 0;

        /// public static final [ERROR](https://developer.android.com/reference/android/media/AudioManager.html#ERROR)
        pub const ERROR : i32 = -1;

        /// public static final [ERROR_DEAD_OBJECT](https://developer.android.com/reference/android/media/AudioManager.html#ERROR_DEAD_OBJECT)
        pub const ERROR_DEAD_OBJECT : i32 = -6;

        /// public static final [EXTRA_AUDIO_PLUG_STATE](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_AUDIO_PLUG_STATE)
        pub const EXTRA_AUDIO_PLUG_STATE : &'static str = "android.media.extra.AUDIO_PLUG_STATE";

        /// public static final [EXTRA_ENCODINGS](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_ENCODINGS)
        pub const EXTRA_ENCODINGS : &'static str = "android.media.extra.ENCODINGS";

        /// public static final [EXTRA_MAX_CHANNEL_COUNT](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_MAX_CHANNEL_COUNT)
        pub const EXTRA_MAX_CHANNEL_COUNT : &'static str = "android.media.extra.MAX_CHANNEL_COUNT";

        /// public static final [EXTRA_RINGER_MODE](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_RINGER_MODE)
        pub const EXTRA_RINGER_MODE : &'static str = "android.media.EXTRA_RINGER_MODE";

        /// public static final [EXTRA_SCO_AUDIO_PREVIOUS_STATE](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_SCO_AUDIO_PREVIOUS_STATE)
        pub const EXTRA_SCO_AUDIO_PREVIOUS_STATE : &'static str = "android.media.extra.SCO_AUDIO_PREVIOUS_STATE";

        /// public static final [EXTRA_SCO_AUDIO_STATE](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_SCO_AUDIO_STATE)
        pub const EXTRA_SCO_AUDIO_STATE : &'static str = "android.media.extra.SCO_AUDIO_STATE";

        /// public static final [EXTRA_VIBRATE_SETTING](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_VIBRATE_SETTING)
        #[deprecated] pub const EXTRA_VIBRATE_SETTING : &'static str = "android.media.EXTRA_VIBRATE_SETTING";

        /// public static final [EXTRA_VIBRATE_TYPE](https://developer.android.com/reference/android/media/AudioManager.html#EXTRA_VIBRATE_TYPE)
        #[deprecated] pub const EXTRA_VIBRATE_TYPE : &'static str = "android.media.EXTRA_VIBRATE_TYPE";

        /// public static final [FLAG_ALLOW_RINGER_MODES](https://developer.android.com/reference/android/media/AudioManager.html#FLAG_ALLOW_RINGER_MODES)
        pub const FLAG_ALLOW_RINGER_MODES : i32 = 2;

        /// public static final [FLAG_PLAY_SOUND](https://developer.android.com/reference/android/media/AudioManager.html#FLAG_PLAY_SOUND)
        pub const FLAG_PLAY_SOUND : i32 = 4;

        /// public static final [FLAG_REMOVE_SOUND_AND_VIBRATE](https://developer.android.com/reference/android/media/AudioManager.html#FLAG_REMOVE_SOUND_AND_VIBRATE)
        pub const FLAG_REMOVE_SOUND_AND_VIBRATE : i32 = 8;

        /// public static final [FLAG_SHOW_UI](https://developer.android.com/reference/android/media/AudioManager.html#FLAG_SHOW_UI)
        pub const FLAG_SHOW_UI : i32 = 1;

        /// public static final [FLAG_VIBRATE](https://developer.android.com/reference/android/media/AudioManager.html#FLAG_VIBRATE)
        pub const FLAG_VIBRATE : i32 = 16;

        /// public static final [FX_FOCUS_NAVIGATION_DOWN](https://developer.android.com/reference/android/media/AudioManager.html#FX_FOCUS_NAVIGATION_DOWN)
        pub const FX_FOCUS_NAVIGATION_DOWN : i32 = 2;

        /// public static final [FX_FOCUS_NAVIGATION_LEFT](https://developer.android.com/reference/android/media/AudioManager.html#FX_FOCUS_NAVIGATION_LEFT)
        pub const FX_FOCUS_NAVIGATION_LEFT : i32 = 3;

        /// public static final [FX_FOCUS_NAVIGATION_RIGHT](https://developer.android.com/reference/android/media/AudioManager.html#FX_FOCUS_NAVIGATION_RIGHT)
        pub const FX_FOCUS_NAVIGATION_RIGHT : i32 = 4;

        /// public static final [FX_FOCUS_NAVIGATION_UP](https://developer.android.com/reference/android/media/AudioManager.html#FX_FOCUS_NAVIGATION_UP)
        pub const FX_FOCUS_NAVIGATION_UP : i32 = 1;

        /// public static final [FX_KEYPRESS_DELETE](https://developer.android.com/reference/android/media/AudioManager.html#FX_KEYPRESS_DELETE)
        pub const FX_KEYPRESS_DELETE : i32 = 7;

        /// public static final [FX_KEYPRESS_INVALID](https://developer.android.com/reference/android/media/AudioManager.html#FX_KEYPRESS_INVALID)
        pub const FX_KEYPRESS_INVALID : i32 = 9;

        /// public static final [FX_KEYPRESS_RETURN](https://developer.android.com/reference/android/media/AudioManager.html#FX_KEYPRESS_RETURN)
        pub const FX_KEYPRESS_RETURN : i32 = 8;

        /// public static final [FX_KEYPRESS_SPACEBAR](https://developer.android.com/reference/android/media/AudioManager.html#FX_KEYPRESS_SPACEBAR)
        pub const FX_KEYPRESS_SPACEBAR : i32 = 6;

        /// public static final [FX_KEYPRESS_STANDARD](https://developer.android.com/reference/android/media/AudioManager.html#FX_KEYPRESS_STANDARD)
        pub const FX_KEYPRESS_STANDARD : i32 = 5;

        /// public static final [FX_KEY_CLICK](https://developer.android.com/reference/android/media/AudioManager.html#FX_KEY_CLICK)
        pub const FX_KEY_CLICK : i32 = 0;

        /// public static final [MODE_CURRENT](https://developer.android.com/reference/android/media/AudioManager.html#MODE_CURRENT)
        pub const MODE_CURRENT : i32 = -1;

        /// public static final [MODE_INVALID](https://developer.android.com/reference/android/media/AudioManager.html#MODE_INVALID)
        pub const MODE_INVALID : i32 = -2;

        /// public static final [MODE_IN_CALL](https://developer.android.com/reference/android/media/AudioManager.html#MODE_IN_CALL)
        pub const MODE_IN_CALL : i32 = 2;

        /// public static final [MODE_IN_COMMUNICATION](https://developer.android.com/reference/android/media/AudioManager.html#MODE_IN_COMMUNICATION)
        pub const MODE_IN_COMMUNICATION : i32 = 3;

        /// public static final [MODE_NORMAL](https://developer.android.com/reference/android/media/AudioManager.html#MODE_NORMAL)
        pub const MODE_NORMAL : i32 = 0;

        /// public static final [MODE_RINGTONE](https://developer.android.com/reference/android/media/AudioManager.html#MODE_RINGTONE)
        pub const MODE_RINGTONE : i32 = 1;

        /// public static final [NUM_STREAMS](https://developer.android.com/reference/android/media/AudioManager.html#NUM_STREAMS)
        #[deprecated] pub const NUM_STREAMS : i32 = 5;

        /// public static final [PROPERTY_OUTPUT_FRAMES_PER_BUFFER](https://developer.android.com/reference/android/media/AudioManager.html#PROPERTY_OUTPUT_FRAMES_PER_BUFFER)
        pub const PROPERTY_OUTPUT_FRAMES_PER_BUFFER : &'static str = "android.media.property.OUTPUT_FRAMES_PER_BUFFER";

        /// public static final [PROPERTY_OUTPUT_SAMPLE_RATE](https://developer.android.com/reference/android/media/AudioManager.html#PROPERTY_OUTPUT_SAMPLE_RATE)
        pub const PROPERTY_OUTPUT_SAMPLE_RATE : &'static str = "android.media.property.OUTPUT_SAMPLE_RATE";

        /// public static final [RINGER_MODE_CHANGED_ACTION](https://developer.android.com/reference/android/media/AudioManager.html#RINGER_MODE_CHANGED_ACTION)
        pub const RINGER_MODE_CHANGED_ACTION : &'static str = "android.media.RINGER_MODE_CHANGED";

        /// public static final [RINGER_MODE_NORMAL](https://developer.android.com/reference/android/media/AudioManager.html#RINGER_MODE_NORMAL)
        pub const RINGER_MODE_NORMAL : i32 = 2;

        /// public static final [RINGER_MODE_SILENT](https://developer.android.com/reference/android/media/AudioManager.html#RINGER_MODE_SILENT)
        pub const RINGER_MODE_SILENT : i32 = 0;

        /// public static final [RINGER_MODE_VIBRATE](https://developer.android.com/reference/android/media/AudioManager.html#RINGER_MODE_VIBRATE)
        pub const RINGER_MODE_VIBRATE : i32 = 1;

        /// public static final [ROUTE_ALL](https://developer.android.com/reference/android/media/AudioManager.html#ROUTE_ALL)
        #[deprecated] pub const ROUTE_ALL : i32 = -1;

        /// public static final [ROUTE_BLUETOOTH](https://developer.android.com/reference/android/media/AudioManager.html#ROUTE_BLUETOOTH)
        #[deprecated] pub const ROUTE_BLUETOOTH : i32 = 4;

        /// public static final [ROUTE_BLUETOOTH_A2DP](https://developer.android.com/reference/android/media/AudioManager.html#ROUTE_BLUETOOTH_A2DP)
        #[deprecated] pub const ROUTE_BLUETOOTH_A2DP : i32 = 16;

        /// public static final [ROUTE_BLUETOOTH_SCO](https://developer.android.com/reference/android/media/AudioManager.html#ROUTE_BLUETOOTH_SCO)
        #[deprecated] pub const ROUTE_BLUETOOTH_SCO : i32 = 4;

        /// public static final [ROUTE_EARPIECE](https://developer.android.com/reference/android/media/AudioManager.html#ROUTE_EARPIECE)
        #[deprecated] pub const ROUTE_EARPIECE : i32 = 1;

        /// public static final [ROUTE_HEADSET](https://developer.android.com/reference/android/media/AudioManager.html#ROUTE_HEADSET)
        #[deprecated] pub const ROUTE_HEADSET : i32 = 8;

        /// public static final [ROUTE_SPEAKER](https://developer.android.com/reference/android/media/AudioManager.html#ROUTE_SPEAKER)
        #[deprecated] pub const ROUTE_SPEAKER : i32 = 2;

        /// public static final [SCO_AUDIO_STATE_CONNECTED](https://developer.android.com/reference/android/media/AudioManager.html#SCO_AUDIO_STATE_CONNECTED)
        pub const SCO_AUDIO_STATE_CONNECTED : i32 = 1;

        /// public static final [SCO_AUDIO_STATE_CONNECTING](https://developer.android.com/reference/android/media/AudioManager.html#SCO_AUDIO_STATE_CONNECTING)
        pub const SCO_AUDIO_STATE_CONNECTING : i32 = 2;

        /// public static final [SCO_AUDIO_STATE_DISCONNECTED](https://developer.android.com/reference/android/media/AudioManager.html#SCO_AUDIO_STATE_DISCONNECTED)
        pub const SCO_AUDIO_STATE_DISCONNECTED : i32 = 0;

        /// public static final [SCO_AUDIO_STATE_ERROR](https://developer.android.com/reference/android/media/AudioManager.html#SCO_AUDIO_STATE_ERROR)
        pub const SCO_AUDIO_STATE_ERROR : i32 = -1;

        /// public static final [STREAM_ALARM](https://developer.android.com/reference/android/media/AudioManager.html#STREAM_ALARM)
        pub const STREAM_ALARM : i32 = 4;

        /// public static final [STREAM_DTMF](https://developer.android.com/reference/android/media/AudioManager.html#STREAM_DTMF)
        pub const STREAM_DTMF : i32 = 8;

        /// public static final [STREAM_MUSIC](https://developer.android.com/reference/android/media/AudioManager.html#STREAM_MUSIC)
        pub const STREAM_MUSIC : i32 = 3;

        /// public static final [STREAM_NOTIFICATION](https://developer.android.com/reference/android/media/AudioManager.html#STREAM_NOTIFICATION)
        pub const STREAM_NOTIFICATION : i32 = 5;

        /// public static final [STREAM_RING](https://developer.android.com/reference/android/media/AudioManager.html#STREAM_RING)
        pub const STREAM_RING : i32 = 2;

        /// public static final [STREAM_SYSTEM](https://developer.android.com/reference/android/media/AudioManager.html#STREAM_SYSTEM)
        pub const STREAM_SYSTEM : i32 = 1;

        /// public static final [STREAM_VOICE_CALL](https://developer.android.com/reference/android/media/AudioManager.html#STREAM_VOICE_CALL)
        pub const STREAM_VOICE_CALL : i32 = 0;

        /// public static final [USE_DEFAULT_STREAM_TYPE](https://developer.android.com/reference/android/media/AudioManager.html#USE_DEFAULT_STREAM_TYPE)
        pub const USE_DEFAULT_STREAM_TYPE : i32 = -2147483648;

        /// public static final [VIBRATE_SETTING_CHANGED_ACTION](https://developer.android.com/reference/android/media/AudioManager.html#VIBRATE_SETTING_CHANGED_ACTION)
        #[deprecated] pub const VIBRATE_SETTING_CHANGED_ACTION : &'static str = "android.media.VIBRATE_SETTING_CHANGED";

        /// public static final [VIBRATE_SETTING_OFF](https://developer.android.com/reference/android/media/AudioManager.html#VIBRATE_SETTING_OFF)
        #[deprecated] pub const VIBRATE_SETTING_OFF : i32 = 0;

        /// public static final [VIBRATE_SETTING_ON](https://developer.android.com/reference/android/media/AudioManager.html#VIBRATE_SETTING_ON)
        #[deprecated] pub const VIBRATE_SETTING_ON : i32 = 1;

        /// public static final [VIBRATE_SETTING_ONLY_SILENT](https://developer.android.com/reference/android/media/AudioManager.html#VIBRATE_SETTING_ONLY_SILENT)
        #[deprecated] pub const VIBRATE_SETTING_ONLY_SILENT : i32 = 2;

        /// public static final [VIBRATE_TYPE_NOTIFICATION](https://developer.android.com/reference/android/media/AudioManager.html#VIBRATE_TYPE_NOTIFICATION)
        #[deprecated] pub const VIBRATE_TYPE_NOTIFICATION : i32 = 1;

        /// public static final [VIBRATE_TYPE_RINGER](https://developer.android.com/reference/android/media/AudioManager.html#VIBRATE_TYPE_RINGER)
        #[deprecated] pub const VIBRATE_TYPE_RINGER : i32 = 0;
    }
}