UnimplementedReason

struct UnimplementedReason
extension UnimplementedReason : CustomStringConvertible, Equatable, ExpressibleByExtendedGraphemeClusterLiteral, ExpressibleByStringLiteral, ExpressibleByUnicodeScalarLiteral, Hashable, RawRepresentable, Sendable, SendableMetatype

Reasons associated with UNIMPLEMENTED (Code 12).

  • The corresponding value of the raw type.

    A new instance initialized with rawValue will be equivalent to this instance. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    let selectedSize = PaperSize.Letter
    print(selectedSize.rawValue)
    // Prints "Letter"
    
    print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
    // Prints "true"
    

    Declaration

    Swift

    let rawValue: String
  • 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: String)

    Parameters

    rawValue

    The raw value to use for the new instance.

  • Creates an instance initialized to the given string value.

    Declaration

    Swift

    init(stringLiteral value: String)
  • A textual representation of this instance.

    Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(describing:) initializer. This initializer works with any type, and uses the custom description property for types that conform to CustomStringConvertible:

    struct Point: CustomStringConvertible {
        let x: Int, y: Int
    
        var description: String {
            return "(\(x), \(y))"
        }
    }
    
    let p = Point(x: 21, y: 30)
    let s = String(describing: p)
    print(s)
    // Prints "(21, 30)"
    

    The conversion of p to a string in the assignment to s uses the Point type’s description property.

    Declaration

    Swift

    var description: String { get }
  • Undocumented

    Declaration

    Swift

    static let actionNotAvailable: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let blockedDeprecated: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let clipLengthNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let deviceLocationEncryptedUseFmd: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let devicesRestrictedFromScheduling: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let discreteOnlyOpenClose: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let dispenseFractionalAmountNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let dispenseFractionalUnitNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let dispenseUnitNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let functionNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let genericDispenseNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let indefiniteTemperatureHoldNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let notSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let partnerDeprecated: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let remoteStreamingNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let streamingNotSupportedByCastTarget: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let temperatureHoldNotSupported: UnimplementedReason
  • Undocumented

    Declaration

    Swift

    static let unsupportedMsp: UnimplementedReason