View Source GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1ScreenOutConfigDimensions (google_api_content_warehouse v0.3.0)

This contains physical and logical characteristics about the device (e.g. screen size and DPI, etc).

Attributes

  • screenDpi (type: number(), default: nil) - Dots (pixels) per inch of the screen.
  • screenHeightPx (type: integer(), default: nil) - Height of the device's screen in pixels. If 0 or not specified, it's assumed to be the same as screen_width_px. For a square or round screen, it's recommended to leave this field empty as a bandwidth optimization.
  • screenShape (type: String.t, default: nil) - The shape of the device's screen
  • screenWidthPx (type: integer(), default: nil) - Width of the device's screen in pixels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1ScreenOutConfigDimensions{
    screenDpi: number() | nil,
    screenHeightPx: integer() | nil,
    screenShape: String.t() | nil,
    screenWidthPx: integer() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.