Language

AssociationInfo.DeviceIcon Property

Definition

Get the device icon of the associated device.

public Android.Graphics.Drawables.Icon? DeviceIcon { [Android.Runtime.Register("getDeviceIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getDeviceIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=36)>]
member this.DeviceIcon : Android.Graphics.Drawables.Icon

Property Value

the device icon with size 24dp x 24dp. If the associated device has no icon set, it returns null.

Attributes

Remarks

Get the device icon of the associated device. The device icon represents the device type.

Java documentation for android.companion.AssociationInfo.getDeviceIcon().

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