Agora RTC Objective-C API Reference Refactor

AgoraMetaScene Class Reference

Inherits <NSObject>.

## Method Documentation

## ◆ destroy

- (NSInteger) destroy |  |  |

## ◆ getLocalUserAvatar

- (AgoraMetaLocalUserAvatar *_Nullable) getLocalUserAvatar |  |  |

## ◆ createRenderView:

- (UIView *_Nullable) createRenderView: |  | (CGRect) | frame |

## ◆ enterScene:

- (NSInteger) enterScene: |  | (AgoraMetaEnterSceneConfig *_Nonnull) | config |

## ◆ leaveScene

- (NSInteger) leaveScene |  |  |

## ◆ sendSceneMessage:

- (NSInteger) sendSceneMessage: |  | (NSData *_Nonnull) | message |

## ◆ setSceneParameters:

- (NSInteger) setSceneParameters: |  | (NSString *_Nonnull) | jsonParam |

## ◆ enableVideoDisplay:enable:

- (NSInteger) enableVideoDisplay: |  | (NSString *_Nonnull) | displayId
enable: |  | (BOOL) | enable

## ◆ pushVideoFrameToDisplay:frame:

- (NSInteger) pushVideoFrameToDisplay: |  | (NSString *_Nonnull) | displayId
frame: |  | (AgoraVideoFrame *_Nullable) | frame

## ◆ enableSceneVideoCapture:enable:

- (NSInteger) enableSceneVideoCapture: |  | (UIView *_Nonnull) | view
enable: |  | (BOOL) | enable

## ◆ addSceneView:sceneDisplayConfig:

- (NSInteger) addSceneView: |  | (UIView *_Nonnull) | view
sceneDisplayConfig: |  | (AgoraMetaSceneDisplayConfig *_Nullable) | config

## ◆ removeSceneView:

- (NSInteger) removeSceneView: |  | (UIView *_Nonnull) | view |

## ◆ enableFaceCapture:

- (NSInteger) enableFaceCapture: |  | (BOOL) | enable |