Session.Builder
Esta clase no está disponible en la última versión del SDK.

Builder class used to create a Session.

Hereda de:Object
Paquete:facebook
Constructores
Session.Builder(Context)

Constructs a new Builder associated with the context.

public Session.Builder(Context context)
ParámetroDescripción
contextThe Activity or Service starting the Session
Métodos de instancia
setApplicationId(String)

Sets the application id for the Session.

public Builder setApplicationId(String applicationId)
ParámetroDescripción
applicationIdThe application id
Returns
The Builder instance
setTokenCachingStrategy(TokenCachingStrategy)

Sets the TokenCachingStrategy for the Session.

public Builder setTokenCachingStrategy(TokenCachingStrategy tokenCachingStrategy)
ParámetroDescripción
tokenCachingStrategyThe token cache to use
Returns
The Builder instance
build()

Build the Session.

public Session build()
Returns
A new Session