-
Notifications
You must be signed in to change notification settings - Fork 0
/
ParcelFileDescriptor.xml
1394 lines (1394 loc) · 90.2 KB
/
ParcelFileDescriptor.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="ParcelFileDescriptor" FullName="Android.OS.ParcelFileDescriptor">
<TypeSignature Language="C#" Value="public class ParcelFileDescriptor : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable, Java.IO.ICloseable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ParcelFileDescriptor extends Java.Lang.Object implements class Android.OS.IParcelable, class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.IO.ICloseable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.OS.ParcelFileDescriptor" />
<TypeSignature Language="F#" Value="type ParcelFileDescriptor = class
 inherit Object
 interface IParcelable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable
 interface ICloseable" />
<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>Java.IO.ICloseable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/os/ParcelFileDescriptor", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/os/ParcelFileDescriptor", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>The FileDescriptor returned by <c>Parcel#readFileDescriptor</c>, allowing
you to close it when done with it.</summary>
<remarks>
<para>The FileDescriptor returned by <c>Parcel#readFileDescriptor</c>, allowing
you to close it when done with it.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ParcelFileDescriptor (Android.OS.ParcelFileDescriptor? wrapped);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.OS.ParcelFileDescriptor wrapped) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.#ctor(Android.OS.ParcelFileDescriptor)" />
<MemberSignature Language="F#" Value="new Android.OS.ParcelFileDescriptor : Android.OS.ParcelFileDescriptor -> Android.OS.ParcelFileDescriptor" Usage="new Android.OS.ParcelFileDescriptor wrapped" />
<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/os/ParcelFileDescriptor;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/os/ParcelFileDescriptor;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="wrapped" Type="Android.OS.ParcelFileDescriptor" />
</Parameters>
<Docs>
<param name="wrapped">To be added.</param>
<summary>Create a new ParcelFileDescriptor wrapped around another descriptor.</summary>
<remarks>
<para>Create a new ParcelFileDescriptor wrapped around another descriptor. By
default all method calls are delegated to the wrapped descriptor.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#ParcelFileDescriptor(android.os.ParcelFileDescriptor)" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.ParcelFileDescriptor(android.os.ParcelFileDescriptor)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected ParcelFileDescriptor (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.OS.ParcelFileDescriptor : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.ParcelFileDescriptor" Usage="new Android.OS.ParcelFileDescriptor (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="AdoptFd">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor? AdoptFd (int fd);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor AdoptFd(int32 fd) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.AdoptFd(System.Int32)" />
<MemberSignature Language="F#" Value="static member AdoptFd : int -> Android.OS.ParcelFileDescriptor" Usage="Android.OS.ParcelFileDescriptor.AdoptFd fd" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("adoptFd", "(I)Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("adoptFd", "(I)Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fd" Type="System.Int32" />
</Parameters>
<Docs>
<param name="fd">The native fd that the ParcelFileDescriptor should adopt.</param>
<summary>Take ownership of a raw native fd in to a new ParcelFileDescriptor.</summary>
<returns>Returns a new ParcelFileDescriptor holding a FileDescriptor
for the given fd.</returns>
<remarks>
<para>Take ownership of a raw native fd in to a new ParcelFileDescriptor.
The returned ParcelFileDescriptor now owns the given fd, and will be
responsible for closing it.</para>
<para><strong>WARNING:</strong> You must not close the fd yourself after
this call, and ownership of the file descriptor must have been
released prior to the call to this function.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#adoptFd(int)" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.adoptFd(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>
<since version="Added in API level 13" />
</Docs>
</Member>
<Member MemberName="CanDetectErrors">
<MemberSignature Language="C#" Value="public virtual bool CanDetectErrors ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool CanDetectErrors() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.CanDetectErrors" />
<MemberSignature Language="F#" Value="abstract member CanDetectErrors : unit -> bool
override this.CanDetectErrors : unit -> bool" Usage="parcelFileDescriptor.CanDetectErrors " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("canDetectErrors", "()Z", "GetCanDetectErrorsHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("canDetectErrors", "()Z", "GetCanDetectErrorsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Indicates if this ParcelFileDescriptor can communicate and detect remote
errors/crashes.</summary>
<returns>To be added.</returns>
<remarks>
<para>Indicates if this ParcelFileDescriptor can communicate and detect remote
errors/crashes.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#canDetectErrors()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.canDetectErrors()</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>
<altmember cref="M:Android.OS.ParcelFileDescriptor.CheckError" />
</Docs>
<since version="Added in API level 19" />
</Member>
<Member MemberName="CheckError">
<MemberSignature Language="C#" Value="public virtual void CheckError ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CheckError() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.CheckError" />
<MemberSignature Language="F#" Value="abstract member CheckError : unit -> unit
override this.CheckError : unit -> unit" Usage="parcelFileDescriptor.CheckError " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkError", "()V", "GetCheckErrorHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkError", "()V", "GetCheckErrorHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Detect and throw if the other end of a pipe or socket pair encountered an
error or crashed.</summary>
<remarks>
<para>Detect and throw if the other end of a pipe or socket pair encountered an
error or crashed. This allows a reader to distinguish between a valid EOF
and an error/crash.</para>
<para>If this ParcelFileDescriptor is unable to detect remote errors, it will
return silently.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#checkError()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.checkError()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<exception cref="T:Java.IO.IOException">for normal errors.</exception>
<exception cref="T:Android.OS.ParcelFileDescriptor.FileDescriptorDetachedException">if the remote side called <see cref="M:Android.OS.ParcelFileDescriptor.DetachFd" />. Once detached, the remote
side is unable to communicate any errors through
<see cref="M:Android.OS.ParcelFileDescriptor.CloseWithError(System.String)" />.</exception>
<altmember cref="M:Android.OS.ParcelFileDescriptor.CanDetectErrors" />
</Docs>
</Member>
<Member MemberName="Close">
<MemberSignature Language="C#" Value="public virtual void Close ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Close() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.Close" />
<MemberSignature Language="F#" Value="abstract member Close : unit -> unit
override this.Close : unit -> unit" Usage="parcelFileDescriptor.Close " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.IO.ICloseable.Close</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("close", "()V", "GetCloseHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("close", "()V", "GetCloseHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Close the ParcelFileDescriptor.</summary>
<remarks>
<para>Close the ParcelFileDescriptor. This implementation closes the underlying
OS resources allocated to represent this stream.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#close()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.close()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException">If an error occurs attempting to close this ParcelFileDescriptor.
</exception>
</Docs>
</Member>
<Member MemberName="CloseWithError">
<MemberSignature Language="C#" Value="public virtual void CloseWithError (string? msg);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CloseWithError(string msg) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.CloseWithError(System.String)" />
<MemberSignature Language="F#" Value="abstract member CloseWithError : string -> unit
override this.CloseWithError : string -> unit" Usage="parcelFileDescriptor.CloseWithError msg" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("closeWithError", "(Ljava/lang/String;)V", "GetCloseWithError_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("closeWithError", "(Ljava/lang/String;)V", "GetCloseWithError_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="msg" Type="System.String" />
</Parameters>
<Docs>
<param name="msg">describing the error; must not be null.</param>
<summary>Close the ParcelFileDescriptor, informing any peer that an error occurred
while processing.</summary>
<remarks>
<para>Close the ParcelFileDescriptor, informing any peer that an error occurred
while processing. If the creator of this descriptor is not observing
errors, it will close normally.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#closeWithError(java.lang.String)" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.closeWithError(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="CreatePipe">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor[]? CreatePipe ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor[] CreatePipe() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.CreatePipe" />
<MemberSignature Language="F#" Value="static member CreatePipe : unit -> Android.OS.ParcelFileDescriptor[]" Usage="Android.OS.ParcelFileDescriptor.CreatePipe " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createPipe", "()[Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createPipe", "()[Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Create two ParcelFileDescriptors structured as a data pipe.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create two ParcelFileDescriptors structured as a data pipe. The first
ParcelFileDescriptor in the returned array is the read side; the second
is the write side.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#createPipe()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.createPipe()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 9" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="CreateReliablePipe">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor[]? CreateReliablePipe ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor[] CreateReliablePipe() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.CreateReliablePipe" />
<MemberSignature Language="F#" Value="static member CreateReliablePipe : unit -> Android.OS.ParcelFileDescriptor[]" Usage="Android.OS.ParcelFileDescriptor.CreateReliablePipe " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createReliablePipe", "()[Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createReliablePipe", "()[Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Create two ParcelFileDescriptors structured as a data pipe.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create two ParcelFileDescriptors structured as a data pipe. The first
ParcelFileDescriptor in the returned array is the read side; the second
is the write side.</para>
<para>The write end has the ability to deliver an error message through
<c>#closeWithError(String)</c> which can be handled by the read end
calling <c>#checkError()</c>, usually after detecting an EOF.
This can also be used to detect remote crashes.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#createReliablePipe()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.createReliablePipe()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="CreateReliableSocketPair">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor[]? CreateReliableSocketPair ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor[] CreateReliableSocketPair() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.CreateReliableSocketPair" />
<MemberSignature Language="F#" Value="static member CreateReliableSocketPair : unit -> Android.OS.ParcelFileDescriptor[]" Usage="Android.OS.ParcelFileDescriptor.CreateReliableSocketPair " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createReliableSocketPair", "()[Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createReliableSocketPair", "()[Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Create two ParcelFileDescriptors structured as a pair of sockets
connected to each other.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create two ParcelFileDescriptors structured as a pair of sockets
connected to each other. The two sockets are indistinguishable.</para>
<para>Both ends have the ability to deliver an error message through
<c>#closeWithError(String)</c> which can be detected by the other end
calling <c>#checkError()</c>, usually after detecting an EOF.
This can also be used to detect remote crashes.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#createReliableSocketPair()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.createReliableSocketPair()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="CreateSocketPair">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor[]? CreateSocketPair ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor[] CreateSocketPair() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.CreateSocketPair" />
<MemberSignature Language="F#" Value="static member CreateSocketPair : unit -> Android.OS.ParcelFileDescriptor[]" Usage="Android.OS.ParcelFileDescriptor.CreateSocketPair " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createSocketPair", "()[Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createSocketPair", "()[Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Create two ParcelFileDescriptors structured as a pair of sockets
connected to each other.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create two ParcelFileDescriptors structured as a pair of sockets
connected to each other. The two sockets are indistinguishable.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#createSocketPair()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.createSocketPair()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<exception cref="T:Java.IO.IOException" />
</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.OS.ParcelFileDescriptor.Creator" />
<MemberSignature Language="F#" Value="static member Creator : Android.OS.IParcelableCreator" Usage="Android.OS.ParcelFileDescriptor.Creator" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CREATOR")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CREATOR")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.IParcelableCreator</ReturnType>
</ReturnValue>
<Docs>
<summary>
</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="DescribeContents">
<MemberSignature Language="C#" Value="public virtual int DescribeContents ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 DescribeContents() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.DescribeContents" />
<MemberSignature Language="F#" Value="abstract member DescribeContents : unit -> int
override this.DescribeContents : unit -> int" Usage="parcelFileDescriptor.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", "GetDescribeContentsHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("describeContents", "()I", "GetDescribeContentsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Describe the kinds of special objects contained in this Parcelable's
marshalled representation.</summary>
<returns>To be added.</returns>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="DetachFd">
<MemberSignature Language="C#" Value="public virtual int DetachFd ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 DetachFd() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.DetachFd" />
<MemberSignature Language="F#" Value="abstract member DetachFd : unit -> int
override this.DetachFd : unit -> int" Usage="parcelFileDescriptor.DetachFd " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("detachFd", "()I", "GetDetachFdHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("detachFd", "()I", "GetDetachFdHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Return the native fd int for this ParcelFileDescriptor and detach it from
the object here.</summary>
<returns>To be added.</returns>
<remarks>
<para>Return the native fd int for this ParcelFileDescriptor and detach it from
the object here. You are now responsible for closing the fd in native
code.</para>
<para>You should not detach when the original creator of the descriptor is
expecting a reliable signal through <c>#close()</c> or
<c>#closeWithError(String)</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#detachFd()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.detachFd()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 12" />
<altmember cref="M:Android.OS.ParcelFileDescriptor.CanDetectErrors" />
</Docs>
</Member>
<Member MemberName="Dup">
<MemberSignature Language="C#" Value="public virtual Android.OS.ParcelFileDescriptor? Dup ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.OS.ParcelFileDescriptor Dup() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.Dup" />
<MemberSignature Language="F#" Value="abstract member Dup : unit -> Android.OS.ParcelFileDescriptor
override this.Dup : unit -> Android.OS.ParcelFileDescriptor" Usage="parcelFileDescriptor.Dup " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("dup", "()Landroid/os/ParcelFileDescriptor;", "GetDupHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("dup", "()Landroid/os/ParcelFileDescriptor;", "GetDupHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Create a new ParcelFileDescriptor that is a dup of the existing
FileDescriptor.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create a new ParcelFileDescriptor that is a dup of the existing
FileDescriptor. This obeys standard POSIX semantics, where the
new file descriptor shared state such as file position with the
original file descriptor.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#dup()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.dup()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 14" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="Dup">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor? Dup (Java.IO.FileDescriptor? orig);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor Dup(class Java.IO.FileDescriptor orig) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.Dup(Java.IO.FileDescriptor)" />
<MemberSignature Language="F#" Value="static member Dup : Java.IO.FileDescriptor -> Android.OS.ParcelFileDescriptor" Usage="Android.OS.ParcelFileDescriptor.Dup orig" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("dup", "(Ljava/io/FileDescriptor;)Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("dup", "(Ljava/io/FileDescriptor;)Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="orig" Type="Java.IO.FileDescriptor" />
</Parameters>
<Docs>
<param name="orig">To be added.</param>
<summary>Create a new ParcelFileDescriptor that is a dup of an existing
FileDescriptor.</summary>
<returns>To be added.</returns>
<remarks>
<para>Create a new ParcelFileDescriptor that is a dup of an existing
FileDescriptor. This obeys standard POSIX semantics, where the
new file descriptor shared state such as file position with the
original file descriptor.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#dup(java.io.FileDescriptor)" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.dup(java.io.FileDescriptor)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 13" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="Fd">
<MemberSignature Language="C#" Value="public virtual int Fd { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Fd" />
<MemberSignature Language="DocId" Value="P:Android.OS.ParcelFileDescriptor.Fd" />
<MemberSignature Language="F#" Value="member this.Fd : int" Usage="Android.OS.ParcelFileDescriptor.Fd" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getFd", "()I", "GetGetFdHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getFd", "()I", "GetGetFdHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the native fd int for this ParcelFileDescriptor.</summary>
<value>To be added.</value>
<remarks>
<para>Return the native fd int for this ParcelFileDescriptor. The
ParcelFileDescriptor still owns the fd, and it still must be closed
through this API.</para>
<para><strong>WARNING:</strong> Do not call close on the return value of this
function or pass it to a function that assumes ownership of the fd.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#getFd()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.getFd()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 12" />
</Docs>
</Member>
<Member MemberName="FileDescriptor">
<MemberSignature Language="C#" Value="public virtual Java.IO.FileDescriptor? FileDescriptor { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.IO.FileDescriptor FileDescriptor" />
<MemberSignature Language="DocId" Value="P:Android.OS.ParcelFileDescriptor.FileDescriptor" />
<MemberSignature Language="F#" Value="member this.FileDescriptor : Java.IO.FileDescriptor" Usage="Android.OS.ParcelFileDescriptor.FileDescriptor" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getFileDescriptor", "()Ljava/io/FileDescriptor;", "GetGetFileDescriptorHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getFileDescriptor", "()Ljava/io/FileDescriptor;", "GetGetFileDescriptorHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.IO.FileDescriptor</ReturnType>
</ReturnValue>
<Docs>
<summary>Retrieve the actual FileDescriptor associated with this object.</summary>
<value>Returns the FileDescriptor associated with this object.</value>
<remarks>
<para>Retrieve the actual FileDescriptor associated with this object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#getFileDescriptor()" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.getFileDescriptor()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="FromDatagramSocket">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor? FromDatagramSocket (Java.Net.DatagramSocket? datagramSocket);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor FromDatagramSocket(class Java.Net.DatagramSocket datagramSocket) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.FromDatagramSocket(Java.Net.DatagramSocket)" />
<MemberSignature Language="F#" Value="static member FromDatagramSocket : Java.Net.DatagramSocket -> Android.OS.ParcelFileDescriptor" Usage="Android.OS.ParcelFileDescriptor.FromDatagramSocket datagramSocket" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("fromDatagramSocket", "(Ljava/net/DatagramSocket;)Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("fromDatagramSocket", "(Ljava/net/DatagramSocket;)Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="datagramSocket" Type="Java.Net.DatagramSocket" />
</Parameters>
<Docs>
<param name="datagramSocket">The DatagramSocket whose FileDescriptor is used
to create a new ParcelFileDescriptor.</param>
<summary>Create a new ParcelFileDescriptor from the specified DatagramSocket.</summary>
<returns>A new ParcelFileDescriptor with a duped copy of the
FileDescriptor of the specified Socket.</returns>
<remarks>
<para>Create a new ParcelFileDescriptor from the specified DatagramSocket. The
new ParcelFileDescriptor holds a dup of the original FileDescriptor in
the DatagramSocket, so you must still close the DatagramSocket as well
as the new ParcelFileDescriptor.</para>
<para><strong>WARNING:</strong> Prior to API level 29, this function would not
actually dup the DatagramSocket's FileDescriptor, and would take a
reference to the its internal FileDescriptor instead. If the DatagramSocket
gets garbage collected before the ParcelFileDescriptor, this may
lead to the ParcelFileDescriptor being unexpectedly closed. To avoid
this, the following pattern can be used:</para>
<code lang="text/java">{@code
ParcelFileDescriptor pfd = ParcelFileDescriptor.fromDatagramSocket(socket).dup();
}</code>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#fromDatagramSocket(java.net.DatagramSocket)" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.fromDatagramSocket(java.net.DatagramSocket)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 14" />
</Docs>
</Member>
<Member MemberName="FromFd">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor? FromFd (int fd);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor FromFd(int32 fd) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.FromFd(System.Int32)" />
<MemberSignature Language="F#" Value="static member FromFd : int -> Android.OS.ParcelFileDescriptor" Usage="Android.OS.ParcelFileDescriptor.FromFd fd" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("fromFd", "(I)Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("fromFd", "(I)Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fd" Type="System.Int32" />
</Parameters>
<Docs>
<param name="fd">The native fd that the ParcelFileDescriptor should dup.</param>
<summary>Create a new ParcelFileDescriptor from a raw native fd.</summary>
<returns>Returns a new ParcelFileDescriptor holding a FileDescriptor
for a dup of the given fd.</returns>
<remarks>
<para>Create a new ParcelFileDescriptor from a raw native fd. The new
ParcelFileDescriptor holds a dup of the original fd passed in here,
so you must still close that fd as well as the new ParcelFileDescriptor.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#fromFd(int)" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.fromFd(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>
<since version="Added in API level 13" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="FromSocket">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor? FromSocket (Java.Net.Socket? socket);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor FromSocket(class Java.Net.Socket socket) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.FromSocket(Java.Net.Socket)" />
<MemberSignature Language="F#" Value="static member FromSocket : Java.Net.Socket -> Android.OS.ParcelFileDescriptor" Usage="Android.OS.ParcelFileDescriptor.FromSocket socket" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("fromSocket", "(Ljava/net/Socket;)Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("fromSocket", "(Ljava/net/Socket;)Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.ParcelFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="socket" Type="Java.Net.Socket" />
</Parameters>
<Docs>
<param name="socket">The Socket whose FileDescriptor is used to create
a new ParcelFileDescriptor.</param>
<summary>Create a new ParcelFileDescriptor from the specified Socket.</summary>
<returns>A new ParcelFileDescriptor with a duped copy of the
FileDescriptor of the specified Socket.</returns>
<remarks>
<para>Create a new ParcelFileDescriptor from the specified Socket. The new
ParcelFileDescriptor holds a dup of the original FileDescriptor in
the Socket, so you must still close the Socket as well as the new
ParcelFileDescriptor.</para>
<para><strong>WARNING:</strong> Prior to API level 29, this function would not
actually dup the Socket's FileDescriptor, and would take a
reference to the its internal FileDescriptor instead. If the Socket
gets garbage collected before the ParcelFileDescriptor, this may
lead to the ParcelFileDescriptor being unexpectedly closed. To avoid
this, the following pattern can be used:</para>
<code lang="text/java">{@code
ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket).dup();
}</code>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/os/ParcelFileDescriptor#fromSocket(java.net.Socket)" title="Reference documentation">Java documentation for <code>android.os.ParcelFileDescriptor.fromSocket(java.net.Socket)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</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.OS.ParcelFileDescriptor.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.OS.ParcelFileDescriptor.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="Open">
<MemberSignature Language="C#" Value="public static Android.OS.ParcelFileDescriptor? Open (Java.IO.File? file, Android.OS.ParcelFileMode mode);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.OS.ParcelFileDescriptor Open(class Java.IO.File file, valuetype Android.OS.ParcelFileMode mode) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.OS.ParcelFileDescriptor.Open(Java.IO.File,Android.OS.ParcelFileMode)" />
<MemberSignature Language="F#" Value="static member Open : Java.IO.File * Android.OS.ParcelFileMode -> Android.OS.ParcelFileDescriptor" Usage="Android.OS.ParcelFileDescriptor.Open (file, mode)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("open", "(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("open", "(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;", "")>]</AttributeName>