Agora Objective-C API Reference for iOS/macOS

AgoraRtcVideoCanvas Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

Properties of the video canvas object.

  view

The video display view.

@property (strong, nonatomic) VIEW_CLASS *view

Discussion

VIEW_CLASS is a general name for this property. See the following definitions for iOS and macOS:

  • iOS: UIView
  • MacOS: NSView

Declared In

AgoraObjects.h

  renderMode

Render mode of the view: AgoraVideoRenderMode

@property (assign, nonatomic) AgoraVideoRenderMode renderMode

Declared In

AgoraObjects.h

  uid

User ID of the view.

@property (assign, nonatomic) NSUInteger uid

Declared In

AgoraObjects.h

X
Is this page helpful?