LockUnlockCommands

@Generated(value = ["GoogleHomePlatformCodegen"])
interface LockUnlockCommands

Known direct subclasses
LockUnlock

API for the LockUnlock trait.


Summary

Public functions

suspend Unit
lock(followUpToken: String)

Lock the device.

BatchableCommand<Unit>
lockBatchable(followUpToken: String)

The batchable version of lock command.

suspend Unit
unlock(followUpToken: String)

Unlock the device.

BatchableCommand<Unit>
unlockBatchable(followUpToken: String)

The batchable version of unlock command.

Public functions

lock

suspend fun lock(followUpToken: String): Unit

Lock the device.

lockBatchable

fun lockBatchable(followUpToken: String): BatchableCommand<Unit>

The batchable version of lock command.

Lock the device.

Returns
BatchableCommand<Unit>

BatchableCommand

unlock

suspend fun unlock(followUpToken: String): Unit

Unlock the device.

unlockBatchable

fun unlockBatchable(followUpToken: String): BatchableCommand<Unit>

The batchable version of unlock command.

Unlock the device.

Returns
BatchableCommand<Unit>

BatchableCommand