MobileDeviceServicesUpdateGenericDevice Method
|
Updates Generic Device information. Generic Device is the fall back emulation for all mobile devices that can be detected as mobile, but cannot obtain the resolution information.
Setting up the resolution for Generic Device will allow testing of Preview on these unknown mobile devices.
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax public XHRServiceResponseGeneric<ScreenSize> UpdateGenericDevice(
ScreenSize data
)
Public Function UpdateGenericDevice (
data As ScreenSize
) As XHRServiceResponseGeneric(Of ScreenSize)
public:
virtual XHRServiceResponseGeneric<ScreenSize^>^ UpdateGenericDevice(
ScreenSize^ data
) sealed
abstract UpdateGenericDevice :
data : ScreenSize -> XHRServiceResponseGeneric<ScreenSize>
override UpdateGenericDevice :
data : ScreenSize -> XHRServiceResponseGeneric<ScreenSize>
Parameters
- data
- Type: ScreenSize
The screen size of Generic Mobile Device
Examples
Sample JSON input
{
"data": {
"ScreenWidth": 240,
"ScreenHeight": 320
}
}
Return Value
Type:
XHRServiceResponseGenericScreenSizeUpdated Generic Device resolution
Examples
Sample JSON return
{
"code": 0,
"error": null,
"message": {
"ScreenHeight": 320,
"ScreenWidth": 240
}
}
See Also