CountDownTimer Constructors

Definition

Overloads

CountDownTimer(Int64, Int64)
CountDownTimer(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

CountDownTimer(Int64, Int64)

[Android.Runtime.Register(".ctor", "(JJ)V", "")]
public CountDownTimer (long millisInFuture, long countDownInterval);
[<Android.Runtime.Register(".ctor", "(JJ)V", "")>]
new Android.OS.CountDownTimer : int64 * int64 -> Android.OS.CountDownTimer

Parameters

millisInFuture
Int64

The number of millis in the future from the call to #start() until the countdown is done and #onFinish() is called.

countDownInterval
Int64

The interval along the way to receive #onTick(long) callbacks.

Attributes

Remarks

Java documentation for android.os.CountDownTimer.CountDownTimer(long, long).

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

CountDownTimer(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected CountDownTimer (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.CountDownTimer : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.CountDownTimer

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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