zdk.net
|
Active calls information provider. More...
#include <CallsProvider.h>
Public Member Functions | |
CallsProvider (ZDK::Shared::CallsProvider src) | |
void | SetActiveCall (ZDK_NET::Call^ call, ZDK_NET::ActiveCallChange callChange) |
Sets the currently active call and specifies what to happen with all the rest calls (if any) More... | |
ZDK_NET::Call ^ | CreateCallWithDefaultAccount (System::String^ calleeNumber, bool video) |
Creates a call with the default account. More... | |
void | AddActiveCallListener (ZDK_NET::CallsProviderEventsHandler^ value) |
Adds a new calls provider event listener. More... | |
void | DropActiveCallListener (ZDK_NET::CallsProviderEventsHandler^ value) |
Removes a specific already added calls provider event listener. More... | |
virtual long long | Handle () override |
virtual void | Initialize () override |
virtual void | ReleaseReference () override |
Public Attributes | |
ZDK::ICallsProvider * | cppRef = nullptr |
Properties | |
ZDK_NET::Call^ | ActiveCall [get] |
Gets the currently active call. More... | |
List< Call^>^ | Calls [get] |
Gets a list with all calls. More... | |
int | CallsCount [get] |
Gets the count of all calls. More... | |
Active calls information provider.
void ZDK_NET::CallsProvider::AddActiveCallListener | ( | ZDK_NET::CallsProviderEventsHandler^ | value | ) |
Adds a new calls provider event listener.
All added listeners will be notified for each event.
[in] | value | The calls provider event listener to be added |
ZDK_NET::Call ^ ZDK_NET::CallsProvider::CreateCallWithDefaultAccount | ( | System::String^ | calleeNumber, |
bool | video | ||
) |
Creates a call with the default account.
Creates a call with the AccountProvider's DefaultAccount().
[in] | calleeNumber | The number to be dialed |
[in] | video | Indicator whether the call to have video or not |
void ZDK_NET::CallsProvider::DropActiveCallListener | ( | ZDK_NET::CallsProviderEventsHandler^ | value | ) |
Removes a specific already added calls provider event listener.
All added/left listeners will be notified for each event.
[in] | value | The calls provider event listener to be removed |
void ZDK_NET::CallsProvider::SetActiveCall | ( | ZDK_NET::Call^ | call, |
ZDK_NET::ActiveCallChange | callChange | ||
) |
Sets the currently active call and specifies what to happen with all the rest calls (if any)
NOTE!!! Does NOT change the new active call's state! It is up to the API user to decide what to do with it!
[in] | call | The currently active call |
[in] | callChange | The action to be taken for all of the rest calls (if any) |
|
get |
|
get |
|
get |
Gets the count of all calls.