-
Notifications
You must be signed in to change notification settings - Fork 0
/
AttributionSource.xml
686 lines (686 loc) · 42.1 KB
/
AttributionSource.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
<Type Name="AttributionSource" FullName="Android.Content.AttributionSource">
<TypeSignature Language="C#" Value="public sealed class AttributionSource : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit AttributionSource 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.Content.AttributionSource" />
<TypeSignature Language="F#" Value="type AttributionSource = 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/content/AttributionSource", ApiSince=31, DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/content/AttributionSource", ApiSince=31, DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>This class represents a source to which access to permission protected data should be
attributed.</summary>
<remarks>
<para>This class represents a source to which access to permission protected data should be
attributed. Attribution sources can be chained to represent cases where the protected
data would flow through several applications. For example, app A may ask app B for
contacts and in turn app B may ask app C for contacts. In this case, the attribution
chain would be A -> B -> C and the data flow would be C -> B -> A. There are two
main benefits of using the attribution source mechanism: avoid doing explicit permission
checks on behalf of the calling app if you are accessing private data on their behalf
to send back; avoid double data access blaming which happens as you check the calling
app's permissions and when you access the data behind these permissions (for runtime
permissions). Also if not explicitly blaming the caller the data access would be
counted towards your app vs to the previous app where yours was just a proxy.</para>
<para>Every <c>Context</c> has an attribution source and you can get it via <c>Context#getAttributionSource()</c> representing itself, which is a chain of one. You
can attribute work to another app, or more precisely to a chain of apps, through
which the data you would be accessing would flow, via <c>Context#createContext(
ContextParams)</c> plus specifying an attribution source for the next app to receive
the protected data you are accessing via <c>AttributionSource.Builder#setNext(
AttributionSource)</c>. Creating this attribution chain ensures that the datasource would
check whether every app in the attribution chain has permission to access the data
before releasing it. The datasource will also record appropriately that this data was
accessed by the apps in the sequence if the data is behind a sensitive permission
(e.g. dangerous). Again, this is useful if you are accessing the data on behalf of another
app, for example a speech recognizer using the mic so it can provide recognition to
a calling app.</para>
<para>You can create an attribution chain of you and any other app without any verification
as this is something already available via the <c>android.app.AppOpsManager</c> APIs.
This is supported to handle cases where you don't have access to the caller's attribution
source and you can directly use the <c>AttributionSource.Builder</c> APIs. However,
if the data flows through more than two apps (more than you access the data for the
caller) you need to have a handle to the <c>AttributionSource</c> for the calling app's
context in order to create an attribution context. This means you either need to have an
API for the other app to send you its attribution source or use a platform API that pipes
the callers attribution source.</para>
<para>You cannot forge an attribution chain without the participation of every app in the
attribution chain (aside of the special case mentioned above). To create an attribution
source that is trusted you need to create an attribution context that points to an
attribution source that was explicitly created by the app that it refers to, recursively.</para>
<para>Since creating an attribution context leads to all permissions for apps in the attribution
chain being checked, you need to expect getting a security exception when accessing
permission protected APIs since some app in the chain may not have the permission.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource" title="Reference documentation">Java documentation for <code>android.content.AttributionSource</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName="AttributionTag">
<MemberSignature Language="C#" Value="public string? AttributionTag { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string AttributionTag" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.AttributionTag" />
<MemberSignature Language="F#" Value="member this.AttributionTag : string" Usage="Android.Content.AttributionSource.AttributionTag" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAttributionTag", "()Ljava/lang/String;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAttributionTag", "()Ljava/lang/String;", "", ApiSince=31)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The attribution tag of the app accessing the permission protected data.</summary>
<value>To be added.</value>
<remarks>
<para>The attribution tag of the app accessing the permission protected data.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#getAttributionTag()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.getAttributionTag()</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="CheckCallingUid">
<MemberSignature Language="C#" Value="public bool CheckCallingUid ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool CheckCallingUid() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.AttributionSource.CheckCallingUid" />
<MemberSignature Language="F#" Value="member this.CheckCallingUid : unit -> bool" Usage="attributionSource.CheckCallingUid " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkCallingUid", "()Z", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkCallingUid", "()Z", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>If you are handling an IPC and you don't trust the caller you need to validate
whether the attribution source is one for the calling app to prevent the caller
to pass you a source from another app without including themselves in the
attribution chain.</summary>
<returns>if the attribution source cannot be trusted to be from the caller.</returns>
<remarks>
<para>If you are handling an IPC and you don't trust the caller you need to validate
whether the attribution source is one for the calling app to prevent the caller
to pass you a source from another app without including themselves in the
attribution chain.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#checkCallingUid()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.checkCallingUid()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Creator">
<MemberSignature Language="C#" Value="public static Android.OS.IParcelableCreator Creator { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Android.OS.IParcelableCreator Creator" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.Creator" />
<MemberSignature Language="F#" Value="static member Creator : Android.OS.IParcelableCreator" Usage="Android.Content.AttributionSource.Creator" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CREATOR", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CREATOR", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.IParcelableCreator</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DescribeContents">
<MemberSignature Language="C#" Value="public int DescribeContents ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 DescribeContents() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.AttributionSource.DescribeContents" />
<MemberSignature Language="F#" Value="abstract member DescribeContents : unit -> int
override this.DescribeContents : unit -> int" Usage="attributionSource.DescribeContents " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Android.OS.IParcelable.DescribeContents</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("describeContents", "()I", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("describeContents", "()I", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EnforceCallingUid">
<MemberSignature Language="C#" Value="public void EnforceCallingUid ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void EnforceCallingUid() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.AttributionSource.EnforceCallingUid" />
<MemberSignature Language="F#" Value="member this.EnforceCallingUid : unit -> unit" Usage="attributionSource.EnforceCallingUid " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("enforceCallingUid", "()V", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("enforceCallingUid", "()V", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>If you are handling an IPC and you don't trust the caller you need to validate
whether the attribution source is one for the calling app to prevent the caller
to pass you a source from another app without including themselves in the
attribution chain.</summary>
<remarks>
<para>If you are handling an IPC and you don't trust the caller you need to validate
whether the attribution source is one for the calling app to prevent the caller
to pass you a source from another app without including themselves in the
attribution chain.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#enforceCallingUid()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.enforceCallingUid()</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="IsTrusted">
<MemberSignature Language="C#" Value="public bool IsTrusted (Android.Content.Context context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool IsTrusted(class Android.Content.Context context) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.AttributionSource.IsTrusted(Android.Content.Context)" />
<MemberSignature Language="F#" Value="member this.IsTrusted : Android.Content.Context -> bool" Usage="attributionSource.IsTrusted context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("isTrusted", "(Landroid/content/Context;)Z", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("isTrusted", "(Landroid/content/Context;)Z", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="context">Context handle.</param>
<summary>Checks whether this attribution source can be trusted.</summary>
<returns>Whether this is a trusted source.</returns>
<remarks>
<para>Checks whether this attribution source can be trusted. That is whether
the app it refers to created it and provided to the attribution chain.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#isTrusted(android.content.Context)" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.isTrusted(android.content.Context)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Content.AttributionSource.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>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MyAttributionSource">
<MemberSignature Language="C#" Value="public static Android.Content.AttributionSource MyAttributionSource ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Content.AttributionSource MyAttributionSource() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.AttributionSource.MyAttributionSource" />
<MemberSignature Language="F#" Value="static member MyAttributionSource : unit -> Android.Content.AttributionSource" Usage="Android.Content.AttributionSource.MyAttributionSource " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("myAttributionSource", "()Landroid/content/AttributionSource;", "", ApiSince=33)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("myAttributionSource", "()Landroid/content/AttributionSource;", "", ApiSince=33)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.AttributionSource</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a generic <c>AttributionSource</c> that represents the entire
calling process.</summary>
<returns>a generic <c>AttributionSource</c> representing the entire
calling process</returns>
<remarks>
<para>Returns a generic <c>AttributionSource</c> that represents the entire
calling process.</para>
<para>Callers are <em>strongly</em> encouraged to use a more specific
attribution source whenever possible, such as from
<c>Context#getAttributionSource()</c>, since that enables developers to
have more detailed and scoped control over attribution within
sub-components of their app.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#myAttributionSource()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.myAttributionSource()</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="Next">
<MemberSignature Language="C#" Value="public Android.Content.AttributionSource? Next { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.AttributionSource Next" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.Next" />
<MemberSignature Language="F#" Value="member this.Next : Android.Content.AttributionSource" Usage="Android.Content.AttributionSource.Next" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getNext", "()Landroid/content/AttributionSource;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getNext", "()Landroid/content/AttributionSource;", "", ApiSince=31)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.AttributionSource</ReturnType>
</ReturnValue>
<Docs>
<summary>The next app to receive the permission protected data.</summary>
<value>To be added.</value>
<remarks>
<para>The next app to receive the permission protected data.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#getNext()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.getNext()</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="PackageName">
<MemberSignature Language="C#" Value="public string? PackageName { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string PackageName" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.PackageName" />
<MemberSignature Language="F#" Value="member this.PackageName : string" Usage="Android.Content.AttributionSource.PackageName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "", ApiSince=31)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The package that is accessing the permission protected data.</summary>
<value>To be added.</value>
<remarks>
<para>The package that is accessing the permission protected data.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#getPackageName()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.getPackageName()</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="Pid">
<MemberSignature Language="C#" Value="public int Pid { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Pid" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.Pid" />
<MemberSignature Language="F#" Value="member this.Pid : int" Usage="Android.Content.AttributionSource.Pid" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getPid", "()I", "", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getPid", "()I", "", ApiSince=34)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The PID that is accessing the permission protected data.</summary>
<value>To be added.</value>
<remarks>
<para>The PID that is accessing the permission protected data.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#getPid()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.getPid()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Content.AttributionSource.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</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.AttributionSource.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Content.AttributionSource.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Uid">
<MemberSignature Language="C#" Value="public int Uid { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Uid" />
<MemberSignature Language="DocId" Value="P:Android.Content.AttributionSource.Uid" />
<MemberSignature Language="F#" Value="member this.Uid : int" Usage="Android.Content.AttributionSource.Uid" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getUid", "()I", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getUid", "()I", "", ApiSince=31)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The UID that is accessing the permission protected data.</summary>
<value>To be added.</value>
<remarks>
<para>The UID that is accessing the permission protected data.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/AttributionSource#getUid()" title="Reference documentation">Java documentation for <code>android.content.AttributionSource.getUid()</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="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.Content.AttributionSource.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="attributionSource.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", "", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="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">To be added.</param>
<param name="flags">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>