Initial commit
This commit is contained in:
66
sources/com/ubt/jimu/course/contract/CourseListContract.java
Normal file
66
sources/com/ubt/jimu/course/contract/CourseListContract.java
Normal file
@@ -0,0 +1,66 @@
|
||||
package com.ubt.jimu.course.contract;
|
||||
|
||||
import com.ubt.jimu.base.download.DownloadTask;
|
||||
import com.ubt.jimu.base.entities.Package;
|
||||
import com.ubt.jimu.base.entities.Story;
|
||||
import com.ubt.jimu.course.repository.JimuCourse;
|
||||
import com.ubt.jimu.unity.bluetooth.ConnectionStatus;
|
||||
import com.ubtech.presenter.BasePresenter;
|
||||
import com.ubtech.view.BaseView;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface CourseListContract {
|
||||
|
||||
public interface Presenter extends BasePresenter {
|
||||
void cancelDownloadResource();
|
||||
|
||||
void downloadJimuCourse(JimuCourse jimuCourse);
|
||||
|
||||
void downloadStory();
|
||||
|
||||
void getARPack();
|
||||
|
||||
void getCourse(String str, String str2, String str3, long j, long j2);
|
||||
|
||||
void getExpeditionPack();
|
||||
}
|
||||
|
||||
public interface View extends BaseView<Presenter> {
|
||||
void downloadCourseFailed(JimuCourse jimuCourse);
|
||||
|
||||
void downloadCourseProgress(int i, int i2, int i3);
|
||||
|
||||
void downloadCourseStart();
|
||||
|
||||
void downloadCourseSuccess(JimuCourse jimuCourse);
|
||||
|
||||
void expeditionListFail();
|
||||
|
||||
void expeditionListStart();
|
||||
|
||||
void expeditionListSuccess(List<Package> list);
|
||||
|
||||
void loadArListFail();
|
||||
|
||||
void loadArListStart();
|
||||
|
||||
void loadArListSuccess(List<Package> list);
|
||||
|
||||
void onConnectionStatusChange(ConnectionStatus connectionStatus);
|
||||
|
||||
void onDownloadFail();
|
||||
|
||||
void onDownloadStart();
|
||||
|
||||
void onDownloadSuccess(Story story);
|
||||
|
||||
void onProgressChange(int i);
|
||||
|
||||
void showCourseList(List<JimuCourse> list);
|
||||
|
||||
void showCurrentTask(DownloadTask downloadTask);
|
||||
|
||||
void showException(Throwable th);
|
||||
}
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
package com.ubt.jimu.course.contract;
|
||||
|
||||
import com.ubt.jimu.course.repository.JimuCourseTask;
|
||||
import com.ubt.jimu.unity.bluetooth.ConnectionStatus;
|
||||
import com.ubtech.presenter.BasePresenter;
|
||||
import com.ubtech.view.BaseView;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface MissionListContract {
|
||||
|
||||
public interface Presenter extends BasePresenter {
|
||||
void getMissions(String str, String str2, long j, long j2, long j3, boolean z);
|
||||
|
||||
void updateMission(String str, long j, int i, String str2, long j2, long j3);
|
||||
}
|
||||
|
||||
public interface View extends BaseView<Presenter> {
|
||||
void onConnectionStatusChange(ConnectionStatus connectionStatus);
|
||||
|
||||
void showException(Throwable th);
|
||||
|
||||
void showMissions(List<JimuCourseTask> list, boolean z);
|
||||
|
||||
void showTitle(JimuCourseTask jimuCourseTask);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user