Android SDK Version
  • java.lang.Object
    • com.facebook.appevents.ondeviceprocessing.RemoteServiceWrapper

public class RemoteServiceWrapper
extends java.lang.Object
Constructor Summary
Constructor and Description
RemoteServiceWrapper() 
Method Summary
Modifier and TypeMethod and Description
static booleanisServiceAvailable() 
static com.facebook.appevents.ondeviceprocessing.RemoteServiceWrapper.ServiceResultsendCustomEvents(java.lang.String applicationId, java.util.List<AppEvent> appEvents)
Synchronously sends custom app events to the remote service.
static com.facebook.appevents.ondeviceprocessing.RemoteServiceWrapper.ServiceResultsendInstallEvent(java.lang.String applicationId)
Synchronously sends install event to the remote service.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

RemoteServiceWrapper

public RemoteServiceWrapper()
Method Detail

sendInstallEvent

public static com.facebook.appevents.ondeviceprocessing.RemoteServiceWrapper.ServiceResult sendInstallEvent(java.lang.String applicationId)
Synchronously sends install event to the remote service. Do not call from the UI thread.

sendCustomEvents

public static com.facebook.appevents.ondeviceprocessing.RemoteServiceWrapper.ServiceResult sendCustomEvents(java.lang.String applicationId,
                                                                                                            java.util.List<AppEvent> appEvents)
Synchronously sends custom app events to the remote service. Do not call from the UI thread.

isServiceAvailable

public static boolean isServiceAvailable()