public DevicePlatform(PlatformBuilder platformBuilder) { deviceType = platformBuilder.deviceType; deviceId = platformBuilder.deviceId; os = platformBuilder.os; osVersion = platformBuilder.osVersion; screenResolution = platformBuilder.screenResolution; location = platformBuilder.location; mobileInfo = platformBuilder.mobileInfo; browserInfo = platformBuilder.browserInfo; }
public PlatformBuilder withDeviceInfo(MobileInfo mobileInfo) { this.mobileInfo = mobileInfo; return(this); }