public static final enum

HVTView.FillMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.hvt.horizonSDK.HVTView.FillMode

Class Overview

Enum indicating how the video preview is displayed within HVTView's bounds.

Summary

Enum Values
HVTView.FillMode  ASPECT_FILL  This preserves the aspect ratio, but fills the available screen area, cropping the video when necessary. 
HVTView.FillMode  ASPECT_FIT  This preserves the aspect ratio, leaving black bars where the video does not fill the available screen area. 
Public Methods
static HVTView.FillMode valueOf(String name)
final static FillMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable
From interface java.lang.constant.Constable

Enum Values

public static final HVTView.FillMode ASPECT_FILL

This preserves the aspect ratio, but fills the available screen area, cropping the video when necessary.

public static final HVTView.FillMode ASPECT_FIT

This preserves the aspect ratio, leaving black bars where the video does not fill the available screen area.

Public Methods

public static HVTView.FillMode valueOf (String name)

public static final FillMode[] values ()