ContextParams.Builder.SetShouldRegisterAttributionSource(Boolean) Method

Definition

Sets whether the attribution source associated with the context created from these params should be registered.

[Android.Runtime.Register("setShouldRegisterAttributionSource", "(Z)Landroid/content/ContextParams$Builder;", "", ApiSince=35)]
public Android.Content.ContextParams.Builder SetShouldRegisterAttributionSource(bool shouldRegister);
[<Android.Runtime.Register("setShouldRegisterAttributionSource", "(Z)Landroid/content/ContextParams$Builder;", "", ApiSince=35)>]
member this.SetShouldRegisterAttributionSource : bool -> Android.Content.ContextParams.Builder

Parameters

shouldRegister
Boolean

Whether the attribution source associated with the Context being created should be registered.

Returns

This builder instance.

Attributes

Remarks

Sets whether the attribution source associated with the context created from these params should be registered.

Java documentation for android.content.ContextParams.Builder.setShouldRegisterAttributionSource(boolean).

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