|
virtual void | OnAccountStatusChanged (ZDK::Shared::Account account, ZDK::AccountStatus status, int statusCode)=0 |
| Notify upon Account status is changed. More...
|
|
virtual void | OnAccountRetryingRegistration (ZDK::Shared::Account account, int isRetrying, int inSeconds)=0 |
| Notify upon Account is retrying registration. More...
|
|
virtual void | OnAccountIncomingCall (ZDK::Shared::Account account, ZDK::Shared::Call call)=0 |
| Notify upon Incoming Call. More...
|
|
virtual void | OnAccountChatMessageReceived (ZDK::Shared::Account account, ZDK::Shared::String pPeer, ZDK::Shared::String pContent)=0 |
| Notify upon Chat message was received. More...
|
|
virtual void | OnAccountPushTokenReceived (ZDK::Shared::Account account, ZDK::Shared::String pushToken)=0 |
| Notify upon push token is received. More...
|
|
virtual void | OnAccountExtendedError (ZDK::Shared::Account account, ZDK::Shared::ExtendedError error)=0 |
| Notify upon account extended error occurs. More...
|
|
virtual void | OnAccountUserSipOutboundMissing (ZDK::Shared::Account account)=0 |
| Warning for missing SIP Outbound support at the server. More...
|
|
virtual void | OnAccountFileTransferRequested (ZDK::Shared::Account account, ZDK::Shared::FileTransfer TransferHandler, ZDK::Shared::String FromPhone, ZDK::Shared::String FromtName, ZDK::Shared::String FromURI, ZDK::Shared::String FileName, int Size, ZDK::Shared::String FileType, unsigned char *digest)=0 |
|
virtual void | OnAccountCallOwnershipChanged (ZDK::Shared::Account account, ZDK::Shared::Call call, ZDK::OwnershipChange action)=0 |
| Notify upon call ownership changed. More...
|
|
Public Member Functions inherited from ZDK::IEventHandle |
virtual ZDK::ZDKHandle | EventHandle ()=0 |
|
◆ OnAccountCallOwnershipChanged()
virtual void ZDK::IAccountEventsHandler::OnAccountCallOwnershipChanged |
( |
ZDK::Shared::Account |
account, |
|
|
ZDK::Shared::Call |
call, |
|
|
ZDK::OwnershipChange |
action |
|
) |
| |
|
pure virtual |
Notify upon call ownership changed.
Providing information upon call ownership change.
The OwnershipChange objects holds the information if the call is Relieved or Acquired.
- Parameters
-
[in] | account | Account whose call ownership is changed |
[in] | call | The call which ownership is changed |
[in] | OwnershipChange | The type of change that is happend ( Relieve,Acquired or NA) |
- See also
- IAccount, ICall, IOwnershipChange
◆ OnAccountChatMessageReceived()
virtual void ZDK::IAccountEventsHandler::OnAccountChatMessageReceived |
( |
ZDK::Shared::Account |
account, |
|
|
ZDK::Shared::String |
pPeer, |
|
|
ZDK::Shared::String |
pContent |
|
) |
| |
|
pure virtual |
Notify upon Chat message was received.
Notify upon Chat message was received , provides the sender and the content of the message
- Parameters
-
[in] | account | Account that receives the message |
[in] | pPeer | The message sender |
[in] | pContent | Contents of the message |
- See also
- IAccount
◆ OnAccountExtendedError()
virtual void ZDK::IAccountEventsHandler::OnAccountExtendedError |
( |
ZDK::Shared::Account |
account, |
|
|
ZDK::Shared::ExtendedError |
error |
|
) |
| |
|
pure virtual |
Notify upon account extended error occurs.
Event fired when extended error in account occurs, providing detailed information for the error in the ExtendedError object.
- Parameters
-
[in] | account | Account that received the error |
[in] | error | The error object that provides full information regarding the error |
- See also
- IAccount, IExtendedError
◆ OnAccountIncomingCall()
virtual void ZDK::IAccountEventsHandler::OnAccountIncomingCall |
( |
ZDK::Shared::Account |
account, |
|
|
ZDK::Shared::Call |
call |
|
) |
| |
|
pure virtual |
Notify upon Incoming Call.
Notification for incoming call
- Parameters
-
[in] | account | Account that receives the call |
[in] | call | The call object holding handle to the incoming call |
- See also
- IAccount, ICall
◆ OnAccountPushTokenReceived()
virtual void ZDK::IAccountEventsHandler::OnAccountPushTokenReceived |
( |
ZDK::Shared::Account |
account, |
|
|
ZDK::Shared::String |
pushToken |
|
) |
| |
|
pure virtual |
Notify upon push token is received.
The push token has been successfully sent to the service and it has sent a confirmation.
- Parameters
-
[in] | account | Account that received the push token |
[in] | pushToken | The push token |
- See also
- IAccount
◆ OnAccountRetryingRegistration()
virtual void ZDK::IAccountEventsHandler::OnAccountRetryingRegistration |
( |
ZDK::Shared::Account |
account, |
|
|
int |
isRetrying, |
|
|
int |
inSeconds |
|
) |
| |
|
pure virtual |
Notify upon Account is retrying registration.
Registration or unregistration is going to be retried automatically
- Parameters
-
[in] | account | Account object of the account which registration is retrying |
[in] | isRetrying | Gives information if the event is register or unregister 1 = registering, 0 = unregistering |
[in] | inSeconds | The (un)registration will be retried in this many seconds approximately (the event could have been in the queue for unknown period already) |
- See also
- IAccount
◆ OnAccountStatusChanged()
virtual void ZDK::IAccountEventsHandler::OnAccountStatusChanged |
( |
ZDK::Shared::Account |
account, |
|
|
ZDK::AccountStatus |
status, |
|
|
int |
statusCode |
|
) |
| |
|
pure virtual |
Notify upon Account status is changed.
Notify upon Account status is changed, provide which account and the status it is changed to.
- Parameters
-
[in] | account | The account which status is changed |
[in] | status | What status the account is changed to |
[in] | statusCode | The status representation as integer |
- See also
- IAccount , IAccountStatus
◆ OnAccountUserSipOutboundMissing()
virtual void ZDK::IAccountEventsHandler::OnAccountUserSipOutboundMissing |
( |
ZDK::Shared::Account |
account | ) |
|
|
pure virtual |
Warning for missing SIP Outbound support at the server.
Happens when there is a SIP account with SIP Outbound enabled but the server rejects the registrations with the error code 439, usually with the text "First Hop Lacks Outbound Support".
The full error information is passed in the registration error failure as usual. This event is pushed immediately after the registration failure event.
The library will NOT alter its configuration automatically but if this behavior is desired the API user can just do the needed reconfiguration in this callback and issue a new RegisterUser() request afterwards for immediate retry.
- Parameters
-
[in] | account | The user which got the registration error |
- See also
- IAccount, IExtendedError
The documentation for this class was generated from the following file: