Android SDK Version


public class AppCall
com.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
Modifier and TypeFieldDescription
private static AppCallcurrentPendingCall
private UUIDcallId
private IntentrequestIntent
private intrequestCode
Constructor Summary
ConstructorDescription
AppCall(int requestCode)Constructor.
AppCall(int requestCode, UUID callId)Constructor
Method Summary
Modifier and TypeMethodDescription
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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 call
callId - the call Id for this app call
Method Detail

getCurrentPendingCall

 static AppCallgetCurrentPendingCall()

setCurrentPendingCall

 static synchronized boolean setCurrentPendingCall(AppCall appCall)

getCallId

UUIDgetCallId()
Returns the unique ID of this call to the Facebook application.

getRequestIntent

IntentgetRequestIntent()
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 AppCallfinishPendingCall(UUID callId, int requestCode)

setPending

 boolean setPending()