Agora RTC Objective-C API Reference Refactor

AgoraMetachatScene Class Reference

Inherits <NSObject>.

## Method Documentation

## ◆ destroy

- (NSInteger) destroy |  |  |

## ◆ getLocalUserAvatar

- (AgoraMetachatLocalUserAvatar *_Nullable) getLocalUserAvatar |  |  |

## ◆ createRenderView:region:

- (UIView<AgoraMetaViewProtocol> *_Nullable) createRenderView: |  | (AgoraMetachatVenderType) | venderType
region: |  | (CGRect) | region

## ◆ enterScene:

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

## ◆ leaveScene

- (NSInteger) leaveScene |  |  |

## ◆ sendMessageToScene:

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

## ◆ setSceneParameters:

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

## ◆ enableUserPositionNotification:

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

## ◆ enumerateVideoDisplays

- (NSInteger) enumerateVideoDisplays |  |  |

## ◆ enableVideoDisplay:enable:

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

## ◆ pushVideoFrameToDisplay:frame:

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