|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.facebook.Session.Builder
public static final class Session.Builder
Builder class used to create a Session.
Constructor Summary | |
---|---|
Session.Builder(Context context)
Constructs a new Builder associated with the context. |
Method Summary | |
---|---|
Session |
build()
Build the Session. |
Session.Builder |
setApplicationId(String applicationId)
Sets the application id for the Session. |
Session.Builder |
setTokenCachingStrategy(TokenCachingStrategy tokenCachingStrategy)
Sets the TokenCachingStrategy for the Session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Session.Builder(Context context)
context
- the Activity or Service starting the SessionMethod Detail |
---|
public Session.Builder setApplicationId(String applicationId)
applicationId
- the application id
public Session.Builder setTokenCachingStrategy(TokenCachingStrategy tokenCachingStrategy)
tokenCachingStrategy
- the token cache to use
public Session build()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |