Session.Builder
Diese Klasse ist in der neuesten Version des SDKs nicht mehr verfügbar.

Builder class used to create a Session.

Erweiterungen:Object
Package:facebook
Konstruktoren
Session.Builder(Context)

Constructs a new Builder associated with the context.

public Session.Builder(Context context)
ParameterBeschreibung
contextThe Activity or Service starting the Session
Instance-Methoden
setApplicationId(String)

Sets the application id for the Session.

public Builder setApplicationId(String applicationId)
ParameterBeschreibung
applicationIdThe application id
Returns
The Builder instance
setTokenCachingStrategy(TokenCachingStrategy)

Sets the TokenCachingStrategy for the Session.

public Builder setTokenCachingStrategy(TokenCachingStrategy tokenCachingStrategy)
ParameterBeschreibung
tokenCachingStrategyThe token cache to use
Returns
The Builder instance
build()

Build the Session.

public Session build()
Returns
A new Session