Agora RTC Objective-C API Reference Refactor

AgoraMediaMetadataDelegate.h
Go to the documentation of this file.
1 //
2 // AgoraRtcEngineKit.h
3 // AgoraRtcEngineKit
4 //
5 // Copyright (c) 2018 Agora. All rights reserved.
6 //
7
8 #import <Foundation/Foundation.h>
9 #import "AgoraObjects.h"
10
14 @protocol AgoraMediaMetadataDelegate <NSObject>
15 @required
16
21 - (void)didMetadataReceived:(AgoraMetadata * _Nonnull)metadata NS_SWIFT_NAME(didMetadataReceived(_:));
22
23 @optional
24 /* Unavailable Delegate Methods */
25 #if TARGET_OS_IPHONE
26 - (void)receiveMetadata:(NSData * _Nonnull)data fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp NS_SWIFT_NAME(receiveMetadata(_:fromUser:atTimestamp:)) __attribute__((availability(ios,deprecated=7_0,message="Use didMetadataReceived: instead.")));
27 #endif
28 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
29 - (void)receiveMetadata:(NSData * _Nonnull)data fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp NS_SWIFT_NAME(receiveMetadata(_:fromUser:atTimestamp:)) __attribute__((availability(macos,deprecated=10_9,message="Use didMetadataReceived: instead.")));
30 #endif
31 @end
AgoraMetadata
Definition: AgoraObjects.h:3752
AgoraObjects.h
AgoraMediaMetadataDelegate-p
Definition: AgoraMediaMetadataDelegate.h:14