Interface Client

The Alexa HTML SDK provides methods and events to connect your HTML application with Alexa services and device capabilities. It exposes skill information via Client.skill which contains the bi-directional message protocol Skill.sendMessage and Skill.onMessage. It also exposes device capabilities via Client.capabilities as well as a series of events from the audio player through Client.speech and microphone Client.voice.

export
interface

Client

Hierarchy

  • Client

Index

Properties

capabilities

capabilities: Capability

The device capabilities of the current execution context.

performance

performance: Performance

Interface for retrieving performance information such as memory

memberof

Client

skill

skill: Skill

Bi-directional messaging interface for communicating with skill backend.

memberof

Client

speech

speech: Speech

Interface for interacting with Alexa speech from an HTML Application

memberof

Client

version

version: string

Version of the client, as set in CreateClientOptions.version

voice

voice: Voice

Interface for interacting with Alexa voice input from an HTML application

memberof

Client

2019, Amazon.com, Inc. or its affiliates. All Rights Reserved.