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;
24 @property (assign, nonatomic) NSUInteger uid;
28 @property (copy, nonatomic) NSString * _Nullable providerName;
32 @property (copy, nonatomic) NSString * _Nullable extensionName;
33 @end
34
35 @protocol AgoraMediaFilterEventDelegate <NSObject>
36 @optional
48 - (void)onEventWithContext:(AgoraExtensionContext * _Nonnull)context
49 key:(NSString * _Nullable)key
50 value:(NSString * _Nullable)value NS_SWIFT_NAME(onEventWithContext(_:key:value:));
51
61 - (void)onExtensionStartedWithContext:(AgoraExtensionContext * _Nonnull)context NS_SWIFT_NAME(onExtensionStartedWithContext(_:));
62
72 - (void)onExtensionStoppedWithContext:(AgoraExtensionContext * _Nonnull)context NS_SWIFT_NAME(onExtensionStoppedWithContext(_:));
73
88 - (void)onExtensionErrorWithContext:(AgoraExtensionContext * _Nonnull)context
89 error:(int)error
90 message:(NSString * _Nullable)message NS_SWIFT_NAME(onExtensionErrorWithContext(_:error:message:));
91
92 @end
AgoraExtensionContext::providerName
NSString *_Nullable providerName
Definition: AgoraMediaFilterEventDelegate.h:28
AgoraExtensionContext::isValid
BOOL isValid
Definition: AgoraMediaFilterEventDelegate.h:20
AgoraExtensionContext
The context information of the extension.
Definition: AgoraMediaFilterEventDelegate.h:15
AgoraExtensionContext::extensionName
NSString *_Nullable extensionName
Definition: AgoraMediaFilterEventDelegate.h:32
AgoraMediaFilterEventDelegate-p
Definition: AgoraMediaFilterEventDelegate.h:35
AgoraExtensionContext::uid
NSUInteger uid
Definition: AgoraMediaFilterEventDelegate.h:24