Device Manager interface.

Index

Methods

getProxyInfo

  • getProxyInfo(id: string): ProxyInfo
  • getProxyInfo is called by app to get information about the hub / bridge controlling this end-device.

    Parameters

    • id: string

      Device ID of end device that is being controlled by the hub.

    Returns ProxyInfo

markPending

  • markPending(request: IntentRequest): Promise<void>
  • markPending is called by the app when app is done handling an intent, but the actual operation (usually EXECUTE command) is still not done. This enables Google Home to respond back to the user in a timely fashion. This may be useful for somewhat long running operations. Returns a promise.

    Parameters

    • request: IntentRequest

      Original intent request that should be marked pending.

    Returns Promise<void>

send