AssistantApiScreenCapabilities

GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilities


Table of Contents ▼

Jump to a specific part of the page:

Description

These capabilities represent the tactile features associated with the device. This includes, for example, whether the device has a screen, how big the screen is, and privacy of the screen. Next ID: 11

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. fontScaleFactor (type: number(), default: nil)
    - The scale factor used to convert Scalable Pixel (SP) units to Density-independent Pixel (DP) units (DP = SP * scale factor). Fonts are measured in units of SP, and on some platforms such as Android the SP to DP scale factor can be affected by the font size a user selects in accessibility settings.
  2. inputType (type: list(String.t), default: nil)
    - The types of input that this screen supports. Note that this can be empty in which case the screen's input type is unknown.
  3. mask (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesMask, default: nil)
    - Mask defined for this device, if any.
  4. protoLayoutTargetedSchema (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesProtoLayoutVersion, default: nil)
    - The targeted schema version for ProtoLayout requests.
  5. resolution (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesResolution, default: nil)
    - If this field is absent, the resolution of the screen is unknown.
  6. screenOff (type: boolean(), default: nil)
    - If screen is turned off.
  7. screenStateDetection (type: String.t, default: nil)
    - The ability of the client to correctly report screen state.
  8. supportedRenderingFormat (type: String.t, default: nil)
    - The primary supported rendering format for display on the device's screen. This may be used to determine what format of card to be returned when rendering cards.
  9. supportedScreenStates (type: list(String.t), default: nil)
    - The screen states that the client supports. The current screen state is specified in DeviceProperties.screen.
  10. visionHelpEnabled (type: boolean(), default: nil)
    - Whether the device enabled vision help features in accessibility settings. The settings is config in Assistant App and on-device settings, and stored in footprints. When enabled, font, color and TTS will be adjusted.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilities{
fontScaleFactor: number() | nil,
inputType: [String.t()] | nil,
mask: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesMask.t() | nil,
protoLayoutTargetedSchema: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesProtoLayoutVersion.t() | nil,
resolution: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesResolution.t() | nil,
screenOff: boolean() | nil,
screenStateDetection: String.t() | nil,
supportedRenderingFormat: String.t() | nil,
supportedScreenStates: [String.t()] | nil,
visionHelpEnabled: boolean() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilities