package com.secspace.lib.common.env;

import android.support.annotation.IntDef;
import android.support.annotation.StringDef;

/**
 * Created by cyw_m on 2018/4/26.
 */

public class AttrNotification {

    @StringDef({NotifyTag.TAG_DOWNLOAD, NotifyTag.TAG_APP_MSG})
    public @interface NotifyTag {
        String TAG_DOWNLOAD = "secspace_downloader";
        String TAG_APP_MSG = "secspace_app_msg";
    }

    @IntDef({Id.DOWNLOADER, Id.APP_MSG, Id.ABROAD,Id.X})
    public @interface Id {
        int DOWNLOADER = 0x0001;
        int APP_MSG = 0x0002;
        int ABROAD = 0x0003;
        int X = 0x0004;

    }

    @StringDef({Channel.DOWNLOADER, Channel.APP_MSG})
    public @interface Channel {
        String DOWNLOADER = "channel_downloader";
        String APP_MSG = "channel_app_msg";
    }

    public static final String INTENT_CANCEL_ALL = "cancelAll";//取消所有通知
    public static final String INTENT_CHECK_INTERCEPT = "checkIntercept";//进入域内时检查域外拦截的通知
    public static final String EXTRA_NOTIFICATION_VIRTUAL_PACKAGENAME = "virtual_package_name";
}
