TimerStat Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TimerStat() |
Construct an empty TimerStat object with the count and time set to 0. |
TimerStat(Parcel) |
Construct a TimerStat object reading the values from a |
TimerStat(Int32, Int64) |
Construct a TimerStat object with the supplied count and time fields. |
TimerStat()
Construct an empty TimerStat object with the count and time set to 0.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public TimerStat ();
- Attributes
Remarks
Construct an empty TimerStat object with the count and time set to 0.
Java documentation for android.os.health.TimerStat.TimerStat()
.
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
TimerStat(Parcel)
Construct a TimerStat object reading the values from a android.os.Parcel Parcel
object.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "", ApiSince=24)]
public TimerStat (Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "", ApiSince=24)>]
new Android.OS.Health.TimerStat : Android.OS.Parcel -> Android.OS.Health.TimerStat
Parameters
- in
- Parcel
- Attributes
Remarks
Construct a TimerStat object reading the values from a android.os.Parcel Parcel
object.
Java documentation for android.os.health.TimerStat.TimerStat(android.os.Parcel)
.
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
TimerStat(Int32, Int64)
Construct a TimerStat object with the supplied count and time fields.
[Android.Runtime.Register(".ctor", "(IJ)V", "", ApiSince=24)]
public TimerStat (int count, long time);
[<Android.Runtime.Register(".ctor", "(IJ)V", "", ApiSince=24)>]
new Android.OS.Health.TimerStat : int * int64 -> Android.OS.Health.TimerStat
Parameters
- count
- Int32
The count
- time
- Int64
The time
- Attributes
Remarks
Construct a TimerStat object with the supplied count and time fields.
Java documentation for android.os.health.TimerStat.TimerStat(int, 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.