package com.mytatvarnsdk.myView.popupwindow;


import androidx.annotation.IntDef;

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

/**
 * 用户显示当前弹框的类型
 *
 * @author minyuchun
 */
@IntDef({
        PopupType.POPUP_TRANSMITTER,
        PopupType.POPUP_LOG,
        PopupType.POPUP_CONNECT_1,
        PopupType.POPUP_CONNECT_2,
        PopupType.POPUP_CONNECT_3,
        PopupType.POPUP_ALERT_OFF,
        PopupType.POPUP_PERMISSION_FAIL,
        PopupType.POPUP_PERMISSION_FAIL_FOREVER,
        PopupType.POPUP_PERMISSION_RATIONALE_LOCATION,
        PopupType.POPUP_PERMISSION_RATIONALE_LOCATION_BACKGROUND,
        PopupType.POPUP_PERMISSION_RATIONALE_BLUETOOTH_S,
        PopupType.POPUP_PERMISSION_RATIONALE_CAMERA,
        PopupType.POPUP_PRE_ALERT,
})
@Retention(RetentionPolicy.SOURCE)
public @interface PopupType {
    /**
     * 发射器选择
     */
    public int POPUP_TRANSMITTER = 5;
    /**
     * 日志文件选择
     */
    public int POPUP_LOG = 6;
    /**
     * 进行发射器绑定 1
     */
    public int POPUP_CONNECT_1 = 7;
    /**
     * 进行发射器绑定 2
     */
    public int POPUP_CONNECT_2 = 8;
    /**
     * 进行发射器绑定 3
     */
    public int POPUP_CONNECT_3 = 9;
    /**
     * 选择无的报警方式
     */
    public int POPUP_ALERT_OFF = 10;

    public int POPUP_PERMISSION_FAIL = 12;

    public int POPUP_PERMISSION_FAIL_FOREVER = 13;

    public int POPUP_PERMISSION_RATIONALE_LOCATION = 14;

    public int POPUP_PERMISSION_RATIONALE_LOCATION_BACKGROUND = 15;

    public int POPUP_PERMISSION_RATIONALE_BLUETOOTH_S = 24;

    public int POPUP_PERMISSION_RATIONALE_CAMERA = 25;

    public int POPUP_PRE_ALERT = 16;

}
