WFCCallKitManager.h 734 B

123456789101112131415161718192021222324252627
  1. //
  2. // WFCCallKitManager.h
  3. // WildFireChat
  4. //
  5. // Created by Rain on 2022/4/25.
  6. // Copyright © 2022 WildFireChat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #if WFCU_SUPPORT_VOIP
  10. #import <WFChatClient/WFCChatClient.h>
  11. #import <WFAVEngineKit/WFAVEngineKit.h>
  12. #import <WebRTC/WebRTC.h>
  13. #import <CallKit/CallKit.h>
  14. #import <PushKit/PushKit.h>
  15. NS_ASSUME_NONNULL_BEGIN
  16. @interface WFCCallKitManager : NSObject <CXProviderDelegate>
  17. - (void)didReceiveCall:(WFAVCallSession *)session;
  18. - (void)didCallEnded:(WFAVCallEndReason)reason duration:(int)callDuration;
  19. - (void)didReceiveIncomingPushWithPayload:(PKPushPayload *)payload
  20. forType:(NSString *)type;
  21. @end
  22. NS_ASSUME_NONNULL_END
  23. #endif