CaptureSessionPreset enum

Inheritance

Constructors

CaptureSessionPreset(int value)
const

Values

UNKNOWN → const CaptureSessionPreset

Will be returned if getByValue if a non-existent was passed.

const CaptureSessionPreset(-1)
LOW → const CaptureSessionPreset

An AVCaptureSession preset suitable for low quality output.

const CaptureSessionPreset(0)
MEDIUM → const CaptureSessionPreset

An AVCaptureSession preset suitable for medium quality output.

const CaptureSessionPreset(1)
HIGH → const CaptureSessionPreset

An AVCaptureSession preset suitable for high quality video and audio output.

const CaptureSessionPreset(2)
PHOTO → const CaptureSessionPreset
const CaptureSessionPreset(3)
INPUT_PRIORITY → const CaptureSessionPreset

An AVCaptureSession preset indicating that the formats of the session's inputs are being given priority.

const CaptureSessionPreset(4)
PRESET_1280x720 → const CaptureSessionPreset

An AVCaptureSession preset suitable for 1280x720 video output.

const CaptureSessionPreset(6)
PRESET_1920x1080 → const CaptureSessionPreset

An AVCaptureSession preset suitable for 1920x1080 video output.

const CaptureSessionPreset(7)
PRESET_3840x2160 → const CaptureSessionPreset

An AVCaptureSession preset suitable for 3840x2160 (UHD 4K) video output.

const CaptureSessionPreset(8)
FRAME_960x540 → const CaptureSessionPreset

An AVCaptureSession preset producing 960x540 Apple iFrame video and audio content.

const CaptureSessionPreset(9)
FRAME_1280x720 → const CaptureSessionPreset

An AVCaptureSession preset producing 1280x720 Apple iFrame video and audio content.

const CaptureSessionPreset(10)
PRESET_640x480 → const CaptureSessionPreset

An AVCaptureSession preset suitable for 640x480 video output.

const CaptureSessionPreset(12)
PRESET_352x288 → const CaptureSessionPreset

An AVCaptureSession preset suitable for 352x288 video output.

const CaptureSessionPreset(13)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getByValue(int? i) CaptureSessionPreset?

Constants

values → const List<CaptureSessionPreset>
A constant List of the values in this enum, in order of their declaration.