ZelloWork Client SDK
2.51
|
Inherits IDispatch.
Inherited by IPtt2.
Public Member Functions | |
HRESULT | SignIn ([in] BSTR bstrUsername, [in] BSTR bstrPassword, [in] VARIANT_BOOL bPasswordHash) |
HRESULT | SignOut () |
HRESULT | Cancel () |
HRESULT | ShowSettingsDialog ([in] long lParentWindow) |
HRESULT | ShowAboutDialog ([in] long lParentWindow) |
HRESULT | ShowFeedbackDialog ([in] long lParentWindow) |
HRESULT | ShowPasswordWizard ([in] long lParentWindow) |
HRESULT | BeginMessage ([in] SAFEARRAY BSTR Users) |
HRESULT | EndMessage () |
HRESULT | RepeatLastMessage () |
HRESULT | BeginMessage2 ([in, out] SAFEARRAY BSTR *Users) |
HRESULT | UpdateContacts () |
HRESULT | ShowContacts () |
HRESULT | OpenHistory (IContact *pContact) |
HRESULT | CloseHistory () |
HRESULT | ExpandContact (IContact *pContact) |
HRESULT | SelectContact (IContact *pContact) |
Properties | |
NETWORK_STATUS | NetworkStatus [get] |
ONLINE_STATUS | OnlineStatus [get, set] |
BSTR | Username [get] |
BSTR | Password [get] |
IContacts | Contacts [get] |
INetwork | Network [get] |
ISettings | Settings [get] |
IHistory | History ([in] BSTR bstrFilter) [get] |
IAudioPlayer | AudioPlayer [get] |
ICustomization | Customization [get] |
VARIANT_BOOL | VoxActive [get, set] |
BSTR | StatusText [get, set] |
IPtt interface manages control behavior. It allows to configure login server, supernode list, user credentials etc.
HRESULT SignIn | ( | [in] BSTR | bstrUsername, |
[in] BSTR | bstrPassword, | ||
[in] VARIANT_BOOL | bPasswordHash | ||
) |
Sign in to network. When sign in succeeds of fails, appropriate event is fired on IPttEvents interface.
bstrUsername | Username. |
bstrPassword | Password. |
bPasswordHash | bstrPassword contains password MD5 hash instead of actial password value. |
HRESULT SignOut | ( | ) |
Sign out. When sign out is complete, an appropriate event is fired on IPttEvents interface.
HRESULT Cancel | ( | ) |
Cancel signing in if it's in progress. After signing in is halted, an event is fired on IPttEvents interface.
HRESULT ShowSettingsDialog | ( | [in] long | lParentWindow | ) |
Show "Settings" dialog. Dialog is shown modally, calling thread is blocked intil dialog is closed.
lParentWindow | Dialog owner window. If zero is passed, root parent window is used. |
HRESULT ShowAboutDialog | ( | [in] long | lParentWindow | ) |
Show "About" dialog. Dialog is shown modally, calling thread is blocked intil dialog is closed.
lParentWindow | Dialog owner window. If zero is passed, root parent window is used. |
HRESULT ShowFeedbackDialog | ( | [in] long | lParentWindow | ) |
Show "Report a problem" dialog. Dialog is shown modally, calling thread is blocked intil dialog is closed.
lParentWindow | Dialog owner window. If zero is passed, root parent window is used. |
HRESULT ShowPasswordWizard | ( | [in] long | lParentWindow | ) |
Show "Change password" wizard. Wizard is shown modally, calling thread is blocked intil dialog is closed. Password wizard can only be used in server contacts mode. Password wizard is available inly in signed in state.
lParentWindow | Wizard owner window. If zero is passed, root parent window is used. |
HRESULT BeginMessage | ( | [in] SAFEARRAY BSTR | Users | ) |
Start sending audio message.
Users | List of message recipients' names and/or ID's. If list is empty, message is sent to all selected users. |
HRESULT EndMessage | ( | ) |
Stop sending audio message.
HRESULT RepeatLastMessage | ( | ) |
Repeat last message.
HRESULT BeginMessage2 | ( | [in, out] SAFEARRAY BSTR * | Users | ) |
Start sending audio message. The sole purpose of this function is to support Visual Basic 6.
Users | List of message recipients' names and/or ID's. If list is empty, message is sent to all selected users. |
HRESULT UpdateContacts | ( | ) |
Request contact list from server. When server API is used to change contact list, it takes some some before new contact list arrives to a client. This function can be used to request new contact list instantly.
HRESULT ShowContacts | ( | ) |
Show full contact list. This method closes history view or list of group/channel users if one is opened. Works when signed in only.
HRESULT OpenHistory | ( | IContact * | pContact | ) |
Shows message history of a contact.
pContact | Contact whose history is to be shown. If NULL, all messages stored in history are displayed and filter edit box is shown. |
HRESULT CloseHistory | ( | ) |
Hides history view.
HRESULT ExpandContact | ( | IContact * | pContact | ) |
HRESULT SelectContact | ( | IContact * | pContact | ) |
Set focus to contact. Works when signed in only.
pContact | Contact to be selected. |
|
getproperty |
Get current network status.
pVal | Return value. |
|
getsetproperty |
Set online online status.
nVal | Status. |
Get current online status.
pVal | Return value. |
|
getproperty |
Get username used to sign in last time.
bstrpVal | Return value. |
|
getproperty |
Get password used to sign in last time. Hash value is returned instead of actual value.
bstrpVal | Return value. |
|
getproperty |
Get ISettings interface.
ppVal | Return value. Developer may query ISettings2 interface if required |
|
getproperty |
Get message history.
bstrFilter | Filter string. Pass empty string to collect history for all contacts. |
ppVal | Return value. |
|
getproperty |
Get player.
ppVal | Return value. |
|
getproperty |
Get ICustomization interface.
ppVal | Return value. |
|
getsetproperty |
Check if VOX feature is active.
pbVal | Return value. |
Activate or deactivate VOX.
bVal | New value. |
|
getsetproperty |
Set custom status text.
nVal | Status text. |
Get current status text.
pVal | Return value. |