zdk.objc
ZDKAccountEventsHandler.h
1//
2// ZDKAccountEventsHandler.h
3// ZDK
4//
5
6#ifndef ZDKAccountEventsHandler_h
7#define ZDKAccountEventsHandler_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKAccount.h"
11#import "ZDKAccountStatus.h"
12#import "ZDKCall.h"
13#import "ZDKExtendedError.h"
14#import "ZDKOwnershipChange.h"
15#import "ZDKHeaderField.h"
16#import "ZDKNetworkType.h"
17#import "ZDKEventHandle.h"
18#import "ZDKAccount.h"
19@protocol ZDKAccount;
20#import "ZDKCall.h"
21@protocol ZDKCall;
22#import "ZDKExtendedError.h"
23@protocol ZDKExtendedError;
24
25NS_ASSUME_NONNULL_BEGIN
26
28
29@optional
30
41-(void)onAccount:(id<ZDKAccount>)account status:(ZDKAccountStatus)status changed:(int)statusCode ;
53-(void)onAccount:(id<ZDKAccount>)account retryingRegistration:(int)isRetrying inSeconds:(int)inSeconds ;
63-(void)onAccount:(id<ZDKAccount>)account incomingCall:(id<ZDKCall>)call ;
74-(void)onAccount:(id<ZDKAccount>)account chatMessageReceived:(NSString*)pPeer pContent:(NSString*)pContent ;
85-(void)onAccount:(id<ZDKAccount>)account extendedError:(id<ZDKExtendedError>)error ;
105-(void)onAccountuserSipOutboundMissing:(id<ZDKAccount>)account ;
118-(void)onAccount:(id<ZDKAccount>)account call:(id<ZDKCall>)call ownershipChanged:(ZDKOwnershipChange)action ;
138-(void)onAccount:(id<ZDKAccount>)account sipHeaderFields:(NSArray*)headerFields ;
146-(void)onStunNetworkDiscovered:(id<ZDKAccount>)account networkType:(ZDKNetworkType)networkType ;
147-(NSString*)handlesDescription;
148
149@end
150
151NS_ASSUME_NONNULL_END
152
153#endif
The main account class.
Definition: ZDKAccount.h:39
Definition: ZDKAccountEventsHandler.h:27
Definition: ZDKCall.h:44
Definition: ZDKEventHandle.h:13
Definition: ZDKExtendedError.h:16