We've updated our policies for smart-enabled devices. Please review the revised policies.

Generic intent handler.

Type parameters

  • REQ

  • RES

Callable

  • __call ( request REQ ) : Promise < RES > | RES
  • Callback function for the intent.

    Implement this function to handle each intent request and return a response.

    Parameters

    • request: REQ

    Returns Promise<RES> | RES