another.im-ios/Monal/Classes/MLVoIPProcessor.h

33 lines
721 B
C
Raw Normal View History

2024-11-18 14:53:52 +00:00
//
// 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 */