package com.tofly.ghrq_route.module.uploadPhoto.service;


import android.content.Context;

import com.tofly.ghrq_route.module.trouble.domain.TroubleAudioBean;
import com.tofly.ghrq_route.module.trouble.domain.TroublePictureBean;
import com.tofly.ghrq_route.module.uploadPhoto.controller.UploadPhotoCallBack;
import com.tofly.ghrq_route.module.uploadPhoto.domain.UploadPhotoBean;

import java.util.List;

/**
 * Created by Amu on 2017/4/13.
 */

public interface IUploadPhotoService {

    /**
     *  照片上传图片和音频
     */
    public void addUploadPhotoPhoto(String token, String photoId, String file, int pictype, int second, String time,UploadPhotoCallBack uploadPhotoCallBack);

    /**
     *  增加图片上传新接口，支持同时上传隐患信息，图片和语音
     */
    public void addUploadPhotoNew(String token, UploadPhotoBean photoBean, List<TroublePictureBean> photos, List<TroubleAudioBean> audios, UploadPhotoCallBack uploadPhotoCallBack);

    /**
     *  获取图片上传历史
     */
    public void getReportedPhoto(Context context, String picTypeId, String departId, String userId, int pageindex, int pagesize, UploadPhotoCallBack uploadPhotoCallBack);
}
