package com.mytatvarnsdk.myView.dialog;


import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 用户显示当前弹框的类型
 * @author minyuchun
 */
@IntDef({
        DialogType.TYPE_DEFAULT,
        DialogType.TYPE_URGENT_LOW_NONE,
        DialogType.TYPE_LOW_POWER,
        DialogType.TYPE_MONITORING_END,
        DialogType.TYPE_ANOMALY_CURRENT,
        DialogType.TYPE_HYPERGLYCEMIA,
        DialogType.TYPE_HYPOGLYCEMIA,
        DialogType.TYPE_UNBIND,
        DialogType.TYPE_ANOMALY_CURRENT_INIT,
        DialogType.TYPE_HYPERGLYCEMIA_NONE,
        DialogType.TYPE_HYPOGLYCEMIA_NONE,
        DialogType.TYPE_GPS_SERVICE,
        DialogType.TYPE_ANOMALY_CURRENT_CONTINUE,
        DialogType.TYPE_BLUETOOTH_OFF,
        DialogType.TYPE_TRANSMITTER_UNBIND,
        DialogType.TYPE_SELECT_CONNECT,
        DialogType.TYPE_PERMISSION_REASON,
        DialogType.TYPE_QR_TIP,
        DialogType.TYPE_QR_RESULT,
        DialogType.TYPE_SCAN_CODE,
        DialogType.TYPE_STD_DETAIL,
        DialogType.POP_BT_OPEN,
        DialogType.TYPE_CAMERA_PERMISSION_FAIL,
        DialogType.TYPE_FOLLOW_INVITE
})
@Retention(RetentionPolicy.SOURCE)
public @interface DialogType {
    /**默认的警告类型*/
    public  int TYPE_DEFAULT = 0;
    /**低电量*/
    public  int TYPE_LOW_POWER = 1;
    /**检测周期结束*/
    public  int TYPE_MONITORING_END= 2;
    /**电流异常*/
    public  int TYPE_ANOMALY_CURRENT= 3;
    /**高血糖*/
    public  int TYPE_HYPERGLYCEMIA = 4;
    /**低血糖*/
    public  int TYPE_HYPOGLYCEMIA = 5;
    /**解除绑定成功*/
    public  int TYPE_UNBIND = 7;
    /**电流异常,初始化期间*/
    public  int TYPE_ANOMALY_CURRENT_INIT= 13;
    /**高血糖 - 报警状态为无*/
    public  int TYPE_HYPERGLYCEMIA_NONE = 14;
    /**低血糖 - 报警状态为无*/
    public  int TYPE_HYPOGLYCEMIA_NONE = 15;

    /**开启GPS服务弹窗*/
    public  int TYPE_GPS_SERVICE = 16;
    /**持续的电流异常*/
    public  int TYPE_ANOMALY_CURRENT_CONTINUE= 20;
    /**蓝牙关闭*/
    public  int TYPE_BLUETOOTH_OFF = 26;
    /**解除测试*/
    public  int TYPE_TRANSMITTER_UNBIND = 27;
    /**选择发射器连接*/
    public  int TYPE_SELECT_CONNECT = 29;
    //    2020-12-15
    /**二维码扫描申请*/
    public int TYPE_QR_TIP = 35;
    /**正确的扫描结果*/
    public int TYPE_QR_RESULT = 36;
    /**是否进行扫码*/
    public static final int TYPE_SCAN_CODE = 43;
    int TYPE_STD_DETAIL = 51;
    /**用户显示申请权限的原因*/
    public int TYPE_PERMISSION_REASON = 99;

    int POP_BT_OPEN = 52;

    int TYPE_FOLLOW_INVITE = 53;
    int TYPE_URGENT_LOW_NONE = 55;
    int TYPE_CAMERA_PERMISSION_FAIL = 56;
}
