ObservingDevicePresenceRequest.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 presence request from this builder's settings.
[Android.Runtime.Register("build", "()Landroid/companion/ObservingDevicePresenceRequest;", "", ApiSince=36)]
public Android.Companion.ObservingDevicePresenceRequest Build();
[<Android.Runtime.Register("build", "()Landroid/companion/ObservingDevicePresenceRequest;", "", ApiSince=36)>]
member this.Build : unit -> Android.Companion.ObservingDevicePresenceRequest
Returns
A new ObservingDevicePresenceRequest with this builder's settings.
- Attributes
Remarks
Set either an association ID or a UUID before calling this method. The method throws IllegalStateException if no device identifier or more than one device identifier is set. See the builder implementation.