Share via


RunSpeech - OnUserDisconnected Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Gets or sets the name of a client-side function that is called when the caller disconnects.

Usage

<script>
    ...
    function MyUserDisconnected()
    {
        // Custom code for OnUserDisconnected
    }
    ...
    RunSpeech.OnUserDisconnected = MyUserDisconnected;
    ...
</script>

Parameters

None.

Return value

None.

Remarks

The OnUserDisconnected property value is the name of the custom client-side script function, without parameters or parentheses. When the caller disconnects, RunSpeech calls the client-side script function.

See Also

Other Resources

SpeechControls Scripting