MediaRouter.RouteGroup.SetIconDrawable(Drawable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set an icon that will be used to represent this group.
[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 group
- Attributes
Remarks
Set an icon that will be used to represent this group. The system may use this icon in picker UIs or similar.
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.