Language

Notification.WearableExtender.SetContentIcon(Int32) Method

Definition

Set an icon that goes with the content of this notification.

[Android.Runtime.Register("setContentIcon", "(I)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? SetContentIcon(int icon);
[<Android.Runtime.Register("setContentIcon", "(I)Landroid/app/Notification$WearableExtender;", "")>]
member this.SetContentIcon : int -> Android.App.Notification.WearableExtender

Parameters

icon
Int32

int

Returns

This Android.App.Notification.WearableExtender instance, allowing calls to be chained.

Attributes

Remarks

Set an icon that goes with the content of this notification.

Android reference for android.app.Notification.WearableExtender.setContentIcon.

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