ExtendedAutoRelockDelaySettingsV1 Trait
Information regarding device that supports auto relock delay settings and action to modify them.
Trait Type: Standard
Action Mutations
Note: See Overview: Device Action Lifecycle for more information on action flows
ExtendedAutoRelockDelaySettingsV1SetExtendedAutoRelockDelay Action
Modifies the auto relock delay value.
Mutation Inputs
Input Name | Description | Data Type | Nullable |
deviceId | uuid of the device to which mutation should apply | ID! | false |
traitActionArgs | See table below for specific fields | ExtendedAutoRelockDelaySettingsV1SetExtendedAutoRelockDelayArgs! | false |
ExtendedAutoRelockDelaySettingsV1SetExtendedAutoRelockDelayArgs Fields
Field Name | Description | Data Type | Nullable |
extendedAutoRelockDelay | The amount of time in seconds that the lock waits before relocking after an extended unlock event | int! | false |
GQL Examples
Request Example
mutation ExtendedAutoRelockDelaySettingsV1SetExtendedAutoRelockDelay {
ExtendedAutoRelockDelaySettingsV1SetExtendedAutoRelockDelay(
deviceId: "9a8f6104-6c50-476e-90ee-16b9a2dafc8d"
traitActionArgs: { extendedAutoRelockDelay: 90 }
){
deviceId
actionId
}
}Response Example
{
"data": {
"ExtendedAutoRelockDelaySettingsV1SetExtendedAutoRelockDelay": {
"actionId": "7eb3629a-a1c3-49f0-89b6-2831d500ac68",
"deviceId": "9a8f6104-6c50-476e-90ee-16b9a2dafc8d"
}
}
}
Reported States
Note: See Overview: Device Reported State for more information on reported state flows.
State Definitions
extendedAutoRelockDelay State
The amount of time in seconds that the lock waits before relocking after an extended unlock event
Data Type: Integer
Device State Query GQL Examples
Note: See Overview: Device Reported State for more information on reported state flows.
Request Example
query Device {
device(deviceId: "9a8f6104-6c50-476e-90ee-16b9a2dafc8d") {
id
traits {
... on ExtendedAutoRelockDelaySettingsV1DeviceTrait {
name
state {
extendedAutoRelockDelay {
reported {
value
}
}
}
}
}
}
}Response Example
{
"data": {
"device": {
"id": "9a8f6104-6c50-476e-90ee-16b9a2dafc8d",
"traits": [
{
"name": "ExtendedAutoRelockDelaySettingsV1",
"state": {
"extendedAutoRelockDelay": {
"reported": {
"value": 90
}
}
}
}
]
}
}
}What made this section unhelpful for you?
On this page
- ExtendedAutoRelockDelaySettingsV1 Trait