ScaleType
enum
The ScaleType enum lets you select how you want to display a video stream in the VideoView area.
Values
-
fill
→ const ScaleType
-
Modifies the hight and width of a video stream to match the VideoView area.
ScaleType('SCALE_TYPE_FILL')
-
fit
→ const ScaleType
-
Scales a video stream to fit the VideoView area but keeping the video aspect ratio.
ScaleType('SCALE_TYPE_FIT')
Properties
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
index
→ int
-
A numeric identifier for the enumerated value.
read-onlyinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Constants
-
values
→ const List<ScaleType>
-
A constant List of the values in this enum, in order of their declaration.
[fill, fit]