View.AutofillTypeDate 欄位

定義

警告

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

包含日期的欄位自動填入類型,此欄位以代表自標準基底時間稱為 「the epoch」 以來的毫秒數,也就是 1970 年 1 月 1 日,00: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
屬性

備註

包含日期的欄位自動填入類型,此欄位以代表自標準基底時間稱為 「the epoch」 以來的毫秒數,也就是 1970 年 1 月 1 日,00:00:00:00 GMT (請參閱 java.util.Date#getTime()

AutofillValue自動填入 的實例可以透過 AutofillValue#forDate(long) 取得,而傳遞至自動填入 ViewView 的值可以透過 AutofillValue#getDateValue() 擷取。

android.view.View.AUTOFILL_TYPE_DATE JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

適用於