-
Notifications
You must be signed in to change notification settings - Fork 0
/
AccessibilityService+MagnificationController.xml
864 lines (864 loc) · 60.6 KB
/
AccessibilityService+MagnificationController.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
<Type Name="AccessibilityService+MagnificationController" FullName="Android.AccessibilityServices.AccessibilityService+MagnificationController">
<TypeSignature Language="C#" Value="public sealed class AccessibilityService.MagnificationController : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi sealed beforefieldinit AccessibilityService/MagnificationController extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.AccessibilityServices.AccessibilityService.MagnificationController" />
<TypeSignature Language="F#" Value="type AccessibilityService.MagnificationController = 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/accessibilityservice/AccessibilityService$MagnificationController", ApiSince=24, DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/accessibilityservice/AccessibilityService$MagnificationController", ApiSince=24, DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Used to control and query the state of display magnification.</summary>
<remarks>
<para>Used to control and query the state of display magnification.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController</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="AddListener">
<MemberSignature Language="C#" Value="public void AddListener (Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener listener);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddListener(class Android.AccessibilityServices.AccessibilityService/MagnificationController/IOnMagnificationChangedListener listener) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.AddListener(Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener)" />
<MemberSignature Language="F#" Value="member this.AddListener : Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener -> unit" Usage="magnificationController.AddListener listener" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;)V", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;)V", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="listener" Type="Android.AccessibilityServices.AccessibilityService+MagnificationController+IOnMagnificationChangedListener" />
</Parameters>
<Docs>
<param name="listener">To be added.</param>
<summary>To be added.</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="AddListener">
<MemberSignature Language="C#" Value="public void AddListener (Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener listener, Android.OS.Handler? handler);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddListener(class Android.AccessibilityServices.AccessibilityService/MagnificationController/IOnMagnificationChangedListener listener, class Android.OS.Handler handler) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.AddListener(Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener,Android.OS.Handler)" />
<MemberSignature Language="F#" Value="member this.AddListener : Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener * Android.OS.Handler -> unit" Usage="magnificationController.AddListener (listener, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;Landroid/os/Handler;)V", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;Landroid/os/Handler;)V", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="listener" Type="Android.AccessibilityServices.AccessibilityService+MagnificationController+IOnMagnificationChangedListener" />
<Parameter Name="handler" Type="Android.OS.Handler" />
</Parameters>
<Docs>
<param name="listener">To be added.</param>
<param name="handler">To be added.</param>
<summary>To be added.</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="CenterX">
<MemberSignature Language="C#" Value="public float CenterX { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 CenterX" />
<MemberSignature Language="DocId" Value="P:Android.AccessibilityServices.AccessibilityService.MagnificationController.CenterX" />
<MemberSignature Language="F#" Value="member this.CenterX : single" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.CenterX" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCenterX", "()F", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCenterX", "()F", "", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the unscaled screen-relative X coordinate of the focal
center of the magnified region.</summary>
<value>the unscaled screen-relative X coordinate of the center of
the magnified region</value>
<remarks>
<para>Returns the unscaled screen-relative X coordinate of the focal
center of the magnified region. This is the point around which
zooming occurs and is guaranteed to lie within the magnified
region.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will
return a default value of <c>0.0f</c>.</para>
<para><strong>Note:</strong> This legacy API gets the center position of full-screen
magnification. To get the magnification center of the current controlling magnifier,
use <c>#getMagnificationConfig</c> instead.</para>
<para>This member is deprecated. Use <c>#getMagnificationConfig()</c> instead</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#getCenterX()" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.getCenterX()</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="CenterY">
<MemberSignature Language="C#" Value="public float CenterY { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 CenterY" />
<MemberSignature Language="DocId" Value="P:Android.AccessibilityServices.AccessibilityService.MagnificationController.CenterY" />
<MemberSignature Language="F#" Value="member this.CenterY : single" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.CenterY" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCenterY", "()F", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCenterY", "()F", "", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the unscaled screen-relative Y coordinate of the focal
center of the magnified region.</summary>
<value>the unscaled screen-relative Y coordinate of the center of
the magnified region</value>
<remarks>
<para>Returns the unscaled screen-relative Y coordinate of the focal
center of the magnified region. This is the point around which
zooming occurs and is guaranteed to lie within the magnified
region.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will
return a default value of <c>0.0f</c>.</para>
<para><strong>Note:</strong> This legacy API gets the center position of full-screen
magnification. To get the magnification center of the current controlling magnifier,
use <c>#getMagnificationConfig</c> instead.</para>
<para>This member is deprecated. Use <c>#getMagnificationConfig()</c> instead</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#getCenterY()" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.getCenterY()</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="CurrentMagnificationRegion">
<MemberSignature Language="C#" Value="public Android.Graphics.Region CurrentMagnificationRegion { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Graphics.Region CurrentMagnificationRegion" />
<MemberSignature Language="DocId" Value="P:Android.AccessibilityServices.AccessibilityService.MagnificationController.CurrentMagnificationRegion" />
<MemberSignature Language="F#" Value="member this.CurrentMagnificationRegion : Android.Graphics.Region" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.CurrentMagnificationRegion" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCurrentMagnificationRegion", "()Landroid/graphics/Region;", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCurrentMagnificationRegion", "()Landroid/graphics/Region;", "", ApiSince=33)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Region</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the region of the screen currently active for magnification if the
controlling magnification is <c>MagnificationConfig#MAGNIFICATION_MODE_FULLSCREEN</c>.</summary>
<value>the magnification region of the currently controlling magnification</value>
<remarks>
<para>Returns the region of the screen currently active for magnification if the
controlling magnification is <c>MagnificationConfig#MAGNIFICATION_MODE_FULLSCREEN</c>.
Returns the region of screen projected on the magnification window if the
controlling magnification is <c>MagnificationConfig#MAGNIFICATION_MODE_WINDOW</c>.</para>
<para>If the controlling mode is <c>MagnificationConfig#MAGNIFICATION_MODE_FULLSCREEN</c>,
the returned region will be empty if the magnification is
not active. And the magnification is active if magnification gestures are enabled
or if a service is running that can control magnification.</para>
<para>If the controlling mode is <c>MagnificationConfig#MAGNIFICATION_MODE_WINDOW</c>,
the returned region will be empty if the magnification is not activated.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will
return an empty region.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#getCurrentMagnificationRegion()" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.getCurrentMagnificationRegion()</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.AccessibilityServices.AccessibilityService.MagnificationController.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.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="MagnificationConfig">
<MemberSignature Language="C#" Value="public Android.AccessibilityServices.MagnificationConfig? MagnificationConfig { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.AccessibilityServices.MagnificationConfig MagnificationConfig" />
<MemberSignature Language="DocId" Value="P:Android.AccessibilityServices.AccessibilityService.MagnificationController.MagnificationConfig" />
<MemberSignature Language="F#" Value="member this.MagnificationConfig : Android.AccessibilityServices.MagnificationConfig" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.MagnificationConfig" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getMagnificationConfig", "()Landroid/accessibilityservice/MagnificationConfig;", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getMagnificationConfig", "()Landroid/accessibilityservice/MagnificationConfig;", "", ApiSince=33)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.AccessibilityServices.MagnificationConfig</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <c>MagnificationConfig</c> of the controlling magnifier on the display.</summary>
<value>the magnification config that the service controls</value>
<remarks>
<para>Gets the <c>MagnificationConfig</c> of the controlling magnifier on the display.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will
return null.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#getMagnificationConfig()" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.getMagnificationConfig()</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="MagnificationRegion">
<MemberSignature Language="C#" Value="public Android.Graphics.Region MagnificationRegion { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Graphics.Region MagnificationRegion" />
<MemberSignature Language="DocId" Value="P:Android.AccessibilityServices.AccessibilityService.MagnificationController.MagnificationRegion" />
<MemberSignature Language="F#" Value="member this.MagnificationRegion : Android.Graphics.Region" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.MagnificationRegion" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getMagnificationRegion", "()Landroid/graphics/Region;", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getMagnificationRegion", "()Landroid/graphics/Region;", "", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Region</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the region of the screen currently active for magnification.</summary>
<value>the region of the screen currently active for magnification, or an empty region
if magnification is not active.</value>
<remarks>
<para>Returns the region of the screen currently active for magnification. Changes to
magnification scale and center only affect this portion of the screen. The rest of the
screen, for example input methods, cannot be magnified. This region is relative to the
unscaled screen and is independent of the scale and center point.</para>
<para>The returned region will be empty if magnification is not active. Magnification is active
if magnification gestures are enabled or if a service is running that can control
magnification.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will
return an empty region.</para>
<para><strong>Note:</strong> This legacy API gets the magnification region of full-screen
magnification. To get the magnification region of the current controlling magnifier,
use <c>#getCurrentMagnificationRegion()</c> instead.</para>
<para>This member is deprecated. Use <c>#getCurrentMagnificationRegion()</c> instead</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#getMagnificationRegion()" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.getMagnificationRegion()</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="RemoveListener">
<MemberSignature Language="C#" Value="public bool RemoveListener (Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener listener);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool RemoveListener(class Android.AccessibilityServices.AccessibilityService/MagnificationController/IOnMagnificationChangedListener listener) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.RemoveListener(Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener)" />
<MemberSignature Language="F#" Value="member this.RemoveListener : Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener -> bool" Usage="magnificationController.RemoveListener listener" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("removeListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;)Z", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("removeListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;)Z", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="listener" Type="Android.AccessibilityServices.AccessibilityService+MagnificationController+IOnMagnificationChangedListener" />
</Parameters>
<Docs>
<param name="listener">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Reset">
<MemberSignature Language="C#" Value="public bool Reset (bool animate);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Reset(bool animate) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.Reset(System.Boolean)" />
<MemberSignature Language="F#" Value="member this.Reset : bool -> bool" Usage="magnificationController.Reset animate" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("reset", "(Z)Z", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("reset", "(Z)Z", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="animate" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="animate">
<c>true</c> to animate from the current scale and
center or <c>false</c> to reset the scale and center
immediately</param>
<summary>Resets magnification scale and center to their default (e.</summary>
<returns>
<c>true</c> on success, <c>false</c> on failure</returns>
<remarks>
<para>Resets magnification scale and center to their default (e.g. no
magnification) values.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will have
no effect and return <c>false</c>.</para>
<para><strong>Note:</strong> This legacy API reset full-screen magnification.
To reset the current controlling magnifier, use
<c>#resetCurrentMagnification(boolean)</c> ()} instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#reset(boolean)" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.reset(boolean)</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="ResetCurrentMagnification">
<MemberSignature Language="C#" Value="public bool ResetCurrentMagnification (bool animate);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool ResetCurrentMagnification(bool animate) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.ResetCurrentMagnification(System.Boolean)" />
<MemberSignature Language="F#" Value="member this.ResetCurrentMagnification : bool -> bool" Usage="magnificationController.ResetCurrentMagnification animate" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("resetCurrentMagnification", "(Z)Z", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("resetCurrentMagnification", "(Z)Z", "", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="animate" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="animate">
<c>true</c> to animate from the current scale and
center or <c>false</c> to reset the scale and center
immediately</param>
<summary>Resets magnification scale and center of the controlling magnification
to their default (e.</summary>
<returns>
<c>true</c> on success, <c>false</c> on failure</returns>
<remarks>
<para>Resets magnification scale and center of the controlling magnification
to their default (e.g. no magnification) values.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will have
no effect and return <c>false</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#resetCurrentMagnification(boolean)" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.resetCurrentMagnification(boolean)</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="Scale">
<MemberSignature Language="C#" Value="public float Scale { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 Scale" />
<MemberSignature Language="DocId" Value="P:Android.AccessibilityServices.AccessibilityService.MagnificationController.Scale" />
<MemberSignature Language="F#" Value="member this.Scale : single" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.Scale" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getScale", "()F", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getScale", "()F", "", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the current magnification scale.</summary>
<value>the current magnification scale</value>
<remarks>
<para>Returns the current magnification scale.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will
return a default value of <c>1.0f</c>.</para>
<para><strong>Note:</strong> This legacy API gets the scale of full-screen
magnification. To get the scale of the current controlling magnifier,
use <c>#getMagnificationConfig</c> instead.</para>
<para>This member is deprecated. Use <c>#getMagnificationConfig()</c> instead</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#getScale()" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.getScale()</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="SetCenter">
<MemberSignature Language="C#" Value="public bool SetCenter (float centerX, float centerY, bool animate);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool SetCenter(float32 centerX, float32 centerY, bool animate) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.SetCenter(System.Single,System.Single,System.Boolean)" />
<MemberSignature Language="F#" Value="member this.SetCenter : single * single * bool -> bool" Usage="magnificationController.SetCenter (centerX, centerY, animate)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setCenter", "(FFZ)Z", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setCenter", "(FFZ)Z", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="centerX" Type="System.Single" />
<Parameter Name="centerY" Type="System.Single" />
<Parameter Name="animate" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="centerX">the unscaled screen-relative X coordinate on which to
center the viewport</param>
<param name="centerY">the unscaled screen-relative Y coordinate on which to
center the viewport</param>
<param name="animate">
<c>true</c> to animate from the current viewport
center or <c>false</c> to set the center immediately</param>
<summary>Sets the center of the magnified viewport.</summary>
<returns>
<c>true</c> on success, <c>false</c> on failure</returns>
<remarks>
<para>Sets the center of the magnified viewport.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will have
no effect and return <c>false</c>.</para>
<para><strong>Note:</strong> This legacy API sets the center of full-screen
magnification. To set the center of the specified magnifier,
use <c>#setMagnificationConfig</c> instead.</para>
<para>This member is deprecated. Use <c>#setMagnificationConfig(MagnificationConfig, boolean)</c> instead</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#setCenter(float,%20float,%20boolean)" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.setCenter(float, float, boolean)</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="SetMagnificationConfig">
<MemberSignature Language="C#" Value="public bool SetMagnificationConfig (Android.AccessibilityServices.MagnificationConfig config, bool animate);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool SetMagnificationConfig(class Android.AccessibilityServices.MagnificationConfig config, bool animate) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.SetMagnificationConfig(Android.AccessibilityServices.MagnificationConfig,System.Boolean)" />
<MemberSignature Language="F#" Value="member this.SetMagnificationConfig : Android.AccessibilityServices.MagnificationConfig * bool -> bool" Usage="magnificationController.SetMagnificationConfig (config, animate)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setMagnificationConfig", "(Landroid/accessibilityservice/MagnificationConfig;Z)Z", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setMagnificationConfig", "(Landroid/accessibilityservice/MagnificationConfig;Z)Z", "", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="config" Type="Android.AccessibilityServices.MagnificationConfig" />
<Parameter Name="animate" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="config">the magnification config</param>
<param name="animate">
<c>true</c> to animate from the current spec or
<c>false</c> to set the spec immediately</param>
<summary>Sets the <c>MagnificationConfig</c>.</summary>
<returns>
<c>true</c> on success, <c>false</c> on failure</returns>
<remarks>
<para>Sets the <c>MagnificationConfig</c>. The service controls the magnification by
setting the config.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will have
no effect and return <c>false</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#setMagnificationConfig(android.accessibilityservice.MagnificationConfig,%20boolean)" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.setMagnificationConfig(android.accessibilityservice.MagnificationConfig, boolean)</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="SetScale">
<MemberSignature Language="C#" Value="public bool SetScale (float scale, bool animate);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool SetScale(float32 scale, bool animate) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.AccessibilityServices.AccessibilityService.MagnificationController.SetScale(System.Single,System.Boolean)" />
<MemberSignature Language="F#" Value="member this.SetScale : single * bool -> bool" Usage="magnificationController.SetScale (scale, animate)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setScale", "(FZ)Z", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setScale", "(FZ)Z", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scale" Type="System.Single" />
<Parameter Name="animate" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="scale">the magnification scale to set, must be >= 1 and <= 8</param>
<param name="animate">
<c>true</c> to animate from the current scale or
<c>false</c> to set the scale immediately</param>
<summary>Sets the magnification scale.</summary>
<returns>
<c>true</c> on success, <c>false</c> on failure</returns>
<remarks>
<para>Sets the magnification scale.</para>
<para><strong>Note:</strong> If the service is not yet connected (e.g.
<c>AccessibilityService#onServiceConnected()</c> has not yet been
called) or the service has been disconnected, this method will have
no effect and return <c>false</c>.</para>
<para><strong>Note:</strong> This legacy API sets the scale of full-screen
magnification. To set the scale of the specified magnifier,
use <c>#setMagnificationConfig</c> instead.</para>
<para>This member is deprecated. Use <c>#setMagnificationConfig(MagnificationConfig, boolean)</c> instead</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.MagnificationController#setScale(float,%20boolean)" title="Reference documentation">Java documentation for <code>android.accessibilityservice.AccessibilityService.MagnificationController.setScale(float, boolean)</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.AccessibilityServices.AccessibilityService.MagnificationController.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.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>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="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.AccessibilityServices.AccessibilityService.MagnificationController.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.AccessibilityServices.AccessibilityService.MagnificationController.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>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>
</Members>
</Type>