Freigeben über


DeviceProductInfo.ModelYear Property

Definition

public int ModelYear { [Android.Runtime.Register("getModelYear", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getModelYear", "()I", "", ApiSince=31)>]
member this.ModelYear : int

Property Value

Model year of the device. Return -1 if not available. Typically, one of model year or manufacture year is available.

Attributes

Remarks

Java documentation for android.hardware.display.DeviceProductInfo.getModelYear().

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