Condividi tramite


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Browser Members

Include Protected Members
Include Inherited Members

The Browser class in the Microsoft.Speech.VoiceXml namespace provides platform-independent access to the VoiceXML runtime.

The Browser type exposes the following members.

Constructors

  Name Description
Protected method Browser Creates a new instance of the Browser class.

Top

Properties

  Name Description
Public property State Gets the SessionState to determine whether a Browser instance is running.

Top

Methods

  Name Description
Public method Dispose() Disposes the Browser object and releases native resources.
Protected method Dispose(Boolean) Disposes the Browser object and releases resources used during the session.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Protected method OnDisconnected Raises a Disconnected event during an asynchronous Browser session.
Protected method OnDisconnecting Raises a Disconnecting event during an asynchronous Browser session.
Protected method OnSessionCompleted Raises a SessionCompleted event during an asynchronous Browser session.
Protected method OnTransferred(Object, TransferredEventArgs) Raises a Transferred event during an asynchronous Browser session.
Protected method OnTransferred(Object, String, TransferType, TransferState) Provides information about the TargetSip, the type(), and the state() for a Transferred event during an asynchronous Browser session.
Protected method OnTransferring(Object, TransferringEventArgs) Raises a Transferring event during an asynchronous Browser session.
Protected method OnTransferring(Object, String, TransferType, TransferState) Provides information about the TargetSip, the type(), and the state() for a Transferring event during an asynchronous Browser session.
Public method Run Launches a synchronous instance of the VoiceXML Browser and specifies the URI of the VoiceXML start page to load, and a CookieContainer parameter.
Public method RunAsync Launches an asynchronous instance of the VoiceXML Browser, specifying the URI of the VoiceXML start page to load, and a CookieContainer parameter.
Protected method SetCallProxy Associates a VoiceXML Browser session with a Browser.CallProxy object.
Protected method SetInputToAudioStream Assigns a specific audio stream as the input for the speech recognition engine.
Protected method SetInputToDefaultAudioDevice Assigns the system default audio input device as the input to the speech recognition engine.
Protected method SetInputToNull Assigns a null device as the input to the speech recognition engine.
Protected method SetInputToWaveFile Assigns a specific .WAV format audio file as input to the speech recognition engine.
Protected method SetInputToWaveStream Assigns an audio stream in .WAV format as input to the speech recognition engine.
Protected method SetOutputToAudioStream Assigns a specific audio stream as the output of the speech synthesizer.
Protected method SetOutputToDefaultAudioDevice Assigns the system default audio output device as the output of the speech synthesizer.
Protected method SetOutputToNull Assigns a null device as the output of the speech synthesizer.
Protected method SetOutputToWaveFile Assigns a specific .WAV format audio file as the output of the speech synthesizer.
Protected method SetOutputToWaveStream Assigns an audio stream in .WAV format as output of the speech synthesizer.
Public method StopAsync Terminates the processing of a VoiceXML page, but allows the Browser to finish processing the current VoiceXML element.
Public method ToString (inherited from Object)

Top

Events

  Name Description
Public event Disconnected Raised after a call is disconnected from an asynchronous Browser session.
Public event Disconnecting Raised just before a call is disconnected from an asynchronous Browser session.
Public event SessionCompleted Raised when the Browser exits a VoiceXML page during an asynchronous Browser session.
Public event Transferred Raised when the VoiceXML runtime has completed a phone call transfer to a recipient during an asynchronous Browser session.
Public event Transferring Raised when the VoiceXML page is about to process a <transfer> element during an asynchronous Browser session.

Top

See Also

Reference

Browser Class

Microsoft.Speech.VoiceXml Namespace