次の方法で共有


View.AutofillTypeDate Field

Definition

Caution

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

Autofill type for a field that contains a date, which is represented by a long representing the number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT (see 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

Field Value

Value = 4
Attributes

Remarks

Autofill type for a field that contains a date, which is represented by a long representing the number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT (see java.util.Date#getTime().

AutofillValue instances for autofilling a View can be obtained through AutofillValue#forDate(long), and the values passed to autofill a View can be fetched through AutofillValue#getDateValue().

Java documentation for android.view.View.AUTOFILL_TYPE_DATE.

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