This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
AssetManager.xml
647 lines (644 loc) · 41.2 KB
/
AssetManager.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
<Type Name="AssetManager" FullName="Android.Content.Res.AssetManager">
<TypeSignature Language="C#" Value="public sealed class AssetManager : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Java.Lang.IAutoCloseable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit AssetManager extends Java.Lang.Object implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.Lang.IAutoCloseable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Content.Res.AssetManager" />
<TypeSignature Language="F#" Value="type AssetManager = class
 inherit Object
 interface IAutoCloseable
 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.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.IAutoCloseable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/content/res/AssetManager", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/content/res/AssetManager", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Provides access to an application's raw asset files; see <c>Resources</c>
for the way most applications will want to retrieve their resource data.</summary>
<remarks>
<para>Provides access to an application's raw asset files; see <c>Resources</c>
for the way most applications will want to retrieve their resource data.
This class presents a lower-level API that allows you to open and read raw
files that have been bundled with the application as a simple stream of
bytes.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager</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="Close">
<MemberSignature Language="C#" Value="public void Close ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Close() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.Close" />
<MemberSignature Language="F#" Value="abstract member Close : unit -> unit
override this.Close : unit -> unit" Usage="assetManager.Close " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Java.Lang.IAutoCloseable.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", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("close", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Close this asset manager.</summary>
<remarks>
<para>Close this asset manager.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#close()" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.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" />
</Docs>
</Member>
<Member MemberName="GetLocales">
<MemberSignature Language="C#" Value="public string[]? GetLocales ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance string[] GetLocales() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.GetLocales" />
<MemberSignature Language="F#" Value="member this.GetLocales : unit -> string[]" Usage="assetManager.GetLocales " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getLocales", "()[Ljava/lang/String;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getLocales", "()[Ljava/lang/String;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Get the locales that this asset manager contains data for.</summary>
<returns>To be added.</returns>
<remarks>
<para>Get the locales that this asset manager contains data for.</para>
<para>On SDK 21 (Android 5.0: Lollipop) and above, Locale strings are valid
<see href="https://tools.ietf.org/html/bcp47">BCP-47</see> language tags and can be
parsed using <c>Locale#forLanguageTag(String)</c>.</para>
<para>On SDK 20 (Android 4.4W: Kitkat for watches) and below, locale strings
are of the form <c>ll_CC</c> where <c>ll</c> is a two letter language code,
and <c>CC</c> is a two letter country code.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#getLocales()" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.getLocales()</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.Content.Res.AssetManager.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Content.Res.AssetManager.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="List">
<MemberSignature Language="C#" Value="public string[]? List (string path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance string[] List(string path) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.List(System.String)" />
<MemberSignature Language="F#" Value="member this.List : string -> string[]" Usage="assetManager.List path" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("list", "(Ljava/lang/String;)[Ljava/lang/String;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("list", "(Ljava/lang/String;)[Ljava/lang/String;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
</Parameters>
<Docs>
<param name="path">A relative path within the assets, i.e., "docs/home.html".</param>
<summary>Return a String array of all the assets at the given path.</summary>
<returns>String[] Array of strings, one for each asset. These file
names are relative to 'path'. You can open the file by
concatenating 'path' and a name in the returned string (via
File) and passing that to open().</returns>
<remarks>
<para>Return a String array of all the assets at the given path.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#list(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.list(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>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException" />
<altmember cref="M:Android.Content.Res.AssetManager.Open(System.String)" />
</Docs>
</Member>
<Member MemberName="ListAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<string[]?> ListAsync (string path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Threading.Tasks.Task`1<string[]> ListAsync(string path) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.ListAsync(System.String)" />
<MemberSignature Language="F#" Value="member this.ListAsync : string -> System.Threading.Tasks.Task<string[]>" Usage="assetManager.ListAsync path" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<System.String[]></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
</Parameters>
<Docs>
<param name="path">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Open">
<MemberSignature Language="C#" Value="public System.IO.Stream Open (string fileName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.IO.Stream Open(string fileName) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.Open(System.String)" />
<MemberSignature Language="F#" Value="member this.Open : string -> System.IO.Stream" Usage="assetManager.Open fileName" />
<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/lang/String;)Ljava/io/InputStream;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("open", "(Ljava/lang/String;)Ljava/io/InputStream;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IO.Stream</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fileName" Type="System.String" />
</Parameters>
<Docs>
<param name="fileName">The name of the asset to open. This name can be hierarchical.</param>
<summary>Open an asset using ACCESS_STREAMING mode.</summary>
<returns>To be added.</returns>
<remarks>
<para>Open an asset using ACCESS_STREAMING mode. This provides access to
files that have been bundled with an application as assets -- that is,
files placed in to the "assets" directory.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#open(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.open(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>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException" />
<altmember cref="M:Android.Content.Res.AssetManager.Open(System.String, Android.Content.Res.Access)" />
<altmember cref="M:Android.Content.Res.AssetManager.List(System.String)" />
</Docs>
</Member>
<Member MemberName="Open">
<MemberSignature Language="C#" Value="public System.IO.Stream Open (string fileName, Android.Content.Res.Access accessMode);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.IO.Stream Open(string fileName, valuetype Android.Content.Res.Access accessMode) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.Open(System.String,Android.Content.Res.Access)" />
<MemberSignature Language="F#" Value="member this.Open : string * Android.Content.Res.Access -> System.IO.Stream" Usage="assetManager.Open (fileName, accessMode)" />
<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/lang/String;I)Ljava/io/InputStream;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("open", "(Ljava/lang/String;I)Ljava/io/InputStream;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IO.Stream</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fileName" Type="System.String" />
<Parameter Name="accessMode" Type="Android.Content.Res.Access">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="fileName">The name of the asset to open. This name can be hierarchical.</param>
<param name="accessMode">Desired access mode for retrieving the data.</param>
<summary>Open an asset using an explicit access mode, returning an InputStream to
read its contents.</summary>
<returns>To be added.</returns>
<remarks>
<para>Open an asset using an explicit access mode, returning an InputStream to
read its contents. This provides access to files that have been bundled
with an application as assets -- that is, files placed in to the
"assets" directory.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#open(java.lang.String,%20int)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.open(java.lang.String, 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 1" />
<exception cref="T:Java.IO.IOException" />
<altmember cref="M:Android.Content.Res.AssetManager.Open(System.String)" />
<altmember cref="M:Android.Content.Res.AssetManager.List(System.String)" />
</Docs>
</Member>
<Member MemberName="OpenFd">
<MemberSignature Language="C#" Value="public Android.Content.Res.AssetFileDescriptor OpenFd (string fileName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Content.Res.AssetFileDescriptor OpenFd(string fileName) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.OpenFd(System.String)" />
<MemberSignature Language="F#" Value="member this.OpenFd : string -> Android.Content.Res.AssetFileDescriptor" Usage="assetManager.OpenFd fileName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("openFd", "(Ljava/lang/String;)Landroid/content/res/AssetFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("openFd", "(Ljava/lang/String;)Landroid/content/res/AssetFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Res.AssetFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fileName" Type="System.String" />
</Parameters>
<Docs>
<param name="fileName">The name of the asset to open. This name can be hierarchical.</param>
<summary>Open an uncompressed asset by mmapping it and returning an <c>AssetFileDescriptor</c>.</summary>
<returns>An open AssetFileDescriptor.</returns>
<remarks>
<para>Open an uncompressed asset by mmapping it and returning an <c>AssetFileDescriptor</c>.
This provides access to files that have been bundled with an application as assets -- that
is, files placed in to the "assets" directory.
The asset must be uncompressed, or an exception will be thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#openFd(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.openFd(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>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="OpenNonAssetFd">
<MemberSignature Language="C#" Value="public Android.Content.Res.AssetFileDescriptor OpenNonAssetFd (string fileName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Content.Res.AssetFileDescriptor OpenNonAssetFd(string fileName) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.OpenNonAssetFd(System.String)" />
<MemberSignature Language="F#" Value="member this.OpenNonAssetFd : string -> Android.Content.Res.AssetFileDescriptor" Usage="assetManager.OpenNonAssetFd fileName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("openNonAssetFd", "(Ljava/lang/String;)Landroid/content/res/AssetFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("openNonAssetFd", "(Ljava/lang/String;)Landroid/content/res/AssetFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Res.AssetFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fileName" Type="System.String" />
</Parameters>
<Docs>
<param name="fileName">Name of the asset to retrieve.</param>
<summary>Open a non-asset as an asset by mmapping it and returning an <c>AssetFileDescriptor</c>.</summary>
<returns>To be added.</returns>
<remarks>
<para>Open a non-asset as an asset by mmapping it and returning an <c>AssetFileDescriptor</c>.
This provides direct access to all of the files included in an application
package (not only its assets). Applications should not normally use this.
The asset must not be compressed, or an exception will be thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#openNonAssetFd(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.openNonAssetFd(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>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="OpenNonAssetFd">
<MemberSignature Language="C#" Value="public Android.Content.Res.AssetFileDescriptor OpenNonAssetFd (int cookie, string fileName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Content.Res.AssetFileDescriptor OpenNonAssetFd(int32 cookie, string fileName) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.OpenNonAssetFd(System.Int32,System.String)" />
<MemberSignature Language="F#" Value="member this.OpenNonAssetFd : int * string -> Android.Content.Res.AssetFileDescriptor" Usage="assetManager.OpenNonAssetFd (cookie, fileName)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("openNonAssetFd", "(ILjava/lang/String;)Landroid/content/res/AssetFileDescriptor;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("openNonAssetFd", "(ILjava/lang/String;)Landroid/content/res/AssetFileDescriptor;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Res.AssetFileDescriptor</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cookie" Type="System.Int32" />
<Parameter Name="fileName" Type="System.String" />
</Parameters>
<Docs>
<param name="cookie">Identifier of the package to be opened.</param>
<param name="fileName">Name of the asset to retrieve.</param>
<summary>Open a non-asset as an asset by mmapping it and returning an <c>AssetFileDescriptor</c>.</summary>
<returns>To be added.</returns>
<remarks>
<para>Open a non-asset as an asset by mmapping it and returning an <c>AssetFileDescriptor</c>.
This provides direct access to all of the files included in an application
package (not only its assets). Applications should not normally use this.
The asset must not be compressed, or an exception will be thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#openNonAssetFd(int,%20java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.openNonAssetFd(int, 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>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="OpenXmlResourceParser">
<MemberSignature Language="C#" Value="public System.Xml.XmlReader OpenXmlResourceParser (string fileName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.XmlReader OpenXmlResourceParser(string fileName) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.OpenXmlResourceParser(System.String)" />
<MemberSignature Language="F#" Value="member this.OpenXmlResourceParser : string -> System.Xml.XmlReader" Usage="assetManager.OpenXmlResourceParser fileName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("openXmlResourceParser", "(Ljava/lang/String;)Landroid/content/res/XmlResourceParser;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("openXmlResourceParser", "(Ljava/lang/String;)Landroid/content/res/XmlResourceParser;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Xml.XmlReader</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fileName" Type="System.String" />
</Parameters>
<Docs>
<param name="fileName">The name of the file to retrieve.</param>
<summary>Retrieve a parser for a compiled XML file.</summary>
<returns>To be added.</returns>
<remarks>
<para>Retrieve a parser for a compiled XML file.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#openXmlResourceParser(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.openXmlResourceParser(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>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="OpenXmlResourceParser">
<MemberSignature Language="C#" Value="public System.Xml.XmlReader OpenXmlResourceParser (int cookie, string fileName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.XmlReader OpenXmlResourceParser(int32 cookie, string fileName) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.Res.AssetManager.OpenXmlResourceParser(System.Int32,System.String)" />
<MemberSignature Language="F#" Value="member this.OpenXmlResourceParser : int * string -> System.Xml.XmlReader" Usage="assetManager.OpenXmlResourceParser (cookie, fileName)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("openXmlResourceParser", "(ILjava/lang/String;)Landroid/content/res/XmlResourceParser;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("openXmlResourceParser", "(ILjava/lang/String;)Landroid/content/res/XmlResourceParser;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Xml.XmlReader</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cookie" Type="System.Int32" />
<Parameter Name="fileName" Type="System.String" />
</Parameters>
<Docs>
<param name="cookie">Identifier of the package to be opened.</param>
<param name="fileName">The name of the file to retrieve.</param>
<summary>Retrieve a parser for a compiled XML file.</summary>
<returns>To be added.</returns>
<remarks>
<para>Retrieve a parser for a compiled XML file.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/res/AssetManager#openXmlResourceParser(int,%20java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.res.AssetManager.openXmlResourceParser(int, 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>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.Content.Res.AssetManager.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Content.Res.AssetManager.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Android.Content.Res.AssetManager.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Content.Res.AssetManager.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>