AccountPreferences
คลาสนี้ไม่มีให้ใช้งานใน SDK เวอร์ชั่นล่าสุดอีกต่อไป

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

Get an instance of this class through AccountKit.getAccountPreferences()

แพ็คเกจ:accountkit
วิธีการแบบอินสแตนซ์
deletePreference(String, OnDeletePreferenceListener)

Deletes a single preference.

public void deletePreference(String key, OnDeletePreferenceListener listener)
พารามิเตอร์คำอธิบาย
keyThe key for the preference
listenerThe listener to be notified when the preference has been deleted
loadPreference(String, OnLoadPreferenceListener)

Loads a single preference.

public void loadPreference(String key, OnLoadPreferenceListener listener)
พารามิเตอร์คำอธิบาย
keyThe key for the preference
listenerThe listener to be notified when the preference has been loaded
loadPreferences(OnLoadPreferencesListener)

Loads all preferences.

public void loadPreferences(OnLoadPreferencesListener listener)
พารามิเตอร์คำอธิบาย
listenerThe listener to be notified when the preferences have been loaded
setPreference(String, String, OnSetPreferenceListener)

Writes a single preference.

public void setPreference(String key, String value, OnSetPreferenceListener listener)
พารามิเตอร์คำอธิบาย
keyThe key for the preference - must be ASCII letters, digits or the underscore character and be 1-100 characters in length
valueThe value for the preference - must be 1-1000 characters in length
listenerThe listener to be notified when the preference has been set