MijickCamera/Sources/Public/Models/Public+Model+CameraUtilities.swift

45 lines
847 B
Swift
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Public+Model+CameraUtilities.swift of MijickCamera
//
// Created by Tomasz Kurylik. Sending from Kraków!
// - Mail: tomasz.kurylik@mijick.com
// - GitHub: https://github.com/FulcrumOne
// - Medium: https://medium.com/@mijick
//
// Copyright ©2024 Mijick. All rights reserved.
import SwiftUI
// MARK: Camera Output Type
public enum CameraOutputType: CaseIterable {
case photo
case video
}
// MARK: Camera Position
public enum CameraPosition: CaseIterable {
case back
case front
}
// MARK: Camera Flash Mode
public enum CameraFlashMode: CaseIterable {
case off
case on
case auto
}
// MARK: Camera Light Mode
public enum CameraLightMode: CaseIterable {
case off
case on
}
// MARK: Camera HDR Mode
public enum CameraHDRMode: CaseIterable {
case off
case on
case auto
}