共用方式為


AttributionSource.Builder Constructors

Definition

Overloads

AttributionSource.Builder(AttributionSource)
AttributionSource.Builder(Int32)

Creates a new Builder.

AttributionSource.Builder(AttributionSource)

[Android.Runtime.Register(".ctor", "(Landroid/content/AttributionSource;)V", "", ApiSince=33)]
public Builder (Android.Content.AttributionSource current);
[<Android.Runtime.Register(".ctor", "(Landroid/content/AttributionSource;)V", "", ApiSince=33)>]
new Android.Content.AttributionSource.Builder : Android.Content.AttributionSource -> Android.Content.AttributionSource.Builder

Parameters

Attributes

Applies to

AttributionSource.Builder(Int32)

Creates a new Builder.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)]
public Builder (int uid);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)>]
new Android.Content.AttributionSource.Builder : int -> Android.Content.AttributionSource.Builder

Parameters

uid
Int32

The UID that is accessing the permission protected data.

Attributes

Remarks

Creates a new Builder.

Java documentation for android.content.AttributionSource.Builder.AttributionSource$Builder(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to