EncoderPreference enum Null safety

编码策略偏好

Constants

balance → const EncoderPreference

平衡质量与帧率

const EncoderPreference(3)
disable → const EncoderPreference

无偏好

const EncoderPreference(0)
maintainFrameRate → const EncoderPreference

帧率优先

const EncoderPreference(1)
maintainQuality → const EncoderPreference

质量优先

const EncoderPreference(2)
values → const List<EncoderPreference>

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

const List<EncoderPreference>

Properties

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

The integer index of this enum.

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

Methods

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

Operators

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