MediaRouter.UserRouteInfo.SetIconDrawable(Drawable) Method

Definition

Set an icon that will be used to represent this route.

[Android.Runtime.Register("setIconDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetIconDrawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetIconDrawable (Android.Graphics.Drawables.Drawable icon);
[<Android.Runtime.Register("setIconDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetIconDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetIconDrawable : Android.Graphics.Drawables.Drawable -> unit
override this.SetIconDrawable : Android.Graphics.Drawables.Drawable -> unit

Parameters

icon
Drawable

icon drawable to use to represent this route

Attributes

Remarks

Set an icon that will be used to represent this route. The system may use this icon in picker UIs or similar.

Java documentation for android.media.MediaRouter.UserRouteInfo.setIconDrawable(android.graphics.drawable.Drawable).

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