ZEGO::EXPRESS::ZegoCanvas

View object.

Declared in ZegoExpressDefines.h

Includes

Public-Attrib Lists

  • view - View object.
  • viewMode - View mode, default is ZegoViewModeAspectFit.
  • backgroundColor - Background color, the format is 0xRRGGBB, default is black, which is 0x000000.

Public-Func Lists

Public-Attrib Docs

view

public void * view ()

View object.

viewMode

public ZegoViewMode viewMode ()

View mode, default is ZegoViewModeAspectFit.

backgroundColor

public int backgroundColor ()

Background color, the format is 0xRRGGBB, default is black, which is 0x000000.

Public-Func Docs

ZegoCanvas

public ZegoCanvas (void * view, ZegoViewMode viewMode, int backgroundColor)