/
OutputConfiguration.xml
1970 lines (1960 loc) · 141 KB
/
OutputConfiguration.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
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="OutputConfiguration" FullName="Android.Hardware.Camera2.Params.OutputConfiguration">
<TypeSignature Language="C#" Value="public sealed class OutputConfiguration : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit OutputConfiguration extends Java.Lang.Object implements class Android.OS.IParcelable, class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Hardware.Camera2.Params.OutputConfiguration" />
<TypeSignature Language="F#" Value="type OutputConfiguration = class
 inherit Object
 interface IParcelable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.OS.IParcelable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/hardware/camera2/params/OutputConfiguration", ApiSince=24, DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/hardware/camera2/params/OutputConfiguration", 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>A class for describing camera output, which contains a <c>Surface</c> and its specific
configuration for creating capture session.</summary>
<remarks>
<para>A class for describing camera output, which contains a <c>Surface</c> and its specific
configuration for creating capture session.</para>
<para>There are several ways to instantiate, modify and use OutputConfigurations. The most common
and recommended usage patterns are summarized in the following list:</para>
<para><ul>
<li>Passing a <c>Surface</c> to the constructor and using the OutputConfiguration instance as
argument to <c>CameraDevice#createCaptureSessionByOutputConfigurations</c>. This is the most
frequent usage and clients should consider it first before other more complicated alternatives.
</li>
<li>Passing only a surface source class as an argument to the constructor. This is usually
followed by a call to create a capture session
(see <c>CameraDevice#createCaptureSessionByOutputConfigurations</c> and a <c>Surface</c> add
call <c>#addSurface</c> with a valid <c>Surface</c>. The sequence completes with
<c>CameraCaptureSession#finalizeOutputConfigurations</c>. This is the deferred usage case which
aims to enhance performance by allowing the resource-intensive capture session create call to
execute in parallel with any <c>Surface</c> initialization, such as waiting for a
<c>android.view.SurfaceView</c> to be ready as part of the UI initialization.</li>
<li>The third and most complex usage pattern involves surface sharing. Once instantiated an
OutputConfiguration can be enabled for surface sharing via <c>#enableSurfaceSharing</c>. This
must be done before creating a new capture session and enables calls to
<c>CameraCaptureSession#updateOutputConfiguration</c>. An OutputConfiguration with enabled
surface sharing can be modified via <c>#addSurface</c> or <c>#removeSurface</c>. The updates
to this OutputConfiguration will only come into effect after
<c>CameraCaptureSession#updateOutputConfiguration</c> returns without throwing exceptions.
Such updates can be done as long as the session is active. Clients should always consider the
additional requirements and limitations placed on the output surfaces (for more details see
<c>#enableSurfaceSharing</c>, <c>#addSurface</c>, <c>#removeSurface</c>,
<c>CameraCaptureSession#updateOutputConfiguration</c>). A trade-off exists between additional
complexity and flexibility. If exercised correctly surface sharing can switch between different
output surfaces without interrupting any ongoing repeating capture requests. This saves time and
can significantly improve the user experience.</li>
<li>Surface sharing can be used in combination with deferred surfaces. The rules from both cases
are combined and clients must call <c>#enableSurfaceSharing</c> before creating a capture
session. Attach and/or remove output surfaces via <c>#addSurface</c>/<c>#removeSurface</c> and
finalize the configuration using <c>CameraCaptureSession#finalizeOutputConfigurations</c>.
<c>CameraCaptureSession#updateOutputConfiguration</c> can be called after the configuration
finalize method returns without exceptions.</li>
<li>If the camera device supports multi-resolution output streams, <c>CameraCharacteristics#SCALER_MULTI_RESOLUTION_STREAM_CONFIGURATION_MAP</c> will contain the
formats and their corresponding stream info. The application can use an OutputConfiguration
created with the multi-resolution stream info queried from <c>MultiResolutionStreamConfigurationMap#getOutputInfo</c> and
<c>android.hardware.camera2.MultiResolutionImageReader</c> to capture variable size images.
</ul></para>
<para>As of <c>android.os.Build.VERSION_CODES#P Android P</c>, all formats except
<c>ImageFormat#JPEG</c> and <c>ImageFormat#RAW_PRIVATE</c> can be used for sharing, subject to
device support. On prior API levels, only <c>ImageFormat#PRIVATE</c> format may be used.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration</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="public OutputConfiguration (Android.Views.Surface surface);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Views.Surface surface) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.#ctor(Android.Views.Surface)" />
<MemberSignature Language="F#" Value="new Android.Hardware.Camera2.Params.OutputConfiguration : Android.Views.Surface -> Android.Hardware.Camera2.Params.OutputConfiguration" Usage="new Android.Hardware.Camera2.Params.OutputConfiguration surface" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/view/Surface;)V", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/view/Surface;)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>
<Parameters>
<Parameter Name="surface" Type="Android.Views.Surface" />
</Parameters>
<Docs>
<param name="surface">A Surface for camera to output to.
<p>This constructor creates a default configuration, with a surface group ID of
<c>#SURFACE_GROUP_ID_NONE</c>.</p></param>
<summary>Create a new <c>OutputConfiguration</c> instance with a <c>Surface</c>.</summary>
<remarks>
<para>Create a new <c>OutputConfiguration</c> instance with a <c>Surface</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#OutputConfiguration(android.view.Surface)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.OutputConfiguration(android.view.Surface)</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=".ctor">
<MemberSignature Language="C#" Value="public OutputConfiguration (Android.Util.Size surfaceSize, Java.Lang.Class klass);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Util.Size surfaceSize, class Java.Lang.Class klass) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.#ctor(Android.Util.Size,Java.Lang.Class)" />
<MemberSignature Language="F#" Value="new Android.Hardware.Camera2.Params.OutputConfiguration : Android.Util.Size * Java.Lang.Class -> Android.Hardware.Camera2.Params.OutputConfiguration" Usage="new Android.Hardware.Camera2.Params.OutputConfiguration (surfaceSize, klass)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/util/Size;Ljava/lang/Class;)V", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/util/Size;Ljava/lang/Class;)V", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="surfaceSize" Type="Android.Util.Size" />
<Parameter Name="klass" Type="Java.Lang.Class" />
</Parameters>
<Docs>
<param name="surfaceSize">Size for the deferred surface.</param>
<param name="klass">a non-<c>null</c><c>Class</c> object reference that indicates the source of
this surface. Only <c>android.view.SurfaceHolder SurfaceHolder.class</c> and
<c>android.graphics.SurfaceTexture SurfaceTexture.class</c> are supported.</param>
<summary>Create a new <c>OutputConfiguration</c> instance, with desired Surface size and Surface
source class.</summary>
<remarks>
<para>Create a new <c>OutputConfiguration</c> instance, with desired Surface size and Surface
source class.</para>
<para>This constructor takes an argument for desired Surface size and the Surface source class
without providing the actual output Surface. This is used to setup an output configuration
with a deferred Surface. The application can use this output configuration to create a
session.</para>
<para>However, the actual output Surface must be set via <c>#addSurface</c> and the deferred
Surface configuration must be finalized via <c>CameraCaptureSession#finalizeOutputConfigurations</c> before submitting a request with this
Surface target. The deferred Surface can only be obtained either from <c>android.view.SurfaceView</c> by calling <c>android.view.SurfaceHolder#getSurface</c>, or from
<c>android.graphics.SurfaceTexture</c> via
<c>android.view.Surface#Surface(android.graphics.SurfaceTexture)</c>).</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#OutputConfiguration(android.util.Size,%20java.lang.Class%3CT%3E)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.OutputConfiguration(android.util.Size, java.lang.Class<T>)</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=".ctor">
<MemberSignature Language="C#" Value="public OutputConfiguration (int surfaceGroupId, Android.Views.Surface surface);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 surfaceGroupId, class Android.Views.Surface surface) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.#ctor(System.Int32,Android.Views.Surface)" />
<MemberSignature Language="F#" Value="new Android.Hardware.Camera2.Params.OutputConfiguration : int * Android.Views.Surface -> Android.Hardware.Camera2.Params.OutputConfiguration" Usage="new Android.Hardware.Camera2.Params.OutputConfiguration (surfaceGroupId, surface)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(ILandroid/view/Surface;)V", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(ILandroid/view/Surface;)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>
<Parameters>
<Parameter Name="surfaceGroupId" Type="System.Int32" />
<Parameter Name="surface" Type="Android.Views.Surface" />
</Parameters>
<Docs>
<param name="surfaceGroupId">A group ID for this output, used for sharing memory between multiple outputs.</param>
<param name="surface">A Surface for camera to output to.</param>
<summary>Create a new <c>OutputConfiguration</c> instance with a <c>Surface</c>,
with a surface group ID.</summary>
<remarks>
<para>Create a new <c>OutputConfiguration</c> instance with a <c>Surface</c>,
with a surface group ID.</para>
<para>A surface group ID is used to identify which surface group this output surface belongs to. A
surface group is a group of output surfaces that are not intended to receive camera output
buffer streams simultaneously. The <c>CameraDevice</c> may be able to share the buffers used
by all the surfaces from the same surface group, therefore may reduce the overall memory
footprint. The application should only set the same set ID for the streams that are not
simultaneously streaming. A negative ID indicates that this surface doesn't belong to any
surface group. The default value is <c>#SURFACE_GROUP_ID_NONE</c>.</para>
<para>For example, a video chat application that has an adaptive output resolution feature would
need two (or more) output resolutions, to switch resolutions without any output glitches.
However, at any given time, only one output is active to minimize outgoing network bandwidth
and encoding overhead. To save memory, the application should set the video outputs to have
the same non-negative group ID, so that the camera device can share the same memory region
for the alternating outputs.</para>
<para>It is not an error to include output streams with the same group ID in the same capture
request, but the resulting memory consumption may be higher than if the two streams were
not in the same surface group to begin with, especially if the outputs have substantially
different dimensions.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#OutputConfiguration(int,%20android.view.Surface)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.OutputConfiguration(int, android.view.Surface)</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="AddSensorPixelModeUsed">
<MemberSignature Language="C#" Value="public void AddSensorPixelModeUsed (int sensorPixelModeUsed);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddSensorPixelModeUsed(int32 sensorPixelModeUsed) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.AddSensorPixelModeUsed(System.Int32)" />
<MemberSignature Language="F#" Value="member this.AddSensorPixelModeUsed : int -> unit" Usage="outputConfiguration.AddSensorPixelModeUsed sensorPixelModeUsed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addSensorPixelModeUsed", "(I)V", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addSensorPixelModeUsed", "(I)V", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sensorPixelModeUsed" Type="System.Int32">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.IntDef(Fields=new System.String[] { "SensorPixelModeDefault", "SensorPixelModeMaximumResolution" }, Type="Android.Hardware.Camera2.CameraMetadata")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.IntDef(Fields=new System.String[] { "SensorPixelModeDefault", "SensorPixelModeMaximumResolution" }, Type="Android.Hardware.Camera2.CameraMetadata")>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="sensorPixelModeUsed">The sensor pixel mode this OutputConfiguration will be used with
</p></param>
<summary>Add a sensor pixel mode that this OutputConfiguration will be used in.</summary>
<remarks>
<para>Add a sensor pixel mode that this OutputConfiguration will be used in.</para>
<para>In the case that this output stream configuration (format, width, height) is
available through <c>android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP</c>
configurations and
<c>android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP_MAXIMUM_RESOLUTION</c>,
configurations, the camera sub-system will assume that this <c>OutputConfiguration</c> will
be used only with <c>android.hardware.camera2.CaptureRequest</c>s which has
<c>android.hardware.camera2.CaptureRequest#SENSOR_PIXEL_MODE</c> set to
<c>android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_DEFAULT</c>.
In such cases, if clients intend to use the
<c>OutputConfiguration</c>(s) in a <c>android.hardware.camera2.CaptureRequest</c> with
other sensor pixel modes, they must specify which
<c>android.hardware.camera2.CaptureRequest#SENSOR_PIXEL_MODE</c>(s) they will use this
<c>OutputConfiguration</c> with, by calling this method.
In case this output stream configuration (format, width, height) is only in
<c>android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP_MAXIMUM_RESOLUTION</c>,
configurations, this output target must only be used with
<c>android.hardware.camera2.CaptureRequest</c>s which has
<c>android.hardware.camera2.CaptureRequest#SENSOR_PIXEL_MODE</c> set to
<c>android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION</c> and that
is what the camera sub-system will assume. If clients add
<c>android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_DEFAULT</c> in this
case, session configuration will fail, if this <c>OutputConfiguration</c> is included.
In case this output stream configuration (format, width, height) is only in
<c>android.hardware.camera2.CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP</c>,
configurations, this output target must only be used with
<c>android.hardware.camera2.CaptureRequest</c>s which has
<c>android.hardware.camera2.CaptureRequest#SENSOR_PIXEL_MODE</c> set to
<c>android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_DEFAULT</c> and that is what
the camera sub-system will assume. If clients add
<c>android.hardware.camera2.CameraMetadata#SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION</c> in this
case, session configuration will fail, if this <c>OutputConfiguration</c> is included.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#addSensorPixelModeUsed(int)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.addSensorPixelModeUsed(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="AddSurface">
<MemberSignature Language="C#" Value="public void AddSurface (Android.Views.Surface surface);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddSurface(class Android.Views.Surface surface) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.AddSurface(Android.Views.Surface)" />
<MemberSignature Language="F#" Value="member this.AddSurface : Android.Views.Surface -> unit" Usage="outputConfiguration.AddSurface surface" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addSurface", "(Landroid/view/Surface;)V", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addSurface", "(Landroid/view/Surface;)V", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="surface" Type="Android.Views.Surface" />
</Parameters>
<Docs>
<param name="surface">The surface to be added.</param>
<summary>Add a surface to this OutputConfiguration.</summary>
<remarks>
<para>Add a surface to this OutputConfiguration.</para>
<para>This function can be called before or after <c>CameraDevice#createCaptureSessionByOutputConfigurations</c>. If it's called after,
the application must finalize the capture session with
<c>CameraCaptureSession#finalizeOutputConfigurations</c>. It is possible to call this method
after the output configurations have been finalized only in cases of enabled surface sharing
see <c>#enableSurfaceSharing</c>. The modified output configuration must be updated with
<c>CameraCaptureSession#updateOutputConfiguration</c>.</para>
<para>If the OutputConfiguration was constructed with a deferred surface by <c>OutputConfiguration#OutputConfiguration(Size, Class)</c>, the added surface must be obtained
from <c>android.view.SurfaceView</c> by calling <c>android.view.SurfaceHolder#getSurface</c>,
or from <c>android.graphics.SurfaceTexture</c> via
<c>android.view.Surface#Surface(android.graphics.SurfaceTexture)</c>).</para>
<para>If the OutputConfiguration was constructed by other constructors, the added
surface must be compatible with the existing surface. See <c>#enableSurfaceSharing</c> for
details of compatible surfaces.</para>
<para>If the OutputConfiguration already contains a Surface, <c>#enableSurfaceSharing</c> must
be called before calling this function to add a new Surface.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#addSurface(android.view.Surface)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.addSurface(android.view.Surface)</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="CreateInstancesForMultiResolutionOutput">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.OutputConfiguration> CreateInstancesForMultiResolutionOutput (Android.Hardware.Camera2.MultiResolutionImageReader multiResolutionImageReader);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.ICollection`1<class Android.Hardware.Camera2.Params.OutputConfiguration> CreateInstancesForMultiResolutionOutput(class Android.Hardware.Camera2.MultiResolutionImageReader multiResolutionImageReader) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.CreateInstancesForMultiResolutionOutput(Android.Hardware.Camera2.MultiResolutionImageReader)" />
<MemberSignature Language="F#" Value="static member CreateInstancesForMultiResolutionOutput : Android.Hardware.Camera2.MultiResolutionImageReader -> System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.OutputConfiguration>" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.CreateInstancesForMultiResolutionOutput multiResolutionImageReader" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createInstancesForMultiResolutionOutput", "(Landroid/hardware/camera2/MultiResolutionImageReader;)Ljava/util/Collection;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createInstancesForMultiResolutionOutput", "(Landroid/hardware/camera2/MultiResolutionImageReader;)Ljava/util/Collection;", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.OutputConfiguration></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="multiResolutionImageReader" Type="Android.Hardware.Camera2.MultiResolutionImageReader" />
</Parameters>
<Docs>
<param name="multiResolutionImageReader">The multi-resolution image reader object.</param>
<summary>Create a list of <c>OutputConfiguration</c> instances for the outputs used by a
<c>android.hardware.camera2.MultiResolutionImageReader</c>.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create a list of <c>OutputConfiguration</c> instances for the outputs used by a
<c>android.hardware.camera2.MultiResolutionImageReader</c>.</para>
<para>This constructor takes an argument for a
<c>android.hardware.camera2.MultiResolutionImageReader</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#createInstancesForMultiResolutionOutput(android.hardware.camera2.MultiResolutionImageReader)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.createInstancesForMultiResolutionOutput(android.hardware.camera2.MultiResolutionImageReader)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Creator">
<MemberSignature Language="C#" Value="public static Android.OS.IParcelableCreator? Creator { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Android.OS.IParcelableCreator Creator" />
<MemberSignature Language="DocId" Value="P:Android.Hardware.Camera2.Params.OutputConfiguration.Creator" />
<MemberSignature Language="F#" Value="static member Creator : Android.OS.IParcelableCreator" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.Creator" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CREATOR", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CREATOR", 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>Android.OS.IParcelableCreator</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="DescribeContents">
<MemberSignature Language="C#" Value="public int DescribeContents ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 DescribeContents() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.DescribeContents" />
<MemberSignature Language="F#" Value="abstract member DescribeContents : unit -> int
override this.DescribeContents : unit -> int" Usage="outputConfiguration.DescribeContents " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Android.OS.IParcelable.DescribeContents</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("describeContents", "()I", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("describeContents", "()I", "", 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.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<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="DynamicRangeProfile">
<MemberSignature Language="C#" Value="public long DynamicRangeProfile { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int64 DynamicRangeProfile" />
<MemberSignature Language="DocId" Value="P:Android.Hardware.Camera2.Params.OutputConfiguration.DynamicRangeProfile" />
<MemberSignature Language="F#" Value="member this.DynamicRangeProfile : int64 with get, set" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.DynamicRangeProfile" />
<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("getDynamicRangeProfile", "()J", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDynamicRangeProfile", "()J", "", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setDynamicRangeProfile", "(J)V", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setDynamicRangeProfile", "(J)V", "", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Docs>
<summary>Return current dynamic range profile. -or- Set a specific device supported dynamic range profile.</summary>
<value>the currently set dynamic range profile</value>
<remarks>
<para>Property getter documentation:</para>
<para>Return current dynamic range profile.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#getDynamicRangeProfile()" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.getDynamicRangeProfile()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Set a specific device supported dynamic range profile.</para>
<para>Clients can choose from any profile advertised as supported in
CameraCharacteristics.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES
queried using <c>DynamicRangeProfiles#getSupportedProfiles()</c>.
If this is not explicitly set, then the default profile will be
<c>DynamicRangeProfiles#STANDARD</c>.</para>
<para>Do note that invalid combinations between the registered output
surface pixel format and the configured dynamic range profile will
cause capture session initialization failure. Invalid combinations
include any 10-bit dynamic range profile advertised in
<c>DynamicRangeProfiles#getSupportedProfiles()</c> combined with
an output Surface pixel format different from <c>ImageFormat#PRIVATE</c>
(the default for Surfaces initialized by <c>android.view.SurfaceView</c>,
<c>android.view.TextureView</c>, <c>android.media.MediaRecorder</c>,
<c>android.media.MediaCodec</c> etc.)
or <c>ImageFormat#YCBCR_P010</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#setDynamicRangeProfile(long)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.setDynamicRangeProfile(long)</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="EnableSurfaceSharing">
<MemberSignature Language="C#" Value="public void EnableSurfaceSharing ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void EnableSurfaceSharing() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Hardware.Camera2.Params.OutputConfiguration.EnableSurfaceSharing" />
<MemberSignature Language="F#" Value="member this.EnableSurfaceSharing : unit -> unit" Usage="outputConfiguration.EnableSurfaceSharing " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("enableSurfaceSharing", "()V", "", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("enableSurfaceSharing", "()V", "", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Enable multiple surfaces sharing the same OutputConfiguration</summary>
<remarks>
<para>Enable multiple surfaces sharing the same OutputConfiguration</para>
<para>For advanced use cases, a camera application may require more streams than the combination
guaranteed by <c>CameraDevice#createCaptureSession</c>. In this case, more than one
compatible surface can be attached to an OutputConfiguration so that they map to one
camera stream, and the outputs share memory buffers when possible. Due to buffer sharing
clients should be careful when adding surface outputs that modify their input data. If such
case exists, camera clients should have an additional mechanism to synchronize read and write
access between individual consumers.</para>
<para>Two surfaces are compatible in the below cases:</para>
<para><li> Surfaces with the same size, format, dataSpace, and Surface source class. In this case,
<c>CameraDevice#createCaptureSessionByOutputConfigurations</c> is guaranteed to succeed.
<li> Surfaces with the same size, format, and dataSpace, but different Surface source classes
that are generally not compatible. However, on some devices, the underlying camera device is
able to use the same buffer layout for both surfaces. The only way to discover if this is the
case is to create a capture session with that output configuration. For example, if the
camera device uses the same private buffer format between a SurfaceView/SurfaceTexture and a
MediaRecorder/MediaCodec, <c>CameraDevice#createCaptureSessionByOutputConfigurations</c>
will succeed. Otherwise, it fails with <c>CameraCaptureSession.StateCallback#onConfigureFailed</c>.
</ol></para>
<para>To enable surface sharing, this function must be called before <c>CameraDevice#createCaptureSessionByOutputConfigurations</c> or <c>CameraDevice#createReprocessableCaptureSessionByConfigurations</c>. Calling this function after
<c>CameraDevice#createCaptureSessionByOutputConfigurations</c> has no effect.</para>
<para>Up to <c>#getMaxSharedSurfaceCount</c> surfaces can be shared for an OutputConfiguration.
The supported surfaces for sharing must be of type SurfaceTexture, SurfaceView,
MediaRecorder, MediaCodec, or implementation defined ImageReader.</para>
<para>This function must not be called from OutputConfigurations created by <c>#createInstancesForMultiResolutionOutput</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#enableSurfaceSharing()" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.enableSurfaceSharing()</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.Hardware.Camera2.Params.OutputConfiguration.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.JniPeerMembers" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Java.Interop.IJavaPeerable.JniPeerMembers</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="MaxSharedSurfaceCount">
<MemberSignature Language="C#" Value="public int MaxSharedSurfaceCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 MaxSharedSurfaceCount" />
<MemberSignature Language="DocId" Value="P:Android.Hardware.Camera2.Params.OutputConfiguration.MaxSharedSurfaceCount" />
<MemberSignature Language="F#" Value="member this.MaxSharedSurfaceCount : int" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.MaxSharedSurfaceCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android28.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android28.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getMaxSharedSurfaceCount", "()I", "", ApiSince=28)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getMaxSharedSurfaceCount", "()I", "", ApiSince=28)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Get the maximum supported shared <c>Surface</c> count.</summary>
<value>the maximum number of surfaces that can be added per each OutputConfiguration.</value>
<remarks>
<para>Get the maximum supported shared <c>Surface</c> count.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#getMaxSharedSurfaceCount()" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.getMaxSharedSurfaceCount()</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="MirrorMode">
<MemberSignature Language="C#" Value="public int MirrorMode { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 MirrorMode" />
<MemberSignature Language="DocId" Value="P:Android.Hardware.Camera2.Params.OutputConfiguration.MirrorMode" />
<MemberSignature Language="F#" Value="member this.MirrorMode : int with get, set" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.MirrorMode" />
<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("getMirrorMode", "()I", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getMirrorMode", "()I", "", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setMirrorMode", "(I)V", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setMirrorMode", "(I)V", "", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Get the current mirroring mode -or- Set the mirroring mode for this output target</summary>
<value>The currently set mirroring mode</value>
<remarks>
<para>Property getter documentation:</para>
<para>Get the current mirroring mode</para>
<para>If no <c>#setMirrorMode</c> is called first, this function returns
<c>#MIRROR_MODE_AUTO</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#getMirrorMode()" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.getMirrorMode()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Set the mirroring mode for this output target</para>
<para>If this function is not called, the mirroring mode for this output is
<c>#MIRROR_MODE_AUTO</c>, with which the camera API will mirror the output images
horizontally for front facing camera.</para>
<para>For efficiency, the mirror effect is applied as a transform flag, so it is only effective
in some outputs. It works automatically for SurfaceView and TextureView outputs. For manual
use of SurfaceTexture, it is reflected in the value of
<c>android.graphics.SurfaceTexture#getTransformMatrix</c>. For other end points, such as
ImageReader, MediaRecorder, or MediaCodec, the mirror mode has no effect. If mirroring is
needed for such outputs, the application needs to mirror the image buffers itself before
passing them onward.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#setMirrorMode(int)" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.setMirrorMode(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="MirrorModeAuto">
<MemberSignature Language="C#" Value="public const Android.Hardware.Camera2.Params.MirrorMode MirrorModeAuto = 0;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Hardware.Camera2.Params.MirrorMode MirrorModeAuto = (0)" />
<MemberSignature Language="DocId" Value="F:Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeAuto" />
<MemberSignature Language="F#" Value="val mutable MirrorModeAuto : Android.Hardware.Camera2.Params.MirrorMode" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeAuto" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("MIRROR_MODE_AUTO", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("MIRROR_MODE_AUTO", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)>]</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>Android.Hardware.Camera2.Params.MirrorMode</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>Automatic mirroring based on camera facing</summary>
<remarks>
<para>Automatic mirroring based on camera facing</para>
<para>This is the default mirroring mode for the camera device. With this mode,
the camera output is mirrored horizontally for front-facing cameras. There is
no mirroring for rear-facing and external cameras.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#MIRROR_MODE_AUTO" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_AUTO</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="MirrorModeH">
<MemberSignature Language="C#" Value="public const Android.Hardware.Camera2.Params.MirrorMode MirrorModeH = 2;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Hardware.Camera2.Params.MirrorMode MirrorModeH = (2)" />
<MemberSignature Language="DocId" Value="F:Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeH" />
<MemberSignature Language="F#" Value="val mutable MirrorModeH : Android.Hardware.Camera2.Params.MirrorMode" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeH" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("MIRROR_MODE_H", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("MIRROR_MODE_H", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)>]</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>Android.Hardware.Camera2.Params.MirrorMode</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>Camera output is mirrored horizontally</summary>
<remarks>
<para>Camera output is mirrored horizontally</para>
<para>The camera output is mirrored horizontally, the same behavior as in AUTO mode for
front facing camera.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#MIRROR_MODE_H" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_H</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="MirrorModeNone">
<MemberSignature Language="C#" Value="public const Android.Hardware.Camera2.Params.MirrorMode MirrorModeNone = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Hardware.Camera2.Params.MirrorMode MirrorModeNone = (1)" />
<MemberSignature Language="DocId" Value="F:Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeNone" />
<MemberSignature Language="F#" Value="val mutable MirrorModeNone : Android.Hardware.Camera2.Params.MirrorMode" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeNone" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("MIRROR_MODE_NONE", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("MIRROR_MODE_NONE", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)>]</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>Android.Hardware.Camera2.Params.MirrorMode</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>No mirror transform is applied</summary>
<remarks>
<para>No mirror transform is applied</para>
<para>No mirroring is applied to the camera output regardless of the camera facing.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#MIRROR_MODE_NONE" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_NONE</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="MirrorModeV">
<MemberSignature Language="C#" Value="public const Android.Hardware.Camera2.Params.MirrorMode MirrorModeV = 3;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.Hardware.Camera2.Params.MirrorMode MirrorModeV = (3)" />
<MemberSignature Language="DocId" Value="F:Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeV" />
<MemberSignature Language="F#" Value="val mutable MirrorModeV : Android.Hardware.Camera2.Params.MirrorMode" Usage="Android.Hardware.Camera2.Params.OutputConfiguration.MirrorModeV" />
<MemberType>Field</MemberType>
<Implements>
<InterfaceMember>F:Android.OS.IParcelable.ContentsFileDescriptor</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("MIRROR_MODE_V", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("MIRROR_MODE_V", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.MirrorMode enum directly instead of this field.", true)>]</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>Android.Hardware.Camera2.Params.MirrorMode</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>Camera output is mirrored vertically</summary>
<remarks>
<para>Camera output is mirrored vertically</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#MIRROR_MODE_V" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.MIRROR_MODE_V</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