DevicePresenceEvent.AssociationId Property

Definition

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.

Applies to