CameraSnapshotCommands

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

Known direct subclasses
CameraSnapshot

API for the CameraSnapshot trait.


Commands for the CameraSnapshot trait.

Summary

Public functions

getLiveSnapshot

suspend fun getLiveSnapshot(): CameraSnapshotTrait.GetLiveSnapshotCommand.Response

Gets a live snapshot from the camera.

Returns
CameraSnapshotTrait.GetLiveSnapshotCommand.Response

Response for the GetLiveSnapshot command.

getLiveSnapshotBatchable

fun getLiveSnapshotBatchable(): BatchableCommand<CameraSnapshotTrait.GetLiveSnapshotCommand.Response>

The batchable version of getLiveSnapshot command.

Gets a live snapshot from the camera.