DeviceId.Builder.Build 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.
Creates a device ID from this builder's settings.
[Android.Runtime.Register("build", "()Landroid/companion/DeviceId;", "", ApiSince=36)]
public Android.Companion.DeviceId Build();
[<Android.Runtime.Register("build", "()Landroid/companion/DeviceId;", "", ApiSince=36)>]
member this.Build : unit -> Android.Companion.DeviceId
Returns
A new DeviceId with this builder's settings.
- Attributes
Remarks
This method throws IllegalArgumentException if neither a custom ID nor a MAC address is set. See the builder implementation.