AttributionSource.Builder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AttributionSource.Builder(AttributionSource) |
Creates a builder that is ready to build a new |
AttributionSource.Builder(Int32) |
Creates a new Builder. |
AttributionSource.Builder(AttributionSource)
Creates a builder that is ready to build a new AttributionSource
where
all fields (primitive, immutable data, pointers) are copied from the given
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
- current
- AttributionSource
The source to copy fields from.
- Attributes
Remarks
Creates a builder that is ready to build a new AttributionSource
where all fields (primitive, immutable data, pointers) are copied from the given AttributionSource
. Builder methods can still be used to mutate fields further.
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
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.