Commit 0c3cf63d by Daniel Dahan

added focus and exposure detection

parent 21677715
......@@ -191,6 +191,20 @@ public class CaptureSession : NSObject {
}
}
/**
:name: isFocusModeSupported
*/
public func isFocusModeSupported(focusMode: AVCaptureFocusMode) -> Bool {
return videoDevice.isFocusModeSupported(focusMode)
}
/**
:name: isExposureModeSupported
*/
public func isExposureModeSupported(exposureMode: AVCaptureExposureMode) -> Bool {
return videoDevice.isExposureModeSupported(exposureMode)
}
//
// :name: prepareSession
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment