33 lines
721 B
Objective-C
33 lines
721 B
Objective-C
//
|
|
// MLVoIPProcessor.h
|
|
// Monal
|
|
//
|
|
// Created by admin on 03.07.22.
|
|
// Copyright © 2022 Monal.im. All rights reserved.
|
|
//
|
|
|
|
#ifndef MLVoIPProcessor_h
|
|
#define MLVoIPProcessor_h
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class CXCallController;
|
|
@class CXProvider;
|
|
@class MLCall;
|
|
@class MLContact;
|
|
typedef NS_ENUM(NSUInteger, MLCallType);
|
|
|
|
@interface MLVoIPProcessor : NSObject
|
|
-(MLCall*) initiateCallWithType:(MLCallType) callType toContact:(MLContact*) contact;
|
|
|
|
@property (nonatomic, readonly) NSUInteger pendingCallsCount;
|
|
-(NSDictionary<NSString*, MLCall*>*) getActiveCalls;
|
|
-(MLCall* _Nullable) getActiveCallWithContact:(MLContact*) contact;
|
|
|
|
-(void) voipRegistration;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif /* MLVoIPProcessor_h */
|