/
NdefMessage.xml
562 lines (561 loc) · 35 KB
/
NdefMessage.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
<Type Name="NdefMessage" FullName="Android.Nfc.NdefMessage">
<TypeSignature Language="C#" Value="public sealed class NdefMessage : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit NdefMessage extends Java.Lang.Object implements class Android.OS.IParcelable, class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.Nfc.NdefMessage" />
<TypeSignature Language="F#" Value="type NdefMessage = class
 inherit Object
 interface IParcelable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Android.OS.IParcelable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/nfc/NdefMessage", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/nfc/NdefMessage", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="9">
<summary>Represents an immutable NDEF Message.</summary>
<remarks>
<para>Represents an immutable NDEF Message.</para>
<para>NDEF (NFC Data Exchange Format) is a light-weight binary format,
used to encapsulate typed data. It is specified by the NFC Forum,
for transmission and storage with NFC, however it is transport agnostic.</para>
<para>NDEF defines messages and records. An NDEF Record contains
typed data, such as MIME-type media, a URI, or a custom
application payload. An NDEF Message is a container for
one or more NDEF Records.</para>
<para>When an Android device receives an NDEF Message
(for example by reading an NFC tag) it processes it through
a dispatch mechanism to determine an activity to launch.
The type of the <em>first</em> record in the message has
special importance for message dispatch, so design this record
carefully.</para>
<para>Use <c>#NdefMessage(byte[])</c> to construct an NDEF Message from
binary data, or <c>#NdefMessage(NdefRecord[])</c> to
construct from one or more <c>NdefRecord</c>s.
<p class="note">
<c>NdefMessage</c> and <c>NdefRecord</c> implementations are
always available, even on Android devices that do not have NFC hardware.
<p class="note">
<c>NdefRecord</c>s are intended to be immutable (and thread-safe),
however they may contain mutable fields. So take care not to modify
mutable fields passed into constructors, or modify mutable fields
obtained by getter methods, unless such modification is explicitly
marked as safe.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/nfc/NdefMessage" title="Reference documentation">Java documentation for <code>android.nfc.NdefMessage</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" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NdefMessage (Android.Nfc.NdefRecord[]? records);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Nfc.NdefRecord[] records) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Nfc.NdefMessage.#ctor(Android.Nfc.NdefRecord[])" />
<MemberSignature Language="F#" Value="new Android.Nfc.NdefMessage : Android.Nfc.NdefRecord[] -> Android.Nfc.NdefMessage" Usage="new Android.Nfc.NdefMessage records" />
<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/nfc/NdefRecord;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "([Landroid/nfc/NdefRecord;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="records" Type="Android.Nfc.NdefRecord[]" />
</Parameters>
<Docs>
<param name="records">one or more records</param>
<summary>Construct an NDEF Message from one or more NDEF Records.</summary>
<remarks>
<para>Construct an NDEF Message from one or more NDEF Records.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/nfc/NdefMessage#NdefMessage(android.nfc.NdefRecord[])" title="Reference documentation">Java documentation for <code>android.nfc.NdefMessage.NdefMessage(android.nfc.NdefRecord[])</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" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NdefMessage (byte[]? data);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] data) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Nfc.NdefMessage.#ctor(System.Byte[])" />
<MemberSignature Language="F#" Value="new Android.Nfc.NdefMessage : byte[] -> Android.Nfc.NdefMessage" Usage="new Android.Nfc.NdefMessage data" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "([B)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "([B)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="data" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="data">raw bytes to parse</param>
<summary>Construct an NDEF Message by parsing raw bytes.</summary>
<remarks>
<para>Construct an NDEF Message by parsing raw bytes.</para>
<para>Strict validation of the NDEF binary structure is performed:
there must be at least one record, every record flag must
be correct, and the total length of the message must match
the length of the input data.</para>
<para>This parser can handle chunked records, and converts them
into logical <c>NdefRecord</c>s within the message.</para>
<para>Once the input data has been parsed to one or more logical
records, basic validation of the tnf, type, id, and payload fields
of each record is performed, as per the documentation on
on <c>NdefRecord#NdefRecord(short, byte[], byte[], byte[])</c></para>
<para>If either strict validation of the binary format fails, or
basic validation during record construction fails, a
<c>FormatException</c> is thrown</para>
<para>Deep inspection of the type, id and payload fields of
each record is not performed, so it is possible to parse input
that has a valid binary format and confirms to the basic
validation requirements of
<c>NdefRecord#NdefRecord(short, byte[], byte[], byte[])</c>,
but fails more strict requirements as specified by the
NFC Forum.
<p class="note">
It is safe to re-use the data byte array after construction:
this constructor will make an internal copy of all necessary fields.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/nfc/NdefMessage#NdefMessage(byte[])" title="Reference documentation">Java documentation for <code>android.nfc.NdefMessage.NdefMessage(byte[])</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:Android.Nfc.FormatException">if the data cannot be parsed
</exception>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NdefMessage (Android.Nfc.NdefRecord? record, params Android.Nfc.NdefRecord[]? records);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Nfc.NdefRecord record, class Android.Nfc.NdefRecord[] records) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Nfc.NdefMessage.#ctor(Android.Nfc.NdefRecord,Android.Nfc.NdefRecord[])" />
<MemberSignature Language="F#" Value="new Android.Nfc.NdefMessage : Android.Nfc.NdefRecord * Android.Nfc.NdefRecord[] -> Android.Nfc.NdefMessage" Usage="new Android.Nfc.NdefMessage (record, records)" />
<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/nfc/NdefRecord;[Landroid/nfc/NdefRecord;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/nfc/NdefRecord;[Landroid/nfc/NdefRecord;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="record" Type="Android.Nfc.NdefRecord" />
<Parameter Name="records" Type="Android.Nfc.NdefRecord[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="record">first record (mandatory)</param>
<param name="records">additional records (optional)</param>
<summary>Construct an NDEF Message from one or more NDEF Records.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/nfc/NdefMessage#NdefMessage(android.nfc.NdefRecord,%20android.nfc.NdefRecord)" title="Reference documentation">Java documentation for <code>android.nfc.NdefMessage.NdefMessage(android.nfc.NdefRecord, android.nfc.NdefRecord)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ByteArrayLength">
<MemberSignature Language="C#" Value="public int ByteArrayLength { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ByteArrayLength" />
<MemberSignature Language="DocId" Value="P:Android.Nfc.NdefMessage.ByteArrayLength" />
<MemberSignature Language="F#" Value="member this.ByteArrayLength : int" Usage="Android.Nfc.NdefMessage.ByteArrayLength" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getByteArrayLength", "()I", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getByteArrayLength", "()I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the length of this NDEF Message if it is written to a byte array
with <c>#toByteArray</c>.</summary>
<value>length of this NDEF Message when written to bytes with <c>#toByteArray</c></value>
<remarks>
<para>Return the length of this NDEF Message if it is written to a byte array
with <c>#toByteArray</c>.</para>
<para>An NDEF Message can be formatted to bytes in different ways
depending on chunking, SR, and ID flags, so the length returned
by this method may not be equal to the length of the original
byte array used to construct this NDEF Message. However it will
always be equal to the length of the byte array produced by
<c>#toByteArray</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/nfc/NdefMessage#getByteArrayLength()" title="Reference documentation">Java documentation for <code>android.nfc.NdefMessage.getByteArrayLength()</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 16" />
<altmember cref="M:Android.Nfc.NdefMessage.ToByteArray" />
</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.Nfc.NdefMessage.Creator" />
<MemberSignature Language="F#" Value="static member Creator : Android.OS.IParcelableCreator" Usage="Android.Nfc.NdefMessage.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 9" />
</Docs>
</Member>
<Member MemberName="DescribeContents">
<MemberSignature Language="C#" Value="public int DescribeContents ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 DescribeContents() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Nfc.NdefMessage.DescribeContents" />
<MemberSignature Language="F#" Value="abstract member DescribeContents : unit -> int
override this.DescribeContents : unit -> int" Usage="ndefMessage.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", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("describeContents", "()I", "")>]</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 9" />
</Docs>
</Member>
<Member MemberName="GetRecords">
<MemberSignature Language="C#" Value="public Android.Nfc.NdefRecord[]? GetRecords ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Nfc.NdefRecord[] GetRecords() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Nfc.NdefMessage.GetRecords" />
<MemberSignature Language="F#" Value="member this.GetRecords : unit -> Android.Nfc.NdefRecord[]" Usage="ndefMessage.GetRecords " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getRecords", "()[Landroid/nfc/NdefRecord;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getRecords", "()[Landroid/nfc/NdefRecord;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Nfc.NdefRecord[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Get the NDEF Records inside this NDEF Message.</summary>
<returns>array of one or more NDEF records.</returns>
<remarks>
<para>Get the NDEF Records inside this NDEF Message.</para>
<para>An <c>NdefMessage</c> always has one or more NDEF Records: so the
following code to retrieve the first record is always safe
(no need to check for null or array length >= 1):</para>
<code lang="text/java">NdefRecord firstRecord = ndefMessage.getRecords()[0];
</code>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/nfc/NdefMessage#getRecords()" title="Reference documentation">Java documentation for <code>android.nfc.NdefMessage.getRecords()</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" />
</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.Nfc.NdefMessage.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Nfc.NdefMessage.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="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.Nfc.NdefMessage.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Nfc.NdefMessage.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.Nfc.NdefMessage.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Nfc.NdefMessage.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>
<Member MemberName="ToByteArray">
<MemberSignature Language="C#" Value="public byte[]? ToByteArray ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance unsigned int8[] ToByteArray() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Nfc.NdefMessage.ToByteArray" />
<MemberSignature Language="F#" Value="member this.ToByteArray : unit -> byte[]" Usage="ndefMessage.ToByteArray " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("toByteArray", "()[B", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("toByteArray", "()[B", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Return this NDEF Message as raw bytes.</summary>
<returns>NDEF Message in binary format</returns>
<remarks>
<para>Return this NDEF Message as raw bytes.</para>
<para>The NDEF Message is formatted as per the NDEF 1.0 specification,
and the byte array is suitable for network transmission or storage
in an NFC Forum NDEF compatible tag.</para>
<para>This method will not chunk any records, and will always use the
short record (SR) format and omit the identifier field when possible.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/nfc/NdefMessage#toByteArray()" title="Reference documentation">Java documentation for <code>android.nfc.NdefMessage.toByteArray()</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" />
</Docs>
</Member>
<Member MemberName="WriteToParcel">
<MemberSignature Language="C#" Value="public void WriteToParcel (Android.OS.Parcel? dest, Android.OS.ParcelableWriteFlags flags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void WriteToParcel(class Android.OS.Parcel dest, valuetype Android.OS.ParcelableWriteFlags flags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Nfc.NdefMessage.WriteToParcel(Android.OS.Parcel,Android.OS.ParcelableWriteFlags)" />
<MemberSignature Language="F#" Value="abstract member WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit
override this.WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit" Usage="ndefMessage.WriteToParcel (dest, flags)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Android.OS.IParcelable.WriteToParcel(Android.OS.Parcel,Android.OS.ParcelableWriteFlags)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dest" Type="Android.OS.Parcel" />
<Parameter Name="flags" Type="Android.OS.ParcelableWriteFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="dest">The Parcel in which the object should be written.</param>
<param name="flags">Additional flags about how the object should be written.
May be 0 or <see cref="F:Android.OS.Parcelable.ParcelableWriteReturnValue" />.
</param>
<summary>Flatten this object in to a Parcel.</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>
<since version="Added in API level 9" />
</Docs>
</Member>
</Members>
</Type>