ConnectionMessageEventArgs Class

  • java.lang.Object
    • com.microsoft.cognitiveservices.speech.ConnectionMessageEventArgs

public final class ConnectionMessageEventArgs

Defines payload for Connection's MessageReceived events. Added in version 1.15.0.

Method Summary

Modifier and Type Method and Description
ConnectionMessage getMessage()

Gets the ConnectionMessage associated with this ConnectionMessageEventArgs.

java.lang.String toString()

Returns a string that represents the connection message.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

getMessage

public ConnectionMessage getMessage()

Gets the ConnectionMessage associated with this ConnectionMessageEventArgs.

Returns:

A ConnectionMessage containing the message.

toString

public String toString()

Returns a string that represents the connection message.

Overrides:

ConnectionMessageEventArgs.toString()

Returns:

A string that represents the connection message.

Applies to