Cephei — Types/Constants

  • This notification is posted when a change is made to a registered preferences identifier. The notification object is the associated HBPreferences object.

    Declaration

    Objective-C

    extern NSString *const _Nonnull HBPreferencesDidChangeNotification

    Swift

    static let HBPreferencesDidChange: NSNotification.Name
  • Name of an exception that occurs when attempting to set preferences from a process not running as the mobile user.

    Declaration

    Objective-C

    extern NSString *const _Nonnull HBPreferencesNotMobileException

    Swift

    let HBPreferencesNotMobileException: String
  • Undocumented

    Declaration

    Objective-C

    typedef void (^HBPreferencesChangeCallback)(void)

    Swift

    typealias HBPreferencesChangeCallback = () -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void (^HBPreferencesValueChangeCallback)(NSString *key, id<NSCopying> _Nullable value)

    Swift

    typealias HBPreferencesValueChangeCallback = (String, NSCopying?) -> Void