Session.Builder
В последней версии SDK этот класс не доступен.

Builder class used to create a Session.

Расширение:Object
Пакет:facebook
Конструкторы
Session.Builder(Context)

Constructs a new Builder associated with the context.

public Session.Builder(Context context)
ПараметрОписание
contextThe Activity or Service starting the Session
Методы экземпляра
setApplicationId(String)

Sets the application id for the Session.

public Builder setApplicationId(String applicationId)
ПараметрОписание
applicationIdThe application id
Returns
The Builder instance
setTokenCachingStrategy(TokenCachingStrategy)

Sets the TokenCachingStrategy for the Session.

public Builder setTokenCachingStrategy(TokenCachingStrategy tokenCachingStrategy)
ПараметрОписание
tokenCachingStrategyThe token cache to use
Returns
The Builder instance
build()

Build the Session.

public Session build()
Returns
A new Session