Preparing search index...

    Class ListeningErrorEventArgs

    ListeningErrorEventArgs object returns in onListeningError callback. It contains the error code and description of the error.

    VoiceML capabilities are no longer supported. For Spectacles see options on ASRModule.

    //@input Asset.VoiceMLModule vmlModule
    //@input Component.Text screenTextTranscription

    var onListeningErrorHandler = function(eventErrorArgs){
    script.screenTextTranscription.text = 'error: ' + eventErrorArgs.error + " desc: "+ eventErrorArgs.description;
    }

    script.vmlModule.onListeningError.add(onListeningErrorHandler);

    Hierarchy (View Summary)

    Index

    Properties

    description: string

    Returns the description of the error.

    error: number

    Returns the Error code number.

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean