示例#1
0
 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;
 }
示例#2
0
 public PlatformBuilder withDeviceInfo(MobileInfo mobileInfo)
 {
     this.mobileInfo = mobileInfo;
     return(this);
 }