TvInputInfo.LoadIcon(Context) Method

Definition

Loads the user-displayed icon for this TV input.

[Android.Runtime.Register("loadIcon", "(Landroid/content/Context;)Landroid/graphics/drawable/Drawable;", "")]
public Android.Graphics.Drawables.Drawable? LoadIcon (Android.Content.Context context);
[<Android.Runtime.Register("loadIcon", "(Landroid/content/Context;)Landroid/graphics/drawable/Drawable;", "")>]
member this.LoadIcon : Android.Content.Context -> Android.Graphics.Drawables.Drawable

Parameters

context
Context

Supplies a Context used to load the icon.

Returns

a Drawable containing the TV input's icon. If the TV input does not have an icon, application's icon is returned. If it's unavailable too, null is returned.

Attributes

Remarks

Loads the user-displayed icon for this TV input.

Java documentation for android.media.tv.TvInputInfo.loadIcon(android.content.Context).

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