語言

View.AutofillTypeDate 欄位

定義

警告

This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.

自動填充類型用於包含日期欄位的欄位,日期以長碼表示自標準基準時間「紀元」以來的毫秒數,即1970年1月1日,00:00:00 GMT(參見 java.util.Date#getTime()。

[Android.Runtime.Register("AUTOFILL_TYPE_DATE", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.", true)]
public const Android.Views.AutofillType AutofillTypeDate = 4;
[<Android.Runtime.Register("AUTOFILL_TYPE_DATE", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.", true)>]
val mutable AutofillTypeDate : Android.Views.AutofillType

欄位值

Value = 4
屬性

備註

自動填充類型用於包含日期欄位的欄位,日期以長碼表示自標準基準時間「紀元」以來的毫秒數,即1970年1月1日,00:00:00 GMT(參見 java.util.Date#getTime()。

AutofillValue 自動填充 A View 的實例可透過 AutofillValue#forDate(long)取得,且傳遞給自動填充 A View 的值可透過 AutofillValue#getDateValue()取得。

的 android.view.View.AUTOFILL_TYPE_DATEJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於