Share via


Notification.Builder.SetShowWhen(Boolean) Method

Definition

Control whether the timestamp is shown in the content view.

[Android.Runtime.Register("setShowWhen", "(Z)Landroid/app/Notification$Builder;", "GetSetShowWhen_ZHandler")]
public virtual Android.App.Notification.Builder SetShowWhen (bool show);
[<Android.Runtime.Register("setShowWhen", "(Z)Landroid/app/Notification$Builder;", "GetSetShowWhen_ZHandler")>]
abstract member SetShowWhen : bool -> Android.App.Notification.Builder
override this.SetShowWhen : bool -> Android.App.Notification.Builder

Parameters

show
Boolean

If set to true, the timestamp is shown in the content view.

Returns

Attributes

Remarks

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