AssistantApiCoreTypesRingtoneTaskMetadataOnDeviceAlarmMetadata

AI Overview😉

  • The potential purpose of this module is to provide metadata for on-device alarm sounds, allowing the Google Assistant to access and play the correct alarm sound for a user's device. This includes storing the alarm sound resource, alarm sound label, and a request to generate the text-to-speech (TTS) service to play the alarm sound.
  • This module could impact search results by influencing the user experience when interacting with the Google Assistant. For example, if a user sets a reminder or alarm, the correct alarm sound will be played, enhancing the overall user experience. This could also affect the ranking of results related to alarm sounds or device-specific features.
  • A website may change things to be more favorable for this function by ensuring that their content is optimized for device-specific features, such as providing alarm sound resources that are compatible with different devices. Additionally, websites could provide clear and concise labels for their alarm sounds, making it easier for the Google Assistant to access and play the correct sound. This could lead to a better user experience and potentially improve the website's search engine ranking.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

This describes the alarm sound resource enum and the alarm sound label for the on device alarm sound. On-device ringtones are product specific, hence Opal/UI layer will be responsible for populating this metadata at creation/edit. The enum map will be used to convert to an internal resource id used by libassistant for accessing the asset which are not exposed to UI.

Attributes

  • onDeviceAlarmSound (type: String.t, default: nil) - Opal/UI layer will set this bit based on the user selection.
  • onDeviceAlarmSoundLabel (type: String.t, default: nil) - A string label to identify the alarm sound name. Opal/UI layer will set this as per product definition. This will be used to display the name of the selected ringtone.
  • ttsServiceRequestBytes (type: String.t, default: nil) - This is used to call S3 to realize the TTS. Is in the form of bytes because of a circular dependency issue in libassistant protos. It is a serialized proto of type speech.s3.TtsServiceRequest. This request will contain an ssml with the url to the ringtone files hosted on gstatic.

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.AssistantApiCoreTypesRingtoneTaskMetadataOnDeviceAlarmMetadata{
    onDeviceAlarmSound: String.t() | nil,
    onDeviceAlarmSoundLabel: String.t() | nil,
    ttsServiceRequestBytes: String.t() | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.