Public Member Functions
void | OnXNotify ([in] BSTR data) |
void | OnXAfterStart () |
void | OnXChangeState ([in] LONG prevState, [in] LONG newState) |
void | OnXTerminate () |
void | OnXStartFail () |
void | OnAbookUpdate ([in] BSTR eventDetails) |
void | OnAppUpdateAvailable ([in] BSTR eventDetails) |
void | OnChangeVideoMatrixReport ([in] BSTR eventDetails) |
void | OnConferenceCreated ([in] BSTR eventDetails) |
void | OnConferenceDeleted ([in] BSTR eventDetails) |
void | OnContactBlocked ([in] BSTR eventDetails) |
void | OnContactDeleted ([in] BSTR eventDetails) |
void | OnContactUnblocked ([in] BSTR eventDetails) |
void | OnHardwareChanged ([in] BSTR eventDetails) |
void | OnDetailInfo ([in] BSTR eventDetails) |
void | OnDeviceModesDone ([in] BSTR eventDetails) |
void | OnInviteReceived ([in] BSTR eventDetails) |
void | OnIncomingRequestToPodiumAnswered ([in] BSTR eventDetails) |
void | OnInviteRequestSent ([in] BSTR eventDetails) |
void | OnInviteSent ([in] BSTR eventDetails) |
void | OnLogin ([in] BSTR eventDetails) |
void | OnLogout ([in] BSTR eventDetails) |
void | OnReceiversInfoUpdated ([in] BSTR eventDetails) |
void | OnRecordRequest ([in] BSTR eventDetails) |
void | OnRecordRequestReply ([in] BSTR eventDetails) |
void | OnRejectReceived ([in] BSTR eventDetails) |
void | OnRejectSent ([in] BSTR eventDetails) |
void | OnRemarkCountDown ([in] BSTR eventDetails) |
void | OnRequestInviteReceived ([in] BSTR eventDetails) |
void | OnRoleChanged ([in] BSTR eventDetails) |
void | OnSelfSSInfoUpdate ([in] BSTR eventDetails) |
void | OnServerConnected ([in] BSTR eventDetails) |
void | OnServerDisconnected ([in] BSTR eventDetails) |
void | OnSettingsChanged ([in] BSTR eventDetails) |
void | OnSlideShowStart ([in] BSTR eventDetails) |
void | OnSlideShowStop ([in] BSTR eventDetails) |
void | OnStopCalling ([in] BSTR eventDetails) |
void | OnUpdateAvatar ([in] BSTR eventDetails) |
void | OnUpdateCameraInfo ([in] BSTR eventDetails) |
void | OnUpdateParticipantList ([in] BSTR eventDetails) |
void | OnRestrictionsChanged ([in] BSTR eventDetails) |
void | OnVideoMatrixChanged ([in] BSTR eventDetails) |
void | OnOffHookPressed ([in] BSTR eventDetails) |
void | OnHangUpPressed ([in] BSTR eventDetails) |
void | OnJabraHookOffPressed () |
void | OnJabraHangUpPressed () |
void | OnXCommandExecution ([in] BSTR cmdName, [in] BSTR allData) |
void | OnSlideShowInfoUpdate ([in] BSTR eventDetails) |
void | OnStart () |
void | OnXError ([in] LONG errorCode, [in] BSTR errorMsg) |
void | OnXLogin () |
void | OnXLoginError ([in] LONG errorCode) |
HRESULT | OnXFileRequestReceived ([in] LONG fileId, [in] BSTR fileName, [in] BSTR fileCaption, [in] BSTR peerId) |
HRESULT | OnXFileStatusChange ([in] LONG fileId, [in] LONG fileStatus, [in] LONG directionType) |
HRESULT | OnXFileSendError ([in] LONG error_code, [in] LONG fileId, [in] BSTR filePath, [in] BSTR fileCaption) |
HRESULT | OnXFileReceiveProgress ([in] LONG percent, [in] LONG fileId, [in] BSTR fileName, [in] BSTR fileCaption) |
HRESULT | OnXFileReceive ([in] BSTR peerId, [in] LONG fileId, [in] BSTR fileName, BSTR fileCaption) |
HRESULT | OnXFileSend ([in] LONG fileId, [in] BSTR filePath, [in] BSTR fileCaption) |
HRESULT | OnCommandReceived ([in] BSTR peerId, [in] BSTR command) |
void | OnBroadcastPictureStateChanged ([in] BSTR filename) |
void | OnCallHistoryUpdated ([in] BSTR jsonCallHistory) |
void | OnCmdAddToAbook ([in] BSTR peerId, [in] BSTR peerDn) |
void | OnCmdAddToGroup ([in] LONG groupId, [in] BSTR peerId) |
void | OnCmdBlock ([in] BSTR peerId) |
void | OnCmdChatClear ([in] BSTR chatId) |
void | OnCmdCreateGroup ([in] BSTR groupName) |
void | OnCmdRemoveFromAbook ([in] BSTR peerId) |
void | OnCmdRemoveFromGroup ([in] LONG groupId, [in] BSTR peerId) |
void | OnCmdRemoveGroup ([in] LONG groupId) |
void | OnCmdRenameGroup ([in] LONG groupId, [in] BSTR groupName) |
void | OnCmdRenameInAbook ([in] BSTR peerId, [in] BSTR peerDn) |
void | OnCmdUnblock ([in] BSTR peerId) |
void | OnCommandSent ([in] BSTR peerId, [in] BSTR command) |
void | OnFileAccepted ([in] LONG fileId) |
void | OnFileConferenceSent ([in] LONG fileId, [in] BSTR fileName) |
void | OnFileRejected ([in] LONG fileId) |
void | OnFileSent ([in] LONG fileId, [in] BSTR fileName, [in] BSTR peerId) |
void | OnFileTransferAvailable ([in] VARIANT_BOOL available) |
void | OnGroupsUpdate ([in] BSTR jsonGroupList) |
void | OnIncomingChatMessage ([in] BSTR peerId, [in] BSTR peerDn, [in] BSTR message, [in] ULONGLONG time) |
void | OnIncomingGroupChatMessage ([in] BSTR peerId, [in] BSTR peerDn, [in] BSTR message, [in] ULONGLONG time) |
void | OnGroupChatMessageSent ([in] BSTR message) |
void | OnChatMessageSent ([in] BSTR peerId, [in] BSTR message) |
void | OnTestAudioCapturerStateUpdated ([in] VARIANT_BOOL started) |
void | OnAudioCapturerRmsLevelUpdated ([in] DOUBLE lvl) |
void | OnToneDial ([in] BSTR symbol) |
Member Function Documentation
◆ OnAbookUpdate()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnAbookUpdate | ( | [in] BSTR | eventDetails | ) |
Address book update notification
- Parameters
-
eventDetails – event details in JSON format
◆ OnAppUpdateAvailable()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnAppUpdateAvailable | ( | [in] BSTR | eventDetails | ) |
Applicaton update available notification
◆ OnAudioCapturerRmsLevelUpdated()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnAudioCapturerRmsLevelUpdated | ( | [in] DOUBLE | lvl | ) |
Microphone test volume level notification
- Parameters
-
lvl – volume level
◆ OnBroadcastPictureStateChanged()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnBroadcastPictureStateChanged | ( | [in] BSTR | filename | ) |
Notification about video replacing picture send status change
- Parameters
-
picture filename wihtout path, empty when not sending
◆ OnCallHistoryUpdated()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCallHistoryUpdated | ( | [in] BSTR | jsonCallHistory | ) |
Call history change notification
- Parameters
-
jsonCallHistory – string with call history in JSON format. Contains only calls later that in lastView parameter
◆ OnChangeVideoMatrixReport()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnChangeVideoMatrixReport | ( | [in] BSTR | eventDetails | ) |
Video matrix change notification
◆ OnChatMessageSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnChatMessageSent | ( | [in] BSTR | peerId, |
[in] BSTR | message | ||
) |
Message sent to user notification
- Parameters
-
peerId – user’s TrueConf ID message – message text
◆ OnCmdAddToAbook()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdAddToAbook | ( | [in] BSTR | peerId, |
[in] BSTR | peerDn | ||
) |
Notification about outgoing add to address book command
- Parameters
-
peerId – user’s TrueConf ID peerDn – user’s display name
◆ OnCmdAddToGroup()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdAddToGroup | ( | [in] LONG | groupId, |
[in] BSTR | peerId | ||
) |
Notification about outgoing add to address book’s group command
- Parameters
-
groupId – group ID peerId – user’s TrueConf ID
◆ OnCmdBlock()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdBlock | ( | [in] BSTR | peerId | ) |
Notification about outgoing ban command
- Parameters
-
peerId – user’s TrueConf ID
◆ OnCmdChatClear()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdChatClear | ( | [in] BSTR | chatId | ) |
Chat history clear notification
- Parameters
-
chatId – chat ID
◆ OnCmdCreateGroup()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdCreateGroup | ( | [in] BSTR | groupName | ) |
Create address book group outgoing notfication
- Parameters
-
groupName – group name
◆ OnCmdRemoveFromAbook()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdRemoveFromAbook | ( | [in] BSTR | peerId | ) |
Notification about outgoing remove from address book command
- Parameters
-
peerId – user’s TrueConf ID
◆ OnCmdRemoveFromGroup()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdRemoveFromGroup | ( | [in] LONG | groupId, |
[in] BSTR | peerId | ||
) |
Notification about outgoing remove from address book’s group command
- Parameters
-
peerId – user’s TrueConf ID groupId – group ID
◆ OnCmdRemoveGroup()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdRemoveGroup | ( | [in] LONG | groupId | ) |
Notification about outgoing remove address book’s group command
- Parameters
-
groupId – group ID
◆ OnCmdRenameGroup()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdRenameGroup | ( | [in] LONG | groupId, |
[in] BSTR | groupName | ||
) |
Notification about outgoing address book’s group rename command
- Parameters
-
groupId – group ID groupName – new group name
◆ OnCmdRenameInAbook()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdRenameInAbook | ( | [in] BSTR | peerId, |
[in] BSTR | peerDn | ||
) |
Notification about outgoing user rename in address book command
- Parameters
-
peerId – user’s TrueConf ID peerDn – new user’s display name
◆ OnCmdUnblock()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCmdUnblock | ( | [in] BSTR | peerId | ) |
Notification about outgoing unban command
- Parameters
-
peerId – user’s TrueConf ID
◆ OnCommandReceived()
HRESULT TrueConf_CallXLib::_ITrueConfCallXEvents::OnCommandReceived | ( | [in] BSTR | peerId, |
[in] BSTR | command | ||
) |
On remote command receiving
- Parameters
-
peerId – sender TrueConf ID command – commang string
◆ OnCommandSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnCommandSent | ( | [in] BSTR | peerId, |
[in] BSTR | command | ||
) |
Outgoing notification about sucessful command sending
- Parameters
-
peerId – user’s TrueConf ID command – command string
◆ OnConferenceCreated()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnConferenceCreated | ( | [in] BSTR | eventDetails | ) |
Call start notification
◆ OnConferenceDeleted()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnConferenceDeleted | ( | [in] BSTR | eventDetails | ) |
Call end notification
◆ OnContactBlocked()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnContactBlocked | ( | [in] BSTR | eventDetails | ) |
Ban notification
◆ OnContactDeleted()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnContactDeleted | ( | [in] BSTR | eventDetails | ) |
Delete from address book notification
◆ OnContactUnblocked()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnContactUnblocked | ( | [in] BSTR | eventDetails | ) |
Unban notification
◆ OnDetailInfo()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnDetailInfo | ( | [in] BSTR | eventDetails | ) |
User detailed info arrival notification
◆ OnDeviceModesDone()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnDeviceModesDone | ( | [in] BSTR | eventDetails | ) |
Video pin and mode infrmaton arrival notfication
◆ OnFileAccepted()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnFileAccepted | ( | [in] LONG | fileId | ) |
File accepted nofitication
- Parameters
-
fileId – file ID
◆ OnFileConferenceSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnFileConferenceSent | ( | [in] LONG | fileId, |
[in] BSTR | fileName | ||
) |
File sent to current conference nofitication
- Parameters
-
fileId – file ID fileName – file Name
◆ OnFileRejected()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnFileRejected | ( | [in] LONG | fileId | ) |
File rejected nofitication
- Parameters
-
fileId – file ID
◆ OnFileSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnFileSent | ( | [in] LONG | fileId, |
[in] BSTR | fileName, | ||
[in] BSTR | peerId | ||
) |
File sent to user nofitication
- Parameters
-
fileId – file ID fileName – file Name peerId – user’s TrueConf ID
◆ OnFileTransferAvailable()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnFileTransferAvailable | ( | [in] VARIANT_BOOL | available | ) |
File transfer availability notificaton
- Parameters
-
available – true if file transfer is available, false otherwise
◆ OnGroupChatMessageSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnGroupChatMessageSent | ( | [in] BSTR | message | ) |
Message sent to group chat notification
- Parameters
-
message – message text
◆ OnGroupsUpdate()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnGroupsUpdate | ( | [in] BSTR | jsonGroupList | ) |
User group change notification
- Parameters
-
jsonGroupList – string with detailed group infornation,including members, in JSON format
◆ OnHangUpPressed()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnHangUpPressed | ( | [in] BSTR | eventDetails | ) |
Hang up button pressed notification
◆ OnHardwareChanged()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnHardwareChanged | ( | [in] BSTR | eventDetails | ) |
Hardware change notification
◆ OnIncomingChatMessage()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnIncomingChatMessage | ( | [in] BSTR | peerId, |
[in] BSTR | peerDn, | ||
[in] BSTR | message, | ||
[in] ULONGLONG | time | ||
) |
Incoming chat notificaton
- Parameters
-
peerId – sender’s TrueConf ID peerDn – sender’s display name message – message time – вmessage time in unix-time format
◆ OnIncomingGroupChatMessage()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnIncomingGroupChatMessage | ( | [in] BSTR | peerId, |
[in] BSTR | peerDn, | ||
[in] BSTR | message, | ||
[in] ULONGLONG | time | ||
) |
Incoming group chat notificaton
- Parameters
-
peerId – sender’s TrueConf ID peerDn – sender’s display name message – message text time – вmessage time in unix-time format
◆ OnIncomingRequestToPodiumAnswered()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnIncomingRequestToPodiumAnswered | ( | [in] BSTR | eventDetails | ) |
Podium request reply notification
◆ OnInviteReceived()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnInviteReceived | ( | [in] BSTR | eventDetails | ) |
Invite notifiction
◆ OnInviteRequestSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnInviteRequestSent | ( | [in] BSTR | eventDetails | ) |
Invite request sent notification
◆ OnInviteSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnInviteSent | ( | [in] BSTR | eventDetails | ) |
Invite sent notificaton
◆ OnJabraHangUpPressed()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnJabraHangUpPressed | ( | ) |
Hang up on external hardware device
◆ OnJabraHookOffPressed()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnJabraHookOffPressed | ( | ) |
Off hookon external hardware device
◆ OnLogin()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnLogin | ( | [in] BSTR | eventDetails | ) |
Login notification
◆ OnLogout()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnLogout | ( | [in] BSTR | eventDetails | ) |
Logout notification
◆ OnOffHookPressed()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnOffHookPressed | ( | [in] BSTR | eventDetails | ) |
Call button pressed notification
◆ OnReceiversInfoUpdated()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnReceiversInfoUpdated | ( | [in] BSTR | eventDetails | ) |
Receiver information update notification
◆ OnRecordRequest()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRecordRequest | ( | [in] BSTR | eventDetails | ) |
Record request notificaton
◆ OnRecordRequestReply()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRecordRequestReply | ( | [in] BSTR | eventDetails | ) |
Record request reply notificaton
◆ OnRejectReceived()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRejectReceived | ( | [in] BSTR | eventDetails | ) |
Reject notification
◆ OnRejectSent()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRejectSent | ( | [in] BSTR | eventDetails | ) |
Reject sent notificaton
◆ OnRemarkCountDown()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRemarkCountDown | ( | [in] BSTR | eventDetails | ) |
Remark countdown notification
◆ OnRequestInviteReceived()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRequestInviteReceived | ( | [in] BSTR | eventDetails | ) |
Request to join to your group conference notification
◆ OnRestrictionsChanged()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRestrictionsChanged | ( | [in] BSTR | eventDetails | ) |
Restrictions update notification
◆ OnRoleChanged()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnRoleChanged | ( | [in] BSTR | eventDetails | ) |
Role change in conference user list notification
◆ OnSelfSSInfoUpdate()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnSelfSSInfoUpdate | ( | [in] BSTR | eventDetails | ) |
Slideshow information update notificaton
◆ OnServerConnected()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnServerConnected | ( | [in] BSTR | eventDetails | ) |
Connect to server notification
◆ OnServerDisconnected()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnServerDisconnected | ( | [in] BSTR | eventDetails | ) |
Disconnect from server notification
◆ OnSettingsChanged()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnSettingsChanged | ( | [in] BSTR | eventDetails | ) |
Settings change notificaton
◆ OnSlideShowInfoUpdate()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnSlideShowInfoUpdate | ( | [in] BSTR | eventDetails | ) |
Slidesho parameter change
- Parameters
-
eventDetails – full notificatoin test in JSON.
◆ OnSlideShowStart()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnSlideShowStart | ( | [in] BSTR | eventDetails | ) |
Slideshow start notification
◆ OnSlideShowStop()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnSlideShowStop | ( | [in] BSTR | eventDetails | ) |
Slideshow end notificaton
◆ OnStart()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnStart | ( | ) |
Initialization start notification
◆ OnStopCalling()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnStopCalling | ( | [in] BSTR | eventDetails | ) |
End of P2P call
◆ OnTestAudioCapturerStateUpdated()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnTestAudioCapturerStateUpdated | ( | [in] VARIANT_BOOL | started | ) |
Microphone test progress notification
- Parameters
-
started – true when test started, false when ended
◆ OnToneDial()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnToneDial | ( | [in] BSTR | symbol | ) |
In-call DTMF tone sent notificaion
- Parameters
-
symbol – sent DTMF tone
◆ OnUpdateAvatar()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnUpdateAvatar | ( | [in] BSTR | eventDetails | ) |
Avatar update notification
◆ OnUpdateCameraInfo()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnUpdateCameraInfo | ( | [in] BSTR | eventDetails | ) |
Camera format change notification
◆ OnUpdateParticipantList()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnUpdateParticipantList | ( | [in] BSTR | eventDetails | ) |
Conference participant list change notification
◆ OnVideoMatrixChanged()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnVideoMatrixChanged | ( | [in] BSTR | eventDetails | ) |
Video matrix change notificaton
◆ OnXAfterStart()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXAfterStart | ( | ) |
Nonitifacton about full CallX initialization
◆ OnXChangeState()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXChangeState | ( | [in] LONG | prevState, |
[in] LONG | newState | ||
) |
State change notification
- Parameters
-
prevState – previous state newState – new state
prevState and newState could have the following values
- 0 none, no server connection and application does not try to connect to server
- 1 connect, application tries to connect to server
- 2 login, login required
- 3 normal, application connected and logged in
- 4 wait, incoming or outgoing call establishment in progress
- 5 conference, application is in call
- 6 close, call is terminating
◆ OnXCommandExecution()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXCommandExecution | ( | [in] BSTR | cmdName, |
[in] BSTR | allData | ||
) |
Command execution reply
- Parameters
-
cmdName – command name allData – command reply in JSON format
◆ OnXError()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXError | ( | [in] LONG | errorCode, |
[in] BSTR | errorMsg | ||
) |
Erro notification
- Parameters
-
errorCode – integer error code errorMsg – error text
◆ OnXFileReceive()
HRESULT TrueConf_CallXLib::_ITrueConfCallXEvents::OnXFileReceive | ( | [in] BSTR | peerId, |
[in] LONG | fileId, | ||
[in] BSTR | fileName, | ||
BSTR | fileCaption | ||
) |
File receiving complete notification
◆ OnXFileReceiveProgress()
HRESULT TrueConf_CallXLib::_ITrueConfCallXEvents::OnXFileReceiveProgress | ( | [in] LONG | percent, |
[in] LONG | fileId, | ||
[in] BSTR | fileName, | ||
[in] BSTR | fileCaption | ||
) |
File receiving progress notificaition
◆ OnXFileRequestReceived()
HRESULT TrueConf_CallXLib::_ITrueConfCallXEvents::OnXFileRequestReceived | ( | [in] LONG | fileId, |
[in] BSTR | fileName, | ||
[in] BSTR | fileCaption, | ||
[in] BSTR | peerId | ||
) |
On incoming file transfer requiest received
◆ OnXFileSend()
HRESULT TrueConf_CallXLib::_ITrueConfCallXEvents::OnXFileSend | ( | [in] LONG | fileId, |
[in] BSTR | filePath, | ||
[in] BSTR | fileCaption | ||
) |
File sending complete notification
◆ OnXFileSendError()
HRESULT TrueConf_CallXLib::_ITrueConfCallXEvents::OnXFileSendError | ( | [in] LONG | error_code, |
[in] LONG | fileId, | ||
[in] BSTR | filePath, | ||
[in] BSTR | fileCaption | ||
) |
On file send error
◆ OnXFileStatusChange()
HRESULT TrueConf_CallXLib::_ITrueConfCallXEvents::OnXFileStatusChange | ( | [in] LONG | fileId, |
[in] LONG | fileStatus, | ||
[in] LONG | directionType | ||
) |
On file status change whilte file transfer
- Parameters
-
fileId – unique file id directionType - 1 – Download
- 2 – Upload
fileStatus - 1 – StartError
- 2 – Started
- 3 – Complete
- 4 – UndefinedError
- 5 – Pending
◆ OnXLogin()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXLogin | ( | ) |
Login confirmation
◆ OnXLoginError()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXLoginError | ( | [in] LONG | errorCode | ) |
Logon error notificaton
- Parameters
-
errorCode – error code - 1 – answer on CheckUserLoginStatus_Method, if current CID is already authorized at TransportRouter
- 2 – answer on CheckUserLoginStatus_Method, if current CID is not authorized at TransportRouter – can try to login
- 3 – incorrect password or other problems with DB
- 4 – client shouldn’t show error to user (example: incorrect AutoLoginKey)
- 5 – license restriction of online users reached, server cannot login you
- 6 – user exist, but he is disabled to use this server
- 7 – client should retry login after timeout (value in container or default), due to server busy or other server problems
- 8 – user cannot login using this client app (should use other type of client app)
◆ OnXNotify()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXNotify | ( | [in] BSTR | data | ) |
Component event handler
- Parameters
-
data – event data in JSON
◆ OnXStartFail()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXStartFail | ( | ) |
Failed start notification
Possible reasons
- wrong CallXPath;
- application stopped functioning before full start (OnXAfterStart).
◆ OnXTerminate()
void TrueConf_CallXLib::_ITrueConfCallXEvents::OnXTerminate | ( | ) |
Termination notification in this state application could be restartes with XRestart or XRestartForce commands