Click or drag to resize

MessageSetBodyAndReportTyping Method (String, MessageCompletionHandler)

Sets the body of the draft message and the "is typing" chat state.

Namespace:  Avaya.ClientServices
Assembly:  AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
public int SetBodyAndReportTyping(
	string body,
	MessageCompletionHandler completionHandler
)

Parameters

body
Type: SystemString
The new message body text to set.
completionHandler
Type: Avaya.ClientServicesMessageCompletionHandler
The completion handler which will be invoked when the operation completes. Operation success or failure is reported through this handler.

Return Value

Type: Int32
The remaining number of characters that can be added to the message body text (compared with the limit).
Remarks
If the application doesn't want to repeatedly call this method with new body text just to report that the user is typing, it can use the ReportTyping(Boolean) method to do so.
See Also