zdk.objc
ZDKCallsProvider.h
1//
2// ZDKCallsProvider.h
3// ZDK
4//
5
6#ifndef ZDKCallsProvider_h
7#define ZDKCallsProvider_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKCall.h"
11#import "ZDKActiveCallChange.h"
12#import "ZDKCallsProviderEventsHandler.h"
13#import "ZDKZHandle.h"
14#import "ZDKCall.h"
15@protocol ZDKCall;
16#import "ZDKCallsProviderEventsHandler.h"
18
19NS_ASSUME_NONNULL_BEGIN
20
24
31@property(nonatomic, readonly) id<ZDKCall> _Nullable activeCall;
32
39@property(nonatomic, readonly) NSArray<id<ZDKCall>>* calls;
40
45@property(nonatomic, readonly) int callsCount;
46
56-(void)setActiveCall:(id<ZDKCall> _Nullable)call callChange:(ZDKActiveCallChange)callChange ;
68-(id<ZDKCall>)createCallWithDefaultAccount:(NSString*)calleeNumber video:(BOOL)video ;
77-(void)addActiveCallListener:(id<ZDKCallsProviderEventsHandler>)value ;
86-(void)dropActiveCallListener:(id<ZDKCallsProviderEventsHandler>)value ;
87-(NSString*)handlesDescription;
88
89@end
90
91NS_ASSUME_NONNULL_END
92
93#endif
Definition: ZDKCall.h:44
Active calls information provider.
Definition: ZDKCallsProvider.h:23
id< ZDKCall > _Nullable activeCall
Gets the currently active call.
Definition: ZDKCallsProvider.h:31
NSArray< id< ZDKCall > > * calls
Gets a list with all calls.
Definition: ZDKCallsProvider.h:39
int callsCount
Gets the count of all calls.
Definition: ZDKCallsProvider.h:45
Definition: ZDKCallsProviderEventsHandler.h:20
Definition: ZDKZHandle.h:13