ContextParams.Builder.SetShouldRegisterAttributionSource(Boolean) Method
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.
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.
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.