DevicePresenceEvent.AssociationId Property
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.
public int AssociationId { [Android.Runtime.Register("getAssociationId", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getAssociationId", "()I", "", ApiSince=36)>]
member this.AssociationId : int
Property Value
The association id has been used to observe device presence.
Caller will receive the valid association id if only if using
<code data-dev-comment-type="c">ObservingDevicePresenceRequest.Builder#setAssociationId(int)</code>, otherwise
return <code data-dev-comment-type="c">#NO_ASSOCIATION</code>.
- Attributes
Remarks
Java documentation for android.companion.DevicePresenceEvent.getAssociationId()
.
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.