Options
All
  • Public
  • Public/Protected
  • All
Menu

View object.

Configure view object, view Mode, background color

Hierarchy

  • ZegoView

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • viewMode: ZegoViewMode
    • backgroundColor: number
    • reactTag: number

    Returns ZegoView

Properties

backgroundColor

backgroundColor: number

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

reactTag

reactTag: number

reactTag is a tag for native and js to identify each component, and each root view must have a unique reactTag.

viewMode

viewMode: ZegoViewMode

View mode, default is ZegoViewModeAspectFit

Generated using TypeDoc