All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.facebook.ads.sdk.serverside.CustomEndpointRequest Maven / Gradle / Ivy

There is a newer version: 21.0.2
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy