9#import <Foundation/Foundation.h>
10#import "ZDKAccountConfig.h"
11#import "ZDKAccountStatus.h"
12#import "ZDKAudioVideoCodecs.h"
13#import "ZDKAccountEventsHandler.h"
14#import "ZDKMessageType.h"
15#import "ZDKContactStateType.h"
17#import "ZDKSIPProbeEventsHandler.h"
18#import "ZDKSecureUserConfigType.h"
22#import "ZDKAccountConfig.h"
24#import "ZDKAccountEventsHandler.h"
28#import "ZDKSIPProbeEventsHandler.h"
35NS_ASSUME_NONNULL_BEGIN
90@property(nonatomic, readonly)
int actualRegistrationExpiry;
175-(id<
ZDKCall> _Nullable)createCall:(NSString*)calleeNumber handlingVoipPhoneCallEvents:(BOOL)handlingVoipPhoneCallEvents video:(BOOL)video ;
193-(id<
ZDKMessage>)createMessage:(ZDKMessageType)type ;
204-(id<
ZDKResult>)chatSessionEnd:(NSString*)pPeer ;
217-(id<
ZDKResult>)setPresenceStatus:(ZDKContactStateType)status message:(NSString* _Nullable)message ;
218-(id<
ZDKResult>)stopPushAndUnregister:(BOOL)shouldRegister ;
244-(NSString*)generateUUID:(BOOL)noPrefix bufLen:(
int)bufLen ;
325-(id<
ZDKResult>)probeSipTransport:(NSString*)domain outboundProxy:(NSString*)outboundProxy username:(NSString*)username authUsername:(NSString*)authUsername password:(NSString*)password ;
374-(id<
ZDKResult>)setTlsConfig:(ZDKSecureUserConfigType)userConf fileName:(NSString*)fileName passPhrase:(NSString* _Nullable)passPhrase ;
375-(NSString*)handlesDescription;
The main account class.
Definition: ZDKAccount.h:39
id< ZDKResult > createUser()
Creates a new user account.
void clearMediaCodecs()
Clears the account's codec list.
NSArray * getActiveCalls()
Gets a list with all account's active/ongoing calls.
id< ZDKResult > terminateConnection()
Terminates user's TCP-based connection.
long int accountID
Gets the ID of the account.
Definition: ZDKAccount.h:63
id< ZDKResult > removeUser()
Destroys an user account object.
long int userHandle
Gets the underlying user handler ID.
Definition: ZDKAccount.h:47
NSString *_Nullable accountName
Configures the account name.
Definition: ZDKAccount.h:69
id< ZDKAccountConfig > configuration
Sets the account configuration.
Definition: ZDKAccount.h:57
ZDKAccountStatus registrationStatus
Gets the current account registration status.
Definition: ZDKAccount.h:77
id< ZDKResult > replaceUserRegistration()
Replace user registration.
NSArray< NSNumber * > * mediaCodecs
Configures the account's codecs allowed to be used.
Definition: ZDKAccount.h:88
id< ZDKResult > registerAccount()
Registers the user to the configured service.
id< ZDKResult > unRegister()
Cancels registration and/or unregisters the user.
General account configuration.
Definition: ZDKAccountConfig.h:28
Definition: ZDKAccountEventsHandler.h:27
Definition: ZDKMessage.h:21
API invocation status result.
Definition: ZDKResult.h:19
Definition: ZDKSIPProbeEventsHandler.h:22
Definition: ZDKZHandle.h:13