Interface Voice

Commands to react to voice user input.

NOTE: The device can send microphone events independently of whether or not the microphone event was initiated by the skill or the user.

export
interface

Voice

Hierarchy

  • Voice

Index

Methods

onMicrophoneClosed

  • onMicrophoneClosed(callback: () => void): Voice
  • This function is used to register a listener for microphone closed events coming from the device.

    memberof

    Voice

    Parameters

    • callback: () => void
        • (): void
        • Returns void

    Returns Voice

onMicrophoneOpened

  • onMicrophoneOpened(callback: () => void): Voice
  • This function is used to register a listener for microphone open events from the device.

    memberof

    Voice

    Parameters

    • callback: () => void
        • (): void
        • Returns void

    Returns Voice

requestMicrophoneOpen

  • requestMicrophoneOpen(config?: VoiceArgs): void
  • Make a request to open the microphone on the device to accept user utterances.

    memberof

    Voice

    Parameters

    Returns void

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