Click or drag to resize

MobileDeviceServicesGetDevicesInformation Method


Retrieves the list of Mobile Devices emulation entries and status

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<DevicesListing> GetDevicesInformation()

Return Value

Type: XHRServiceResponseGenericDevicesListing

The object containing whether Mobile Devices emulation is enabled, the generic device information, list of device bundles (emulation entries), and whether is download of device database is going on.

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "DeviceBundles": [{
            "DeviceIds": null,
            "Devices": [{
                "FullName": "Samsung - Galaxy S 4G (Android 1.0)",
                "Height": 800,
                "ID": "16553-17979-21556-18092",
                "IsTablet": false,
                "Manufacturer": "Samsung",
                "Platform": "Android",
                "UserAgent": "Android\/1.0 (SGH-T959V FROYO)",
                "Version": "1.0",
                "Width": 480
            }],
            "Name": "Galaxy S 4",
            "RepresentativeDeviceId": "16553-17979-21556-18092",
            "ScreenHeight": 800,
            "ScreenWidth": 480,
            "UserAgent": "IGXGeneric\/PreviewDevice (asdfsdf)"
        }, {
            "DeviceIds": null,
            "Devices": [{
                "FullName": "Apple - iPhone (iOS 7.0)",
                "Height": 480,
                "ID": "12280-17779-24305-18092",
                "IsTablet": false,
                "Manufacturer": "Apple",
                "Platform": "iOS",
                "UserAgent": "Apple iPhone v7.0 Stocks v3.0.11A465",
                "Version": "7.0",
                "Width": 320
            }],
            "Name": "Iphone",
            "RepresentativeDeviceId": "12280-17779-24305-18092",
            "ScreenHeight": 480,
            "ScreenWidth": 320,
            "UserAgent": "Apple iPhone v7.0 Stocks v3.0.11A465"
        }],
        "DevicesEnabled": true,
        "Downloading": false,
        "GenericDevice": {
            "ScreenHeight": 320,
            "ScreenWidth": 240,
            "UserAgent": "IGXGenericPreviewDevice|240|320"
        },
        "Message": ""
    }
}
See Also