AKFAccountPreferencesDelegate
有此級別的更新版本。前往查看 最新版本。

The delegate the receives messages from AKFAccountPreferences.

Extends Protocol:NSObject
Declared in:AKFAccountPreferences.h
執行個體方法
accountPreferences:didDeletePreferenceForKey:error:

Notifies the delegate that a single preference was deleted.

參數說明
accountPreferences

The AKFAccountPreferences instance that deleted the preference.

key

The key for the deleted preference.

error

The error if the preference could not be deleted.

- (void)
accountPreferences: (AKFAccountPreferences *)accountPreferences
didDeletePreferenceForKey: (NSString *)key
error: (nullable NSError *)error;
accountPreferences:didLoadPreferenceForKey:value:error:

Notifies the delegate that a single preference was loaded.

參數說明
accountPreferences

The AKFAccountPreferences instance that loaded the preference.

key

The key for the loaded preference.

value

The value for the loaded preference.

error

The error if the preference could not be loaded.

- (void)
accountPreferences: (AKFAccountPreferences *)accountPreferences
didLoadPreferenceForKey: (NSString *)key
value: (nullable NSString *)value
error: (nullable NSError *)error;
accountPreferences:didLoadPreferences:error:

Notifies the delegate that preferences were loaded.

參數說明
accountPreferences

The AKFAccountPreferences instance that loaded the preferences.

preferences

The dictionary of preferences.

error

The error if the preferences could not be loaded.

- (void)
accountPreferences: (AKFAccountPreferences *)accountPreferences
didLoadPreferences
nullable
NSDictionary
NSString
NSString
preferences
error: (nullable NSError *)error;
accountPreferences:didSetPreferenceForKey:value:error:

Notifies the delegate that a single preference was set.

參數說明
accountPreferences

The AKFAccountPreferences instance that set the preference.

key

The key for the set preference.

value

The value for the set preference.

error

The error if the preference could not be set.

- (void)
accountPreferences: (AKFAccountPreferences *)accountPreferences
didSetPreferenceForKey: (NSString *)key
value: (NSString *)value
error: (nullable NSError *)error;