insufficientLighting
TypeScriptget insufficientLighting(): NIAlgorithmConvergenceStatus_ReasonSwift declarationstatic let insufficientLighting: NIAlgorithmConvergenceStatus.ReasonTell user to turn on the light.
struct · iOS 16.0+ · SDK 27.1
struct ReasonReasons for the convergence state. Multiple reasons may be present simultaenously.
get insufficientLighting(): NIAlgorithmConvergenceStatus_ReasonSwift declarationstatic let insufficientLighting: NIAlgorithmConvergenceStatus.ReasonTell user to turn on the light.
get insufficientMovement(): NIAlgorithmConvergenceStatus_ReasonSwift declarationstatic let insufficientMovement: NIAlgorithmConvergenceStatus.ReasonTell user to move around.
getLocalizedDescription($self: NIAlgorithmConvergenceStatus_Reason): (string) | nullSwift declarationvar localizedDescription: String? { get }get insufficientVerticalSweep(): NIAlgorithmConvergenceStatus_ReasonSwift declarationstatic let insufficientVerticalSweep: NIAlgorithmConvergenceStatus.ReasonTell user to sweep device verically up and down.
get insufficientSignalStrength(): NIAlgorithmConvergenceStatus_ReasonSwift declarationstatic let insufficientSignalStrength: NIAlgorithmConvergenceStatus.ReasonIndicate to the user that the devices might be too far apart.
get insufficientHorizontalSweep(): NIAlgorithmConvergenceStatus_ReasonSwift declarationstatic let insufficientHorizontalSweep: NIAlgorithmConvergenceStatus.ReasonTell user to sweep device horizontally from side to side.
init(rawValue: string): NIAlgorithmConvergenceStatus_ReasonSwift declarationinit(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" - Parameter rawValue: The raw value to use for the new instance.
getRawValue($self: NIAlgorithmConvergenceStatus_Reason): stringSwift declarationvar rawValue: StringThe 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"
setRawValue($self: NIAlgorithmConvergenceStatus_Reason, value: string): voidSwift declarationvar rawValue: StringThe 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"
No declarations were skipped in this snapshot.