-
Notifications
You must be signed in to change notification settings - Fork 0
/
AlwaysOnHotwordDetector.xml
889 lines (889 loc) · 64.3 KB
/
AlwaysOnHotwordDetector.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
885
886
887
888
889
<Type Name="AlwaysOnHotwordDetector" FullName="Android.Service.Voice.AlwaysOnHotwordDetector">
<TypeSignature Language="C#" Value="public class AlwaysOnHotwordDetector : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AlwaysOnHotwordDetector extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Service.Voice.AlwaysOnHotwordDetector" />
<TypeSignature Language="F#" Value="type AlwaysOnHotwordDetector = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/service/voice/AlwaysOnHotwordDetector", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/service/voice/AlwaysOnHotwordDetector", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="21">
<summary>A class that lets a VoiceInteractionService implementation interact with
always-on keyphrase detection APIs.</summary>
<remarks>
<para>A class that lets a VoiceInteractionService implementation interact with
always-on keyphrase detection APIs.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector</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=".ctor">
<MemberSignature Language="C#" Value="protected AlwaysOnHotwordDetector (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Service.Voice.AlwaysOnHotwordDetector : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Voice.AlwaysOnHotwordDetector" Usage="new Android.Service.Voice.AlwaysOnHotwordDetector (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</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>
<Member MemberName="AudioCapabilityEchoCancellation">
<MemberSignature Language="C#" Value="public const Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability AudioCapabilityEchoCancellation = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability AudioCapabilityEchoCancellation = (1)" />
<MemberSignature Language="DocId" Value="F:Android.Service.Voice.AlwaysOnHotwordDetector.AudioCapabilityEchoCancellation" />
<MemberSignature Language="F#" Value="val mutable AudioCapabilityEchoCancellation : Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.AudioCapabilityEchoCancellation" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("AUDIO_CAPABILITY_ECHO_CANCELLATION", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("AUDIO_CAPABILITY_ECHO_CANCELLATION", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>If set the underlying module supports AEC.</summary>
<remarks>
<para>If set the underlying module supports AEC.
Returned by <c>#getSupportedAudioCapabilities()</c></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#AUDIO_CAPABILITY_ECHO_CANCELLATION" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.AUDIO_CAPABILITY_ECHO_CANCELLATION</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="AudioCapabilityNoiseSuppression">
<MemberSignature Language="C#" Value="public const Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability AudioCapabilityNoiseSuppression = 2;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability AudioCapabilityNoiseSuppression = (2)" />
<MemberSignature Language="DocId" Value="F:Android.Service.Voice.AlwaysOnHotwordDetector.AudioCapabilityNoiseSuppression" />
<MemberSignature Language="F#" Value="val mutable AudioCapabilityNoiseSuppression : Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.AudioCapabilityNoiseSuppression" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("AUDIO_CAPABILITY_NOISE_SUPPRESSION", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("AUDIO_CAPABILITY_NOISE_SUPPRESSION", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Service.Voice.AlwaysOnHotwordDetectorAudioCapability</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>If set, the underlying module supports noise suppression.</summary>
<remarks>
<para>If set, the underlying module supports noise suppression.
Returned by <c>#getSupportedAudioCapabilities()</c></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#AUDIO_CAPABILITY_NOISE_SUPPRESSION" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.AUDIO_CAPABILITY_NOISE_SUPPRESSION</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="CreateEnrollIntent">
<MemberSignature Language="C#" Value="public virtual Android.Content.Intent? CreateEnrollIntent ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Content.Intent CreateEnrollIntent() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.CreateEnrollIntent" />
<MemberSignature Language="F#" Value="abstract member CreateEnrollIntent : unit -> Android.Content.Intent
override this.CreateEnrollIntent : unit -> Android.Content.Intent" Usage="alwaysOnHotwordDetector.CreateEnrollIntent " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createEnrollIntent", "()Landroid/content/Intent;", "GetCreateEnrollIntentHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createEnrollIntent", "()Landroid/content/Intent;", "GetCreateEnrollIntentHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Intent</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates an intent to start the enrollment for the associated keyphrase.</summary>
<returns>An <c>Intent</c> to start enrollment for the given keyphrase.</returns>
<remarks>
<para>Creates an intent to start the enrollment for the associated keyphrase.
This intent must be invoked using <c>Context#startForegroundService(Intent)</c>.
Starting re-enrollment is only valid if the keyphrase is un-enrolled,
i.e. <c>#STATE_KEYPHRASE_UNENROLLED</c>,
otherwise <c>#createReEnrollIntent()</c> should be preferred.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#createEnrollIntent()" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.createEnrollIntent()</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>
<since version="Added in API level 21" />
<exception cref="T:Java.Lang.UnsupportedOperationException">if managing they keyphrase isn't supported.
Callers should only call this method after a supported state callback on
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=AlwaysOnHotwordDetector Callback onAvailabilityChanged(int);scope=Xamarin" title="AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)">AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)</a></format> to avoid this exception.</exception>
<exception cref="T:Java.Lang.IllegalStateException">if the detector is in an invalid state.
This may happen if another detector has been instantiated or the
<see cref="T:Android.Service.Voice.VoiceInteractionService" /> hosting this detector has been shut down.
</exception>
</Docs>
</Member>
<Member MemberName="CreateReEnrollIntent">
<MemberSignature Language="C#" Value="public virtual Android.Content.Intent? CreateReEnrollIntent ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Content.Intent CreateReEnrollIntent() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.CreateReEnrollIntent" />
<MemberSignature Language="F#" Value="abstract member CreateReEnrollIntent : unit -> Android.Content.Intent
override this.CreateReEnrollIntent : unit -> Android.Content.Intent" Usage="alwaysOnHotwordDetector.CreateReEnrollIntent " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createReEnrollIntent", "()Landroid/content/Intent;", "GetCreateReEnrollIntentHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createReEnrollIntent", "()Landroid/content/Intent;", "GetCreateReEnrollIntentHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Intent</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates an intent to start the re-enrollment for the associated keyphrase.</summary>
<returns>An <c>Intent</c> to start re-enrollment for the given keyphrase.</returns>
<remarks>
<para>Creates an intent to start the re-enrollment for the associated keyphrase.
This intent must be invoked using <c>Context#startForegroundService(Intent)</c>.
Starting re-enrollment is only valid if the keyphrase is already enrolled,
i.e. <c>#STATE_KEYPHRASE_ENROLLED</c>, otherwise invoking this may result in an error.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#createReEnrollIntent()" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.createReEnrollIntent()</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>
<exception cref="T:Java.Lang.UnsupportedOperationException">if managing they keyphrase isn't supported.
Callers should only call this method after a supported state callback on
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=AlwaysOnHotwordDetector Callback onAvailabilityChanged(int);scope=Xamarin" title="AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)">AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)</a></format> to avoid this exception.</exception>
<exception cref="T:Java.Lang.IllegalStateException">if the detector is in an invalid state.
This may happen if another detector has been instantiated or the
<see cref="T:Android.Service.Voice.VoiceInteractionService" /> hosting this detector has been shut down.
</exception>
</Docs>
</Member>
<Member MemberName="CreateUnEnrollIntent">
<MemberSignature Language="C#" Value="public virtual Android.Content.Intent? CreateUnEnrollIntent ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Content.Intent CreateUnEnrollIntent() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.CreateUnEnrollIntent" />
<MemberSignature Language="F#" Value="abstract member CreateUnEnrollIntent : unit -> Android.Content.Intent
override this.CreateUnEnrollIntent : unit -> Android.Content.Intent" Usage="alwaysOnHotwordDetector.CreateUnEnrollIntent " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createUnEnrollIntent", "()Landroid/content/Intent;", "GetCreateUnEnrollIntentHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createUnEnrollIntent", "()Landroid/content/Intent;", "GetCreateUnEnrollIntentHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Intent</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates an intent to start the un-enrollment for the associated keyphrase.</summary>
<returns>An <c>Intent</c> to start un-enrollment for the given keyphrase.</returns>
<remarks>
<para>Creates an intent to start the un-enrollment for the associated keyphrase.
This intent must be invoked using <c>Context#startForegroundService(Intent)</c>.
Starting re-enrollment is only valid if the keyphrase is already enrolled,
i.e. <c>#STATE_KEYPHRASE_ENROLLED</c>, otherwise invoking this may result in an error.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#createUnEnrollIntent()" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.createUnEnrollIntent()</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>
<exception cref="T:Java.Lang.UnsupportedOperationException">if managing they keyphrase isn't supported.
Callers should only call this method after a supported state callback on
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=AlwaysOnHotwordDetector Callback onAvailabilityChanged(int);scope=Xamarin" title="AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)">AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)</a></format> to avoid this exception.</exception>
<exception cref="T:Java.Lang.IllegalStateException">if the detector is in an invalid state.
This may happen if another detector has been instantiated or the
<see cref="T:Android.Service.Voice.VoiceInteractionService" /> hosting this detector has been shut down.
</exception>
</Docs>
</Member>
<Member MemberName="GetParameter">
<MemberSignature Language="C#" Value="public virtual int GetParameter (int modelParam);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetParameter(int32 modelParam) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.GetParameter(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member GetParameter : int -> int
override this.GetParameter : int -> int" Usage="alwaysOnHotwordDetector.GetParameter modelParam" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getParameter", "(I)I", "GetGetParameter_IHandler", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getParameter", "(I)I", "GetGetParameter_IHandler", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="modelParam" Type="System.Int32" />
</Parameters>
<Docs>
<param name="modelParam">
<c>ModelParams</c>
</param>
<summary>Get a model specific <c>ModelParams</c>.</summary>
<returns>value of parameter</returns>
<remarks>
<para>Get a model specific <c>ModelParams</c>. This parameter will keep its value
for the duration the model is loaded regardless of starting and stopping recognition.
Once the model is unloaded, the value will be lost. If the value is not set, a default
value is returned. See <c>ModelParams</c> for parameter default values.
<c>AlwaysOnHotwordDetector#queryParameter</c> should be checked first before
calling this method.
Caller must be the active voice interaction service via
Settings.Secure.VOICE_INTERACTION_SERVICE.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#getParameter(int)" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.getParameter(int)</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.Service.Voice.AlwaysOnHotwordDetector.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.JniPeerMembers" />
<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>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="ModelParamThresholdFactor">
<MemberSignature Language="C#" Value="public const Android.Service.Voice.ModelType ModelParamThresholdFactor = 0;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Service.Voice.ModelType ModelParamThresholdFactor = (0)" />
<MemberSignature Language="DocId" Value="F:Android.Service.Voice.AlwaysOnHotwordDetector.ModelParamThresholdFactor" />
<MemberSignature Language="F#" Value="val mutable ModelParamThresholdFactor : Android.Service.Voice.ModelType" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.ModelParamThresholdFactor" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("MODEL_PARAM_THRESHOLD_FACTOR", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("MODEL_PARAM_THRESHOLD_FACTOR", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.ModelType enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.ModelType enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Service.Voice.ModelType</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Controls the sensitivity threshold adjustment factor for a given model.</summary>
<remarks>
<para>Controls the sensitivity threshold adjustment factor for a given model.
Negative value corresponds to less sensitive model (high threshold) and
a positive value corresponds to a more sensitive model (low threshold).
Default value is 0.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#MODEL_PARAM_THRESHOLD_FACTOR" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.MODEL_PARAM_THRESHOLD_FACTOR</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="QueryParameter">
<MemberSignature Language="C#" Value="public virtual Android.Service.Voice.AlwaysOnHotwordDetector.ModelParamRange? QueryParameter (int modelParam);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Service.Voice.AlwaysOnHotwordDetector/ModelParamRange QueryParameter(int32 modelParam) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.QueryParameter(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member QueryParameter : int -> Android.Service.Voice.AlwaysOnHotwordDetector.ModelParamRange
override this.QueryParameter : int -> Android.Service.Voice.AlwaysOnHotwordDetector.ModelParamRange" Usage="alwaysOnHotwordDetector.QueryParameter modelParam" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("queryParameter", "(I)Landroid/service/voice/AlwaysOnHotwordDetector$ModelParamRange;", "GetQueryParameter_IHandler", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("queryParameter", "(I)Landroid/service/voice/AlwaysOnHotwordDetector$ModelParamRange;", "GetQueryParameter_IHandler", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Service.Voice.AlwaysOnHotwordDetector+ModelParamRange</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="modelParam" Type="System.Int32" />
</Parameters>
<Docs>
<param name="modelParam">
<c>ModelParams</c>
</param>
<summary>Determine if parameter control is supported for the given model handle.</summary>
<returns>supported range of parameter, null if not supported</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#queryParameter(int)" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.queryParameter(int)</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="RecognitionFlagEnableAudioEchoCancellation">
<MemberSignature Language="C#" Value="public const Android.Service.Voice.RecognitionFlag RecognitionFlagEnableAudioEchoCancellation = 4;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Service.Voice.RecognitionFlag RecognitionFlagEnableAudioEchoCancellation = (4)" />
<MemberSignature Language="DocId" Value="F:Android.Service.Voice.AlwaysOnHotwordDetector.RecognitionFlagEnableAudioEchoCancellation" />
<MemberSignature Language="F#" Value="val mutable RecognitionFlagEnableAudioEchoCancellation : Android.Service.Voice.RecognitionFlag" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.RecognitionFlagEnableAudioEchoCancellation" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.RecognitionFlag enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.RecognitionFlag enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Service.Voice.RecognitionFlag</ReturnType>
</ReturnValue>
<MemberValue>4</MemberValue>
<Docs>
<summary>Audio capabilities flag for <c>#startRecognition(int)</c> that indicates
if the underlying recognition should use AEC.</summary>
<remarks>
<para>Audio capabilities flag for <c>#startRecognition(int)</c> that indicates
if the underlying recognition should use AEC.
This capability may or may not be supported by the system, and support can be queried
by calling <c>#getSupportedAudioCapabilities()</c>. The corresponding capabilities field for
this flag is <c>#AUDIO_CAPABILITY_ECHO_CANCELLATION</c>. If this flag is passed without the
audio capability supported, there will be no audio effect applied.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION</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="RecognitionFlagEnableAudioNoiseSuppression">
<MemberSignature Language="C#" Value="public const Android.Service.Voice.RecognitionFlag RecognitionFlagEnableAudioNoiseSuppression = 8;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Service.Voice.RecognitionFlag RecognitionFlagEnableAudioNoiseSuppression = (8)" />
<MemberSignature Language="DocId" Value="F:Android.Service.Voice.AlwaysOnHotwordDetector.RecognitionFlagEnableAudioNoiseSuppression" />
<MemberSignature Language="F#" Value="val mutable RecognitionFlagEnableAudioNoiseSuppression : Android.Service.Voice.RecognitionFlag" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.RecognitionFlagEnableAudioNoiseSuppression" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.RecognitionFlag enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.RecognitionFlag enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Service.Voice.RecognitionFlag</ReturnType>
</ReturnValue>
<MemberValue>8</MemberValue>
<Docs>
<summary>Audio capabilities flag for <c>#startRecognition(int)</c> that indicates
if the underlying recognition should use noise suppression.</summary>
<remarks>
<para>Audio capabilities flag for <c>#startRecognition(int)</c> that indicates
if the underlying recognition should use noise suppression.
This capability may or may not be supported by the system, and support can be queried
by calling <c>#getSupportedAudioCapabilities()</c>. The corresponding capabilities field for
this flag is <c>#AUDIO_CAPABILITY_NOISE_SUPPRESSION</c>. If this flag is passed without the
audio capability supported, there will be no audio effect applied.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION</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="SetParameter">
<MemberSignature Language="C#" Value="public virtual int SetParameter (int modelParam, int value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 SetParameter(int32 modelParam, int32 value) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.SetParameter(System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member SetParameter : int * int -> int
override this.SetParameter : int * int -> int" Usage="alwaysOnHotwordDetector.SetParameter (modelParam, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setParameter", "(II)I", "GetSetParameter_IIHandler", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setParameter", "(II)I", "GetSetParameter_IIHandler", ApiSince=30)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="modelParam" Type="System.Int32" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<param name="modelParam">
<c>ModelParams</c>
</param>
<param name="value">Value to set</param>
<summary>Set a model specific <c>ModelParams</c> with the given value.</summary>
<returns>- <c>SoundTrigger#STATUS_OK</c> in case of success
- <c>SoundTrigger#STATUS_NO_INIT</c> if the native service cannot be reached
- <c>SoundTrigger#STATUS_BAD_VALUE</c> invalid input parameter
- <c>SoundTrigger#STATUS_INVALID_OPERATION</c> if the call is out of sequence or
if API is not supported by HAL</returns>
<remarks>
<para>Set a model specific <c>ModelParams</c> with the given value. This
parameter will keep its value for the duration the model is loaded regardless of starting and
stopping recognition. Once the model is unloaded, the value will be lost.
<c>AlwaysOnHotwordDetector#queryParameter</c> should be checked first before calling this
method.
Caller must be the active voice interaction service via
Settings.Secure.VOICE_INTERACTION_SERVICE.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#setParameter(int,%20int)" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.setParameter(int, int)</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="StartRecognition">
<MemberSignature Language="C#" Value="public virtual bool StartRecognition (Android.Service.Voice.RecognitionFlag recognitionFlags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool StartRecognition(valuetype Android.Service.Voice.RecognitionFlag recognitionFlags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.StartRecognition(Android.Service.Voice.RecognitionFlag)" />
<MemberSignature Language="F#" Value="abstract member StartRecognition : Android.Service.Voice.RecognitionFlag -> bool
override this.StartRecognition : Android.Service.Voice.RecognitionFlag -> bool" Usage="alwaysOnHotwordDetector.StartRecognition recognitionFlags" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("startRecognition", "(I)Z", "GetStartRecognition_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("startRecognition", "(I)Z", "GetStartRecognition_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="recognitionFlags" Type="Android.Service.Voice.RecognitionFlag">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="recognitionFlags">The flags to control the recognition properties.</param>
<summary>Starts recognition for the associated keyphrase.</summary>
<returns>Indicates whether the call succeeded or not.</returns>
<remarks>
<para>Starts recognition for the associated keyphrase.
Caller must be the active voice interaction service via
Settings.Secure.VOICE_INTERACTION_SERVICE.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#startRecognition(int)" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.startRecognition(int)</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>
<exception cref="T:Java.Lang.UnsupportedOperationException">if the recognition isn't supported.
Callers should only call this method after a supported state callback on
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=AlwaysOnHotwordDetector Callback onAvailabilityChanged(int);scope=Xamarin" title="AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)">AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)</a></format> to avoid this exception.</exception>
<exception cref="T:Java.Lang.IllegalStateException">if the detector is in an invalid state.
This may happen if another detector has been instantiated or the
<see cref="T:Android.Service.Voice.VoiceInteractionService" /> hosting this detector has been shut down.
</exception>
</Docs>
</Member>
<Member MemberName="StopRecognition">
<MemberSignature Language="C#" Value="public virtual bool StopRecognition ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool StopRecognition() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Service.Voice.AlwaysOnHotwordDetector.StopRecognition" />
<MemberSignature Language="F#" Value="abstract member StopRecognition : unit -> bool
override this.StopRecognition : unit -> bool" Usage="alwaysOnHotwordDetector.StopRecognition " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("stopRecognition", "()Z", "GetStopRecognitionHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("stopRecognition", "()Z", "GetStopRecognitionHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Stops recognition for the associated keyphrase.</summary>
<returns>Indicates whether the call succeeded or not.</returns>
<remarks>
<para>Stops recognition for the associated keyphrase.
Caller must be the active voice interaction service via
Settings.Secure.VOICE_INTERACTION_SERVICE.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#stopRecognition()" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.stopRecognition()</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>
<exception cref="T:Java.Lang.UnsupportedOperationException">if the recognition isn't supported.
Callers should only call this method after a supported state callback on
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=AlwaysOnHotwordDetector Callback onAvailabilityChanged(int);scope=Xamarin" title="AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)">AlwaysOnHotwordDetector Callback onAvailabilityChanged(int)</a></format> to avoid this exception.</exception>
<exception cref="T:Java.Lang.IllegalStateException">if the detector is in an invalid state.
This may happen if another detector has been instantiated or the
<see cref="T:Android.Service.Voice.VoiceInteractionService" /> hosting this detector has been shut down.
</exception>
</Docs>
</Member>
<Member MemberName="SupportedAudioCapabilities">
<MemberSignature Language="C#" Value="public virtual int SupportedAudioCapabilities { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 SupportedAudioCapabilities" />
<MemberSignature Language="DocId" Value="P:Android.Service.Voice.AlwaysOnHotwordDetector.SupportedAudioCapabilities" />
<MemberSignature Language="F#" Value="member this.SupportedAudioCapabilities : int" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.SupportedAudioCapabilities" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSupportedAudioCapabilities", "()I", "GetGetSupportedAudioCapabilitiesHandler", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSupportedAudioCapabilities", "()I", "GetGetSupportedAudioCapabilitiesHandler", ApiSince=30)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Get the audio capabilities supported by the platform which can be enabled when
starting a recognition.</summary>
<value>Bit field encoding of the AudioCapabilities supported.</value>
<remarks>
<para>Get the audio capabilities supported by the platform which can be enabled when
starting a recognition.
Caller must be the active voice interaction service via
Settings.Secure.VOICE_INTERACTION_SERVICE.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#getSupportedAudioCapabilities()" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.getSupportedAudioCapabilities()</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="SupportedRecognitionModes">
<MemberSignature Language="C#" Value="public virtual Android.Service.Voice.RecognitionMode SupportedRecognitionModes { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Service.Voice.RecognitionMode SupportedRecognitionModes" />
<MemberSignature Language="DocId" Value="P:Android.Service.Voice.AlwaysOnHotwordDetector.SupportedRecognitionModes" />
<MemberSignature Language="F#" Value="member this.SupportedRecognitionModes : Android.Service.Voice.RecognitionMode" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.SupportedRecognitionModes" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSupportedRecognitionModes", "()I", "GetGetSupportedRecognitionModesHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSupportedRecognitionModes", "()I", "GetGetSupportedRecognitionModesHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Service.Voice.RecognitionMode</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the recognition modes supported by the associated keyphrase.</summary>
<value>To be added.</value>
<remarks>
<para>Gets the recognition modes supported by the associated keyphrase.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/service/voice/AlwaysOnHotwordDetector#getSupportedRecognitionModes()" title="Reference documentation">Java documentation for <code>android.service.voice.AlwaysOnHotwordDetector.getSupportedRecognitionModes()</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.Service.Voice.AlwaysOnHotwordDetector.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.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.Service.Voice.AlwaysOnHotwordDetector.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Service.Voice.AlwaysOnHotwordDetector.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>
</Members>
</Type>