GoogleApi.ContentWarehouse.V1.Model.AssistantApiClockCapabilities
Table of Contents ▼
Jump to a specific part of the page:
Description
Used to describe clock capabilities of the device (for example, capabilities related to maximum number of supported alarms and timers that can be created on the device). Fields may be populated by clients or be backfilled by SAL (in case of Timon, for example).
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
maxSupportedAlarms
(type:integer()
, default:nil
)
- Maximum number of alarms that can be created on the client. -
maxSupportedExtendedTimerDuration
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration
, default:nil
)
- Maximum extended timer duration supported by the client. The extended timer duration is the total start-to-finish duration after an AddTimeToTimer operation. E.g. if a user sets a timer for 30 minutes, and later adds 10 minutes, the extended duration is 40 minutes. -
maxSupportedTimerDuration
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration
, default:nil
)
- Maximum duration of timers that can be created on the client. -
maxSupportedTimers
(type:integer()
, default:nil
)
- Maximum number of timers that can be created on the client. -
preferredStopwatchProvider
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesProvider
, default:nil
)
- The preferred provider to use for stopwatch related functionality. -
restrictAlarmsToNext24h
(type:boolean()
, default:nil
)
- Whether the client restricts alarms to ring within the next 24 hours.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiClockCapabilities{
maxSupportedAlarms: integer() | nil,
maxSupportedExtendedTimerDuration: GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t() | nil,
maxSupportedTimerDuration: GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t() | nil,
maxSupportedTimers: integer() | nil,
preferredStopwatchProvider: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesProvider.t() | nil,
restrictAlarmsToNext24h: boolean() | nil
}
maxSupportedAlarms: integer() | nil,
maxSupportedExtendedTimerDuration: GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t() | nil,
maxSupportedTimerDuration: GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t() | nil,
maxSupportedTimers: integer() | nil,
preferredStopwatchProvider: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesProvider.t() | nil,
restrictAlarmsToNext24h: boolean() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantApiClockCapabilities