AssistantApiScreenCapabilities

AI Overview😉

  • The potential purpose of this module is to determine the capabilities and characteristics of a user's device screen, such as its size, resolution, input type, and accessibility features. This information can be used to optimize the search results and user experience for the specific device.
  • This module could impact search results by influencing the ranking and formatting of results based on the device's screen capabilities. For example, if a device has a small screen or limited input capabilities, the search engine may prioritize results that are more easily readable or interactive on that device. Conversely, devices with larger screens or advanced input capabilities may be shown more complex or feature-rich results.
  • To be more favorable for this function, a website could ensure that its content is optimized for various screen sizes and devices, using responsive design and accessibility features such as scalable fonts and clear navigation. Additionally, websites could provide alternative formats for their content, such as simplified layouts or text-only versions, to accommodate devices with limited capabilities. By doing so, websites can improve the user experience and increase their chances of being ranked higher in search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilities (google_api_content_warehouse v0.4.0)

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

  • 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.
  • 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.
  • mask (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesMask.t, default: nil) - Mask defined for this device, if any.
  • protoLayoutTargetedSchema (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesProtoLayoutVersion.t, default: nil) - The targeted schema version for ProtoLayout requests.
  • resolution (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiScreenCapabilitiesResolution.t, default: nil) - If this field is absent, the resolution of the screen is unknown.
  • screenOff (type: boolean(), default: nil) - If screen is turned off.
  • screenStateDetection (type: String.t, default: nil) - The ability of the client to correctly report screen state.
  • 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.
  • supportedScreenStates (type: list(String.t), default: nil) - The screen states that the client supports. The current screen state is specified in DeviceProperties.screen.
  • 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.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.