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

main.com.wisetrack.sdk.IPackageHandler.kt Maven / Gradle / Ivy

There is a newer version: 1.5.3
Show newest version
package com.wisetrack.sdk

import android.content.Context
import com.wisetrack.sdk.network.IActivityPackageSender

/**
@author hamed (@hamed-hsb)
 * @since 09th October 2021
 */

interface IPackageHandler {
    fun init(
        activityHandler: IActivityHandler?,
        context: Context?,
        startsSending: Boolean,
        packageHandlerActivityPackageSender: IActivityPackageSender?
    )

    fun addPackage(activityPackage: ActivityPackage)

    fun sendFirstPackage()

    fun pauseSending()

    fun resumeSending()

    fun updatePackages(sessionParameters: SessionParameters?)

    fun flush()

    fun teardown()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy