SharedPreferencesTokenCachingStrategy
最新版的 SDK 已不支持此类。
这个类有新版本。查看 最新版本。
扩展:TokenCachingStrategy
应用安装包:facebook
构造函数
SharedPreferencesTokenCachingStrategy(Context)

Creates a default SharedPreferencesTokenCachingStrategy instance that provides access to a single set of token information.

public SharedPreferencesTokenCachingStrategy(Context context)
参数描述
contextThe Context object to use to get the SharedPreferences object.
SharedPreferencesTokenCachingStrategy(Context, String)

Creates a SharedPreferencesTokenCachingStrategy instance that is distinct for the passed in cacheKey.

public SharedPreferencesTokenCachingStrategy(Context context, String cacheKey)
参数描述
contextThe Context object to use to get the SharedPreferences object.
cacheKeyIdentifies a distinct set of token information.