java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.hvt.horizonSDK.HVTView.FillMode |
Enum indicating how the video preview is displayed within HVTView's bounds.
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
|
This preserves the aspect ratio, but fills the available screen area, cropping the video when necessary.
This preserves the aspect ratio, leaving black bars where the video does not fill the available screen area.