LocatorCommands

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

Known direct subclasses
Locator

API for the Locator trait.


Summary

Public functions

suspend Unit
locate(lang: String, reportLocation: Boolean)

Locate the target device by generating a local alert.

BatchableCommand<Unit>
locateBatchable(lang: String, reportLocation: Boolean)

The batchable version of locate command.

suspend Unit

Silence any in-progress alarms on devices that make an audible response for local alerts.

BatchableCommand<Unit>

The batchable version of silence command.

Public functions

locate

suspend fun locate(lang: String, reportLocation: Boolean): Unit

Locate the target device by generating a local alert.

Parameters
lang: String

Current language of query or display.

reportLocation: Boolean

Indicates that coordinates are expected in the response and that the device should not ring.

locateBatchable

fun locateBatchable(lang: String, reportLocation: Boolean): BatchableCommand<Unit>

The batchable version of locate command.

Locate the target device by generating a local alert.

Parameters
lang: String

Current language of query or display.

reportLocation: Boolean

Indicates that coordinates are expected in the response and that the device should not ring.

Returns
BatchableCommand<Unit>

BatchableCommand

silence

suspend fun silence(): Unit

Silence any in-progress alarms on devices that make an audible response for local alerts.

silenceBatchable

fun silenceBatchable(): BatchableCommand<Unit>

The batchable version of silence command.

Silence any in-progress alarms on devices that make an audible response for local alerts.

Returns
BatchableCommand<Unit>

BatchableCommand