Language

DeviceProductInfo.Builder.SetManufactureDate(Int32, Int32) Method

Definition

Sets the manufacturing week and year of the device.

[Android.Runtime.Register("setManufactureDate", "(II)Landroid/hardware/display/DeviceProductInfo$Builder;", "", ApiSince=37)]
public Android.Hardware.Display.DeviceProductInfo.Builder SetManufactureDate(int manufactureWeek, int manufactureYear);
[<Android.Runtime.Register("setManufactureDate", "(II)Landroid/hardware/display/DeviceProductInfo$Builder;", "", ApiSince=37)>]
member this.SetManufactureDate : int * int -> Android.Hardware.Display.DeviceProductInfo.Builder

Parameters

manufactureWeek
Int32

Week of manufacturing, must be >= 1 and <=53, or -1 if not available. Value is between -1 and 53 inclusive

manufactureYear
Int32

Year of manufacturing, must be >= 1990, or -1 if not available. Value is -1 or greater

Returns

Attributes

Remarks

Sets the manufacturing week and year of the device.

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

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