MediaRouter.RouteGroup.SetIconResource(Int32) Method

Definition

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

[Android.Runtime.Register("setIconResource", "(I)V", "GetSetIconResource_IHandler")]
public virtual void SetIconResource (int resId);
[<Android.Runtime.Register("setIconResource", "(I)V", "GetSetIconResource_IHandler")>]
abstract member SetIconResource : int -> unit
override this.SetIconResource : int -> unit

Parameters

resId
Int32

Resource ID of an 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.

Java documentation for android.media.MediaRouter.RouteGroup.setIconResource(int).

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