CompanionDeviceManager.MyAssociations Property

Definition

Calling this API requires a uses-feature PackageManager#FEATURE_COMPANION_DEVICE_SETUP declaration in the manifest

public System.Collections.Generic.IList<Android.Companion.AssociationInfo> MyAssociations { [Android.Runtime.Register("getMyAssociations", "()Ljava/util/List;", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getMyAssociations", "()Ljava/util/List;", "", ApiSince=33)>]
member this.MyAssociations : System.Collections.Generic.IList<Android.Companion.AssociationInfo>

Property Value

a list of associations that have been previously associated with the current app.

Attributes

Remarks

Calling this API requires a uses-feature PackageManager#FEATURE_COMPANION_DEVICE_SETUP declaration in the manifest

Java documentation for android.companion.CompanionDeviceManager.getMyAssociations().

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