AKFAccountPreferences
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

Accesses Account preferences that are stored on the Account Kit servers for the associated app and account.

Discussion:

Get an instance of this class through AKFAccountKit accountPreferences

Superclass:NSObject
Declared in:AKFAccountPreferences.h
ทรัพย์สิน
delegate

A delegate for the AKFAccountPreferences object.

@property (nonatomic, weak) id<AKFAccountPreferencesDelegate> delegate;
ให้คำรับรองไว้ใน: AKFAccountPreferences.h
วิธีการทันใจ
deletePreferenceForKey:

Deletes a single preference.

พารามิเตอร์คำอธิบาย
key

The key for the preference.

- (void) deletePreferenceForKey:(NSString *)key;
ให้คำรับรองไว้ใน: AKFAccountPreferences.h
loadPreferenceForKey:

Loads a single preference.

พารามิเตอร์คำอธิบาย
key

The key for the preference.

- (void) loadPreferenceForKey:(NSString *)key;
Discussion:

The loaded preference is sent to the delegate after it has loaded.

ให้คำรับรองไว้ใน: AKFAccountPreferences.h
loadPreferences

Loads all preferences.

- (void) loadPreferences;
Discussion:

The loaded preferences are sent to the delegate after they are loaded.

ให้คำรับรองไว้ใน: AKFAccountPreferences.h
setPreferenceForKey:value:

Writes a single preference.

พารามิเตอร์คำอธิบาย
key

The key for the preference.

value

The value for the preference.

- (void)
setPreferenceForKey: (NSString *)key
value: (nullable NSString *)value;
Discussion:

Setting a value of null will instead invoke deletePreferenceForKey:. Any existing value will be overwritten. Keys must be ASCII letters, digits or the underscore character and be 1-100 characters in length. Values must be 1-1000 characters in length.

ให้คำรับรองไว้ใน: AKFAccountPreferences.h