Android SDK Version
All Implemented Interfaces:
android.content.ServiceConnection


public abstract class PlatformServiceClient
 implements ServiceConnection
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.
Nested Class Summary
Modifier and TypeClassDescription
public interfacePlatformServiceClient.CompletedListener
Constructor Summary
ConstructorDescription
PlatformServiceClient(Context context, int requestMessage, int replyMessage, int protocolVersion, String applicationId)
Method Summary
Modifier and TypeMethodDescription
voidsetCompletedListener(PlatformServiceClient.CompletedListener listener)
booleanstart()
voidcancel()
voidonServiceConnected(ComponentName name, IBinder service)
voidonServiceDisconnected(ComponentName name)
Methods inherited from class android.content.ServiceConnection
onBindingDied, onNullBinding, onServiceConnected, onServiceDisconnected
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

PlatformServiceClient

PlatformServiceClient(Context context, int requestMessage, int replyMessage, int protocolVersion, String applicationId)
Method Detail

start

 boolean start()

cancel

 void cancel()

onServiceConnected

 void onServiceConnected(ComponentName name, IBinder service)

onServiceDisconnected

 void onServiceDisconnected(ComponentName name)