Sdílet prostřednictvím


RemoteViews.SetChronometerCountDown(Int32, Boolean) Method

Definition

Equivalent to calling Chronometer#setCountDown(boolean) Chronometer.setCountDown on the chronometer with the given viewId.

[Android.Runtime.Register("setChronometerCountDown", "(IZ)V", "GetSetChronometerCountDown_IZHandler", ApiSince=24)]
public virtual void SetChronometerCountDown (int viewId, bool isCountDown);
[<Android.Runtime.Register("setChronometerCountDown", "(IZ)V", "GetSetChronometerCountDown_IZHandler", ApiSince=24)>]
abstract member SetChronometerCountDown : int * bool -> unit
override this.SetChronometerCountDown : int * bool -> unit

Parameters

viewId
Int32

The id of the Chronometer to change

isCountDown
Boolean

True if you want the chronometer to count down to base instead of counting up.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setChronometerCountDown(int, boolean).

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