Partager via


ContentResolver.MimeTypeInfo.Icon Property

Definition

Return a visual representation of this MIME type.

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

Property Value

Attributes

Remarks

Return a visual representation of this MIME type. This can be styled using Icon#setTint(int) to match surrounding UI.

Java documentation for android.content.ContentResolver.MimeTypeInfo.getIcon().

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