Contents

DeviceAssetGroup

Represents assets organized by device type with fallback device information.

Declaration

object DeviceAssetGroup

Properties

NameTypeDescription
assets[AssetReference]

Ordered list of asset references for this device type. Each item is an AssetReference containing an assetId UUID. Read-only.

appPreviewDeviceFallBackDevices[string]

List of fallback device type strings to use if assets are not available for this device (for example, ["iphone6", "iphone5"]). Empty array when no fallback applies. Read-only.

Discussion

The DeviceAssetGroup object is a value type within the assetsByDevice map on ProductPageLocaleDetails and AppLocaleDetails, keyed by specific device type string (for example, iphone_6_5, iphone_6_7, ipadPro).

Example

{
  "assets": [
    {
      "assetId": "550e8400-e29b-41d4-a716-446655440000"
    },
    {
      "assetId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
    }
  ],
  "appPreviewDeviceFallBackDevices": [
    "iphone6",
    "iphone5"
  ]
}

See Also