語言

TimerStat 建構函式

定義

多載

名稱 Description
TimerStat()

建構一個空的 TimerStat 物件,計數和時間都設為 0。

TimerStat(Parcel)

構建一個 TimerStat 物件,讀取物件的 android.os.Parcel Parcel 數值。

TimerStat(Int32, Int64)

用提供的計數和時間欄位建構一個 TimerStat 物件。

TimerStat()

建構一個空的 TimerStat 物件,計數和時間都設為 0。

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public TimerStat();
屬性

備註

建構一個空的 TimerStat 物件,計數和時間都設為 0。

Java 文件 android.os.health.TimerStat.TimerStat()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TimerStat(Parcel)

構建一個 TimerStat 物件,讀取物件的 android.os.Parcel Parcel 數值。

[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

參數

in
Parcel
屬性

備註

構建一個 TimerStat 物件,讀取物件的 android.os.Parcel Parcel 數值。

Java 文件 android.os.health.TimerStat.TimerStat(android.os.Parcel)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TimerStat(Int32, Int64)

用提供的計數和時間欄位建構一個 TimerStat 物件。

[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

參數

count
Int32

伯爵

time
Int64

時間

屬性

備註

用提供的計數和時間欄位建構一個 TimerStat 物件。

Java 文件 android.os.health.TimerStat.TimerStat(int, long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於