Agora RTC Objective-C API Reference Refactor

AgoraMediaFilterEventDelegate.h
Go to the documentation of this file.
1 //
2 // AgoraMediaFilterEventDelegate.h
3 // Agora SDK
4 //
5 // Created by LLF on 2020-9-21.
6 // Copyright (c) 2020 Agora. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
14 @interface AgoraExtensionContext : NSObject
20 @property (assign, nonatomic) BOOL isValid;
25 @property (assign, nonatomic) NSUInteger uid;
29 @property (copy, nonatomic) NSString * _Nullable providerName;
33 @property (copy, nonatomic) NSString * _Nullable extensionName;
34 @end
35
36 @protocol AgoraMediaFilterEventDelegate <NSObject>
37 @optional
38 /* Meida filter(audio filter or video filter) event callback
39 */
40 - (void)onEventWithContext:(AgoraExtensionContext * _Nonnull)context
41 key:(NSString * _Nullable)key
42 value:(NSString * _Nullable)value NS_SWIFT_NAME(onEventWithContext(_:key:value:));
43
44 - (void)onExtensionStartedWithContext:(AgoraExtensionContext * _Nonnull)context NS_SWIFT_NAME(onExtensionStartedWithContext(_:));
45
46 - (void)onExtensionStoppedWithContext:(AgoraExtensionContext * _Nonnull)context NS_SWIFT_NAME(onExtensionStoppedWithContext(_:));
47
48 - (void)onExtensionErrorWithContext:(AgoraExtensionContext * _Nonnull)context
49 error:(int)error
50 message:(NSString * _Nullable)message NS_SWIFT_NAME(onExtensionErrorWithContext(_:error:message:));
51
52 @end
AgoraExtensionContext::providerName
NSString *_Nullable providerName
Definition: AgoraMediaFilterEventDelegate.h:29
AgoraExtensionContext::isValid
BOOL isValid
Definition: AgoraMediaFilterEventDelegate.h:20
AgoraExtensionContext
Definition: AgoraMediaFilterEventDelegate.h:15
AgoraExtensionContext::extensionName
NSString *_Nullable extensionName
Definition: AgoraMediaFilterEventDelegate.h:33
AgoraMediaFilterEventDelegate-p
Definition: AgoraMediaFilterEventDelegate.h:36
AgoraExtensionContext::uid
NSUInteger uid
Definition: AgoraMediaFilterEventDelegate.h:25