google_api_testing v0.15.0 GoogleApi.Testing.V1.Model.AndroidModel View Source

A description of an Android device tests may be run on.

Attributes

  • brand (type: String.t, default: nil) - The company that this device is branded with. Example: "Google", "Samsung".

  • codename (type: String.t, default: nil) - The name of the industrial design. This corresponds to android.os.Build.DEVICE.

  • form (type: String.t, default: nil) - Whether this device is virtual or physical.

  • formFactor (type: String.t, default: nil) - Whether this device is a phone, tablet, wearable, etc.

  • id (type: String.t, default: nil) - The unique opaque id for this model. Use this for invoking the TestExecutionService.

  • lowFpsVideoRecording (type: boolean(), default: nil) - True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.

  • manufacturer (type: String.t, default: nil) - The manufacturer of this device.

  • name (type: String.t, default: nil) - The human-readable marketing name for this device model. Examples: "Nexus 5", "Galaxy S5".

  • screenDensity (type: integer(), default: nil) - Screen density in DPI. This corresponds to ro.sf.lcd_density

  • screenX (type: integer(), default: nil) - Screen size in the horizontal (X) dimension measured in pixels.

  • screenY (type: integer(), default: nil) - Screen size in the vertical (Y) dimension measured in pixels.

  • supportedAbis (type: list(String.t), default: nil) - The list of supported ABIs for this device. This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list.

    Elements are optionally prefixed by "version_id:" (where version_id is the id of an AndroidVersion), denoting an ABI that is supported only on a particular version.

  • supportedVersionIds (type: list(String.t), default: nil) - The set of Android versions this device supports.

  • tags (type: list(String.t), default: nil) - Tags for this dimension. Examples: "default", "preview", "deprecated".

  • thumbnailUrl (type: String.t, default: nil) - URL of a thumbnail image of the device.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Testing.V1.Model.AndroidModel{
  brand: String.t(),
  codename: String.t(),
  form: String.t(),
  formFactor: String.t(),
  id: String.t(),
  lowFpsVideoRecording: boolean(),
  manufacturer: String.t(),
  name: String.t(),
  screenDensity: integer(),
  screenX: integer(),
  screenY: integer(),
  supportedAbis: [String.t()],
  supportedVersionIds: [String.t()],
  tags: [String.t()],
  thumbnailUrl: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.