ZelloWork Client SDK  2.51
Public Member Functions | List of all members
IAudioMessageRecord Interface Reference

Inherits IDispatch.

Public Member Functions

HRESULT MessageOutBegin ([in] IContact *pContact, [in] BSTR bstrExternalId, [out] IMessage **ppMessage, [out, retval] IAudioStream **ppStream)
 
HRESULT MessageOutBeginEx ([in] SAFEARRAY BSTR Users, [in] BSTR bstrExternalId, [out] IMessage **ppMessage, [out, retval] IAudioStream **ppStream)
 

Detailed Description

IAudioMessageRecord interface allows a client to initiate outgoing messages of external audio data.

Member Function Documentation

§ MessageOutBegin()

HRESULT MessageOutBegin ( [in] IContact pContact,
[in] BSTR  bstrExternalId,
[out] IMessage **  ppMessage,
[out, retval] IAudioStream **  ppStream 
)

Create outgoing audio message and linked custom audio data stream

Parameters
pContactA contact that the message is intended to be sent to.
bstrExternalIdExternal message id.
ppMessageReturns a message object for the new outgoing message.
ppStreamReturns an audio stream object that can be used to pass audio data to the client app.

§ MessageOutBeginEx()

HRESULT MessageOutBeginEx ( [in] SAFEARRAY BSTR  Users,
[in] BSTR  bstrExternalId,
[out] IMessage **  ppMessage,
[out, retval] IAudioStream **  ppStream 
)

Create outgoing audio message and linked custom audio data stream. .

Parameters
UsersList of message recipients' ID's or names.
bstrExternalIdExternal message id.
ppMessageReturns a message object for the new outgoing message.
ppStreamReturns an audio stream object that can be used to pass audio data to the client app.