ResolutionPreset enum

Affect the quality of video recording and image capture:

If a preset is not available on the camera being used a preset of lower quality will be selected automatically.


high → const ResolutionPreset

720p (1280x720)

const ResolutionPreset(2)
low → const ResolutionPreset

352x288 on iOS, 240p (320x240) on Android

const ResolutionPreset(0)
max → const ResolutionPreset

The highest resolution available.

const ResolutionPreset(5)
medium → const ResolutionPreset

480p (640x480 on iOS, 720x480 on Android)

const ResolutionPreset(1)
ultraHigh → const ResolutionPreset

2160p (3840x2160)

const ResolutionPreset(4)
values → const List<ResolutionPreset>

A constant List of the values in this enum, in order of their declaration.

const List<ResolutionPreset>
veryHigh → const ResolutionPreset

1080p (1920x1080)

const ResolutionPreset(3)


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]