TKWheelchairAccessibility

@objc
public enum TKWheelchairAccessibility : Int

Indicates accessibility of services, stops, footpaths for wheelchair users (also useful for prams, etc.)

  • Known to be accessible

    Declaration

    Swift

    case accessible
  • Known to not be accessible

    Declaration

    Swift

    case notAccessible
  • Unknown whether it’s accessible or not

    Declaration

    Swift

    case unknown
  • Localised title

    Declaration

    Swift

    public var title: String { get }
  • Merges two wheelchair accessibility values

    If either is known to be inaccessible, this will return .notAccessible. If both are known be accessible, this will return .accessible. Otherwise, if either is unknown, it’ll depends on the preferUnknown.

    Declaration

    Swift

    public func combine(with other: TKWheelchairAccessibility, preferUnknown: Bool = false) -> TKWheelchairAccessibility

    Parameters

    preferUnknown

    For something that is not known to inaccessible and either has an unknown status, this determines whether it should return .unknown or .accessible