LVViewContentMode Constants Reference

Declared in LVRTCEngineDefines.h

LVViewContentMode

本地预览视频视图的模式

Definition

typedef NS_OPTIONS(NSUInteger, LVViewContentMode ) {
   LVViewContentModeScaleAspectFit = 0,
   LVViewContentModeScaleAspectFill = 1,
   LVViewContentModeScaleToFill = 2,
};

Constants

LVViewContentModeScaleAspectFit
 等比缩放,可能有黑边(或白边)

Declared In LVRTCEngineDefines.h.

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

Declared In LVRTCEngineDefines.h.

LVViewContentModeScaleToFill
 填充整个View

Declared In LVRTCEngineDefines.h.

Declared In

LVRTCEngineDefines.h