FeatureStatus

public struct FeatureStatus

Model class that describes the content of a Capable notification (see Notification.Name.CapableFeatureStatusDidChange)

  • The feature type.

    Declaration

    Swift

    public private(set) var feature: CapableFeature {
      get
      }
  • The feature’s status: While most features can only have a status set to enabled or disabled, the ‘.largerText` feature offers the font scale set by the user.

    Declaration

    Swift

    public private(set) var statusString: String {
      get
      }