im.zego.zegoexpress.constants.ZegoViewMode

视频渲染模式

Declared in constants/ZegoViewMode.java

Public Attrib Lists

  • ASPECT_FIT - 等比缩放,可能有黑边
  • ASPECT_FILL - 等比缩放填充整个 View,可能有部分被裁减
  • SCALE_TO_FILL - 填充整个 View,图像可能被拉伸

Public Func Lists

Public Static Func Lists

Public Attrib Docs

ASPECT_FIT

public ASPECT_FIT ()

Initial: ASPECT_FIT =(0)

等比缩放,可能有黑边

ASPECT_FILL

public ASPECT_FILL ()

Initial: ASPECT_FILL =(1)

等比缩放填充整个 View,可能有部分被裁减

SCALE_TO_FILL

public SCALE_TO_FILL ()

Initial: SCALE_TO_FILL =(2)

填充整个 View,图像可能被拉伸

Public Func Docs

value

public int value ()

Public Static Func Docs

getZegoViewMode

public ZegoViewMode getZegoViewMode (int value)