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)
المعلمة | الوصف |
---|---|
context | The Activity or Service starting the Session |
setApplicationId(String)
Sets the application id for the Session.
public Builder setApplicationId(String applicationId)
المعلمة | الوصف |
---|---|
applicationId | The application id |
setTokenCachingStrategy(TokenCachingStrategy)
Sets the TokenCachingStrategy for the Session.
public Builder setTokenCachingStrategy(TokenCachingStrategy tokenCachingStrategy)
المعلمة | الوصف |
---|---|
tokenCachingStrategy | The token cache to use |
build()
Build the Session.
public Session build()