// Path: app/src/main/java/cn/ac/iscas/xlab/droidfacedog/mvp/BasePresenter.java
// public interface BasePresenter{
// 
//     void start();
// 
// }
// 
// Path: app/src/main/java/cn/ac/iscas/xlab/droidfacedog/mvp/BaseView.java
// public interface BaseView<T> {
//     void initView();
//     void setPresenter(T presenter);
// }


import android.graphics.Bitmap;
import android.os.Binder;
import android.support.annotation.NonNull;
import cn.ac.iscas.xlab.droidfacedog.mvp.BasePresenter;
import cn.ac.iscas.xlab.droidfacedog.mvp.BaseView;
package cn.ac.iscas.xlab.droidfacedog.mvp.interaction;



/**
 * Created by lisongting on 2017/8/7.
 */

public interface InteractionContract {

    interface Presenter extends BasePresenter{

        //说出用户名字，进行问候
        void greetToUser(String userId);

        //开始解说
        void startCommentary();

        void stopCommentary();

        //开启AI对话模式
        void startAiTalk();

        //关闭AI对话模式
        void stopAiTalk();

        //释放资源
        void releaseMemory();

        //进行人脸识别
        void recognizeUserFace(Bitmap bitmap);

        void setServiceProxy(@NonNull Binder binder);
    }


    interface View extends BaseView<Presenter>{

        void startAnimation();

        void stopAnimation();

        void startCamera();

        void stopCamera();

        void showRobotImg();

        void showTip(String str);

        void setWaveViewEnable(boolean enable);

        void setCommentaryButtonEnable(boolean enable);

// Path: app/src/main/java/cn/ac/iscas/xlab/droidfacedog/mvp/BasePresenter.java
// public interface BasePresenter{
// 
//     void start();
// 
// }
// 
// Path: app/src/main/java/cn/ac/iscas/xlab/droidfacedog/mvp/BaseView.java
// public interface BaseView<T> {
//     void initView();
//     void setPresenter(T presenter);
// }


// Path: app/src/main/java/cn/ac/iscas/xlab/droidfacedog/mvp/interaction/InteractionContract.java
import android.graphics.Bitmap;
import android.os.Binder;
import android.support.annotation.NonNull;
import cn.ac.iscas.xlab.droidfacedog.mvp.BasePresenter;
import cn.ac.iscas.xlab.droidfacedog.mvp.BaseView;

package cn.ac.iscas.xlab.droidfacedog.mvp.interaction;



/**
 * Created by lisongting on 2017/8/7.
 */

public interface InteractionContract {

    interface Presenter extends BasePresenter{

        //说出用户名字，进行问候
        void greetToUser(String userId);

        //开始解说
        void startCommentary();

        void stopCommentary();

        //开启AI对话模式
        void startAiTalk();

        //关闭AI对话模式
        void stopAiTalk();

        //释放资源
        void releaseMemory();

        //进行人脸识别
        void recognizeUserFace(Bitmap bitmap);

        void setServiceProxy(@NonNull Binder binder);
    }


    interface View extends BaseView<Presenter>{

        void startAnimation();

        void stopAnimation();

        void startCamera();

        void stopCamera();

        void showRobotImg();

        void showTip(String str);

        void setWaveViewEnable(boolean enable);

        void setCommentaryButtonEnable(boolean enable);

        void stopFaceDetectTask();