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

io.adtrace.sdk.network.IActivityPackageSender Maven / Gradle / Ivy

There is a newer version: 2.6.1
Show newest version
package io.adtrace.sdk.network;

import java.util.Map;

import io.adtrace.sdk.ActivityPackage;
import io.adtrace.sdk.ResponseData;

/**
 * AdTrace android SDK (https://adtrace.io)
 * Created by Nasser Amini (github.com/namini40) on April 2022.
 * Notice: See LICENSE.txt for modification and distribution information
 *                   Copyright © 2022.
 */

public interface IActivityPackageSender {
    interface ResponseDataCallbackSubscriber {
        void onResponseDataCallback(ResponseData responseData);
    }

    void sendActivityPackage(ActivityPackage activityPackage,
                             Map sendingParameters,
                             ResponseDataCallbackSubscriber responseCallback);

    ResponseData sendActivityPackageSync(ActivityPackage activityPackage,
                             Map sendingParameters);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy