次の方法で共有


Notification.Builder.SetUsesChronometer(Boolean) Method

Definition

Show the When field as a stopwatch.

[Android.Runtime.Register("setUsesChronometer", "(Z)Landroid/app/Notification$Builder;", "GetSetUsesChronometer_ZHandler")]
public virtual Android.App.Notification.Builder SetUsesChronometer (bool b);
[<Android.Runtime.Register("setUsesChronometer", "(Z)Landroid/app/Notification$Builder;", "GetSetUsesChronometer_ZHandler")>]
abstract member SetUsesChronometer : bool -> Android.App.Notification.Builder
override this.SetUsesChronometer : bool -> Android.App.Notification.Builder

Parameters

b
Boolean

If set to true, uses the chronometer; else, shows a timestamp.

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

See also