use of com.microsoft.appcenter.ingestion.models.Device in project mobile-center-sdk-android by Microsoft.
the class PartAUtilsTest method getDevice.
@NonNull
private Device getDevice(int appCenterTimeZoneOffset) {
/* Create App Center models, starting with the device object. */
Device device = new Device();
device.setModel("model");
device.setOemName("oemName");
device.setLocale("en_US");
device.setOsName("osName");
device.setOsVersion("8.1.0");
device.setOsBuild("ABC.123");
device.setOsApiLevel(23);
device.setAppVersion("1.0.0");
device.setAppNamespace("com.appcenter.test");
device.setCarrierName("carrierName");
device.setSdkName("appcenter.android");
device.setSdkVersion("1.5.0");
device.setTimeZoneOffset(appCenterTimeZoneOffset);
return device;
}
Aggregations