Packagecom.diadraw.extensions.camera
Classpublic class CameraSettingsiOS
InheritanceCameraSettingsiOS Inheritance Object

A set of constants of valid resolutions on iOS. This class is static.



Public Constants
 ConstantDefined By
  Preset1280x720 : String = AVCaptureSessionPreset1280x720
[static] Suitable for 1280x720 video output.
CameraSettingsiOS
  Preset1920x1080 : String = AVCaptureSessionPreset1920x1080
[static] Suitable for 1920x1080 video output.
CameraSettingsiOS
  Preset352x288 : String = AVCaptureSessionPreset352x288
[static] Suitable for 352x288 video output.
CameraSettingsiOS
  Preset640x480 : String = AVCaptureSessionPreset640x480
[static] Suitable for 640x480 (VGA) video output.
CameraSettingsiOS
  PresetHigh : String = AVCaptureSessionPresetHigh
[static] Suitable for high quality video and audio output.
CameraSettingsiOS
  PresetiFrame1280x720 : String = AVCaptureSessionPresetiFrame1280x720
[static] Suitable for producing 1280x720 quality iFrame H.264 video at ~40 Mbits/sec with AAC audio.
CameraSettingsiOS
  PresetiFrame960x540 : String = AVCaptureSessionPresetiFrame960x540
[static] Suitable for producing 960x540 quality iFrame H.264 video at ~30 Mbits/sec with AAC audio.
CameraSettingsiOS
  PresetLow : String = AVCaptureSessionPresetLow
[static] Suitable for low quality output.
CameraSettingsiOS
  PresetMedium : String = AVCaptureSessionPresetMedium
[static] Suitable for medium quality output.
CameraSettingsiOS
  PresetPhoto : String = AVCaptureSessionPresetPhoto
[static] Suitable for high resolution photo quality output.
CameraSettingsiOS
Constant Detail
Preset1280x720Constant
public static const Preset1280x720:String = AVCaptureSessionPreset1280x720

Suitable for 1280x720 video output. Available from iOS 4.0 onwards.

Preset1920x1080Constant 
public static const Preset1920x1080:String = AVCaptureSessionPreset1920x1080

Suitable for 1920x1080 video output. Available from iOS 5.0 onwards.

Preset352x288Constant 
public static const Preset352x288:String = AVCaptureSessionPreset352x288

Suitable for 352x288 video output. Available from iOS 5.0 onwards.

Preset640x480Constant 
public static const Preset640x480:String = AVCaptureSessionPreset640x480

Suitable for 640x480 (VGA) video output. Available from iOS 4.0 onwards.

PresetHighConstant 
public static const PresetHigh:String = AVCaptureSessionPresetHigh

Suitable for high quality video and audio output. Available from iOS 4.0 onwards.

PresetiFrame1280x720Constant 
public static const PresetiFrame1280x720:String = AVCaptureSessionPresetiFrame1280x720

Suitable for producing 1280x720 quality iFrame H.264 video at ~40 Mbits/sec with AAC audio. QuickTime movies captured in iFrame format are optimal for editing applications. Available from iOS 5.0 onwards.

PresetiFrame960x540Constant 
public static const PresetiFrame960x540:String = AVCaptureSessionPresetiFrame960x540

Suitable for producing 960x540 quality iFrame H.264 video at ~30 Mbits/sec with AAC audio. QuickTime movies captured in iFrame format are optimal for editing applications. Available from iOS 5.0 onwards.

PresetLowConstant 
public static const PresetLow:String = AVCaptureSessionPresetLow

Suitable for low quality output. Available from iOS 4.0 onwards.

PresetMediumConstant 
public static const PresetMedium:String = AVCaptureSessionPresetMedium

Suitable for medium quality output. Available from iOS 4.0 onwards.

PresetPhotoConstant 
public static const PresetPhoto:String = AVCaptureSessionPresetPhoto

Suitable for high resolution photo quality output. Available from iOS 4.0 onwards.