main.com.wisetrack.sdk.IPackageHandler.kt Maven / Gradle / Ivy
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