Language

DeviceProductInfo.Builder.SetModelYear(Int32) Method

Definition

Sets the model year of the device.

[Android.Runtime.Register("setModelYear", "(I)Landroid/hardware/display/DeviceProductInfo$Builder;", "", ApiSince=37)]
public Android.Hardware.Display.DeviceProductInfo.Builder SetModelYear(int modelYear);
[<Android.Runtime.Register("setModelYear", "(I)Landroid/hardware/display/DeviceProductInfo$Builder;", "", ApiSince=37)>]
member this.SetModelYear : int -> Android.Hardware.Display.DeviceProductInfo.Builder

Parameters

modelYear
Int32

The model year, must be >= 1990, or -1 if not available. Value is -1 or greater

Returns

This builder. This value cannot be null.

Attributes

Remarks

Sets the model year of the device.

Android reference for android.hardware.display.DeviceProductInfo.Builder.setModelYear.

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