QualityHint

enum QualityHint

The quality hint (or preference) for a live view session.

  • Unspecified.

    Declaration

    Swift

    case unspecified
  • sd

    Standard Definition, typically one of 240p, 360p, 480p.

    Declaration

    Swift

    case sd
  • hd

    High Definition, typically 720p.

    Declaration

    Swift

    case hd
  • fhd

    Full High Definition, typically 1080p.

    Declaration

    Swift

    case fhd
  • qhd

    Quad High Definition, typically 1440p.

    Declaration

    Swift

    case qhd
  • uhd

    Ultra High Definition, typically 2160p.

    Declaration

    Swift

    case uhd
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.