com.facebook.ads.sdk.serverside.CustomEndpointRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of facebook-java-business-sdk Show documentation
Show all versions of facebook-java-business-sdk Show documentation
Facebook Business Solutions SDK for Java
package com.facebook.ads.sdk.serverside;
import com.facebook.ads.sdk.APIContext;
import com.facebook.ads.sdk.APIException;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.List;
public interface CustomEndpointRequest {
public CustomEndpointResponse sendEvent(APIContext context, String pixelId, List data) throws APIException.FailedRequestException;
public ListenableFuture sendEventAsync(APIContext context, String pixelId, List Data);
public void setFilter(Filter filter);
public void setSendToEndpointOnly(boolean sendToEndpointOnly);
public boolean isSendToEndpointOnly();
public String getEndpoint();
interface Filter {
public boolean shouldSendEvent(Event a);
}
}