AttributionSource.Builder.SetDeviceId(Int32) Method

Definition

Set the device ID for this attribution source, permission check would happen against this device ID.

[Android.Runtime.Register("setDeviceId", "(I)Landroid/content/AttributionSource$Builder;", "", ApiSince=35)]
public Android.Content.AttributionSource.Builder SetDeviceId(int deviceId);
[<Android.Runtime.Register("setDeviceId", "(I)Landroid/content/AttributionSource$Builder;", "", ApiSince=35)>]
member this.SetDeviceId : int -> Android.Content.AttributionSource.Builder

Parameters

deviceId
Int32

The device identifier to associate with the attribution source.

Returns

the builder. This value cannot be null .

Attributes

Remarks

Set the device ID for this attribution source, permission check would happen against this device ID.

Java documentation for android.content.AttributionSource.Builder.setDeviceId(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