SharedPreferencesTokenCachingStrategy
Cette classe n’est plus disponible dans la version la plus récente du SDK.
Prolonge :TokenCachingStrategy
Package :facebook
Constructeurs
SharedPreferencesTokenCachingStrategy(Context)

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

public SharedPreferencesTokenCachingStrategy(Context context)
ParamètreDescription
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)
ParamètreDescription
contextThe Context object to use to get the SharedPreferences object.
cacheKeyIdentifies a distinct set of token information.