package com.secspace.lib.common.net;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.liulishuo.okdownload.DownloadTask;
import com.liulishuo.okdownload.SpeedCalculator;
import com.liulishuo.okdownload.core.breakpoint.BlockInfo;
import com.liulishuo.okdownload.core.breakpoint.BreakpointInfo;
import com.liulishuo.okdownload.core.cause.EndCause;
import com.liulishuo.okdownload.core.listener.DownloadListener4WithSpeed;
import com.liulishuo.okdownload.core.listener.assist.Listener4SpeedAssistExtend;

import java.util.List;
import java.util.Map;

/**
 * Created by bxy on 2018/6/13.
 */

public class SimpleDownloadListener4WithSpeed extends DownloadListener4WithSpeed{
    @Override
    public void taskStart(@NonNull DownloadTask downloadTask) {

    }

    @Override
    public void connectStart(@NonNull DownloadTask downloadTask, int i, @NonNull Map<String, List<String>> map) {

    }

    @Override
    public void connectEnd(@NonNull DownloadTask downloadTask, int i, int i1, @NonNull Map<String, List<String>> map) {

    }

    @Override
    public void infoReady(@NonNull DownloadTask downloadTask, @NonNull BreakpointInfo breakpointInfo, boolean b, @NonNull Listener4SpeedAssistExtend.Listener4SpeedModel listener4SpeedModel) {

    }

    @Override
    public void progressBlock(@NonNull DownloadTask downloadTask, int i, long l, @NonNull SpeedCalculator speedCalculator) {

    }

    @Override
    public void progress(@NonNull DownloadTask downloadTask, long l, @NonNull SpeedCalculator speedCalculator) {

    }

    @Override
    public void blockEnd(@NonNull DownloadTask downloadTask, int i, BlockInfo blockInfo, @NonNull SpeedCalculator speedCalculator) {

    }

    @Override
    public void taskEnd(@NonNull DownloadTask downloadTask, @NonNull EndCause endCause, @Nullable Exception e, @NonNull SpeedCalculator speedCalculator) {

    }
}
