6 #ifndef ZDK_NET_BanafoEventsHandler_h
7 #define ZDK_NET_BanafoEventsHandler_h
9 #include "BanafoServiceState.h"
10 #include "BanafoRequestState.h"
11 #include "BanafoEventType.h"
12 #include "BanafoEventState.h"
13 #include "BanafoContactSearchCriteria.h"
14 #include "Pagination.h"
15 #include "BanafoContact.h"
16 #include "BanafoIntegration.h"
17 #include "BanafoProfile.h"
18 #include "TranscriptLanguage.h"
19 #include "EventHandle.h"
20 #include "PublicInterfaces.h"
21 #include "GeneralStatusEventListener.h"
25 ref class BanafoServiceState;
26 ref class BanafoRequestState;
27 ref class BanafoEventState;
28 ref class BanafoContactSearchCriteria;
30 ref class BanafoProfile;
40 public delegate
void OnServiceStateUnmanaged(ZDK::Shared::BanafoServiceState state);
52 public delegate
void OnRequestStateUnmanaged(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state);
64 public delegate
void OnEventStateUnmanaged(ZDK::BanafoEventType event, ZDK::Shared::BanafoEventState state);
79 public delegate
void OnContactListUnmanaged(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoContactSearchCriteria searchCriteria, ZDK::Shared::BanafoRequestState state, ZDK::Shared::Pagination pagination, ZDK::Shared::ItemList<ZDK::Shared::BanafoContact> contactsList);
92 public delegate
void OnIntegrationListUnmanaged(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::BanafoIntegration> integrationsList);
93 public delegate
void OnIntegrationList(
long long requestId,
ZDK_NET::BanafoRequestState^ state, List<BanafoIntegration^>^ integrationsList);
104 public delegate
void OnProfileUnmanaged(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoProfile profile);
117 public delegate
void OnTranscriptionLanguageListUnmanaged(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::TranscriptLanguage> languageList);
118 public delegate
void OnTranscriptionLanguageList(
long long requestId,
ZDK_NET::BanafoRequestState^ state, List<TranscriptLanguage^>^ languageList);
125 static OnServiceStateUnmanaged^ OnServiceStateManaged =
nullptr;
126 OnServiceState^ OnServiceState =
nullptr;
127 static OnRequestStateUnmanaged^ OnRequestStateManaged =
nullptr;
128 OnRequestState^ OnRequestState =
nullptr;
129 static OnEventStateUnmanaged^ OnEventStateManaged =
nullptr;
130 OnEventState^ OnEventState =
nullptr;
131 static OnContactListUnmanaged^ OnContactListManaged =
nullptr;
132 OnContactList^ OnContactList =
nullptr;
133 static OnIntegrationListUnmanaged^ OnIntegrationListManaged =
nullptr;
134 OnIntegrationList^ OnIntegrationList =
nullptr;
135 static OnProfileUnmanaged^ OnProfileManaged =
nullptr;
136 OnProfile^ OnProfile =
nullptr;
137 static OnTranscriptionLanguageListUnmanaged^ OnTranscriptionLanguageListManaged =
nullptr;
138 OnTranscriptionLanguageList^ OnTranscriptionLanguageList =
nullptr;
140 UnmanagedOnServiceStateUnmanaged GetOnServiceState();
141 void OnServiceStateUnmanagedStub(ZDK::Shared::BanafoServiceState state);
142 UnmanagedOnRequestStateUnmanaged GetOnRequestState();
143 void OnRequestStateUnmanagedStub(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state);
144 UnmanagedOnEventStateUnmanaged GetOnEventState();
145 void OnEventStateUnmanagedStub(ZDK::BanafoEventType event, ZDK::Shared::BanafoEventState state);
146 UnmanagedOnContactListUnmanaged GetOnContactList();
147 void OnContactListUnmanagedStub(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoContactSearchCriteria searchCriteria, ZDK::Shared::BanafoRequestState state, ZDK::Shared::Pagination pagination, ZDK::Shared::ItemList<ZDK::Shared::BanafoContact> contactsList);
148 UnmanagedOnIntegrationListUnmanaged GetOnIntegrationList();
149 void OnIntegrationListUnmanagedStub(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::BanafoIntegration> integrationsList);
150 UnmanagedOnProfileUnmanaged GetOnProfile();
151 void OnProfileUnmanagedStub(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoProfile profile);
152 UnmanagedOnTranscriptionLanguageListUnmanaged GetOnTranscriptionLanguageList();
153 void OnTranscriptionLanguageListUnmanagedStub(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::TranscriptLanguage> languageList);