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
23 - (void)didMetadataReceived:(AgoraMetadata * _Nonnull)metadata NS_SWIFT_NAME(didMetadataReceived(_:));
24
25 @optional
26 /* Unavailable Delegate Methods */
27 #if TARGET_OS_IPHONE
28 - (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.")));
29 #endif
30 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
31 - (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.")));
32 #endif
33 @end
AgoraMetadata
Media metadata.
Definition: AgoraObjects.h:4544
AgoraObjects.h
AgoraMediaMetadataDelegate-p
Definition: AgoraMediaMetadataDelegate.h:14