-
public class AppCallcom.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
-
-
Field Summary
Fields Modifier and Type Field Description private static AppCallcurrentPendingCallprivate UUIDcallIdprivate IntentrequestIntentprivate intrequestCode
-
Method Summary
Modifier and Type Method Description static AppCallgetCurrentPendingCall()static synchronized booleansetCurrentPendingCall(AppCall appCall)UUIDgetCallId()Returns the unique ID of this call to the Facebook application. IntentgetRequestIntent()Returns the Intent that was used to initiate this call to the Facebook application. voidsetRequestIntent(Intent requestIntent)intgetRequestCode()Gets the request code for this call. voidsetRequestCode(int requestCode)static synchronized AppCallfinishPendingCall(UUID callId, int requestCode)booleansetPending()-
-
Constructor Detail
-
AppCall
AppCall(int requestCode)
Constructor.- Parameters:
requestCode- the request code for this app call
-
AppCall
AppCall(int requestCode, UUID callId)
Constructor- Parameters:
requestCode- the request code for this app callcallId- the call Id for this app call
-
-
Method Detail
-
getCurrentPendingCall
static AppCall getCurrentPendingCall()
-
setCurrentPendingCall
static synchronized boolean setCurrentPendingCall(AppCall appCall)
-
getRequestIntent
Intent getRequestIntent()
Returns the Intent that was used to initiate this call to the Facebook application.
-
setRequestIntent
void setRequestIntent(Intent requestIntent)
-
getRequestCode
int getRequestCode()
Gets the request code for this call.
-
setRequestCode
void setRequestCode(int requestCode)
-
finishPendingCall
static synchronized AppCall finishPendingCall(UUID callId, int requestCode)
-
setPending
boolean setPending()
-
-
-
-