CameraTimelineCommands

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

Known direct subclasses
CameraTimeline

API for the CameraTimeline trait.


Commands for the CameraTimeline trait.

Summary

Public functions

suspend CameraTimelineTrait.ListTimelinePeriodsCommand.Response
listTimelinePeriods(
    startTimeMillis: ULong,
    endTimeMillis: ULong,
    modes: List<CameraTimelineTrait.TimelineMode>,
    optionalArgs: CameraTimelineTrait.ListTimelinePeriodsCommand.OptionalArgs.() -> Unit
)

L

BatchableCommand<CameraTimelineTrait.ListTimelinePeriodsCommand.Response>
listTimelinePeriodsBatchable(
    startTimeMillis: ULong,
    endTimeMillis: ULong,
    modes: List<CameraTimelineTrait.TimelineMode>,
    optionalArgs: CameraTimelineTrait.ListTimelinePeriodsCommand.OptionalArgs.() -> Unit
)

The batchable version of listTimelinePeriods command.

Public functions

listTimelinePeriods

suspend fun listTimelinePeriods(
    startTimeMillis: ULong,
    endTimeMillis: ULong,
    modes: List<CameraTimelineTrait.TimelineMode>,
    optionalArgs: CameraTimelineTrait.ListTimelinePeriodsCommand.OptionalArgs.() -> Unit = {}
): CameraTimelineTrait.ListTimelinePeriodsCommand.Response

L

i

s

t

s

t

h

e

t

i

m

e

l

i

n

e

p

e

r

i

o

d

s

f

o

r

t

h

e

c

a

m

e

r

a

.

Parameters
startTimeMillis: ULong

The start time of the timeline data in milliseconds since the Unix epoch.

endTimeMillis: ULong

The end time of the timeline data in milliseconds since the Unix epoch.

modes: List<CameraTimelineTrait.TimelineMode>

The timeline data modes.

optionalArgs: CameraTimelineTrait.ListTimelinePeriodsCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

Returns
CameraTimelineTrait.ListTimelinePeriodsCommand.Response

The response from the ListTimelinePeriods command.

listTimelinePeriodsBatchable

fun listTimelinePeriodsBatchable(
    startTimeMillis: ULong,
    endTimeMillis: ULong,
    modes: List<CameraTimelineTrait.TimelineMode>,
    optionalArgs: CameraTimelineTrait.ListTimelinePeriodsCommand.OptionalArgs.() -> Unit = {}
): BatchableCommand<CameraTimelineTrait.ListTimelinePeriodsCommand.Response>

The batchable version of listTimelinePeriods command.

L

i

s

t

s

t

h

e

t

i

m

e

l

i

n

e

p

e

r

i

o

d

s

f

o

r

t

h

e

c

a

m

e

r

a

.

Parameters
startTimeMillis: ULong

The start time of the timeline data in milliseconds since the Unix epoch.

endTimeMillis: ULong

The end time of the timeline data in milliseconds since the Unix epoch.

modes: List<CameraTimelineTrait.TimelineMode>

The timeline data modes.

optionalArgs: CameraTimelineTrait.ListTimelinePeriodsCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command