package com.rv.im;

public class Constants {

    public static final class ACTIONS {
        public static final String ACTION_SEND_RECEIVER = "send_receiver"; // 发送消息 接受广播
        //        public static final String ACTION_SEND_MSG_SUCCESS = "send_msg_success";
//        public static final String ACTION_SEND_MSG_FAILURE = "send_msg_failure";
//        public static final String ACTION_RECEIVE_NEW_MESSAGE = "receive_new_message"; // 收到新消息
        public static final String ACTION_RECEIVE_REMOTE_LOGIN = "receive_remote_login"; // 远程登录
        public static final String ACTION_CLOSED_ON_ERROR_NORMAL = "closed_error_normal"; // XMPP回调了connectionClosedOnError
    }

    public static final class KEYS {
        public static final String KEY_MESSAGE_CONTENT = "message_content"; //  发送消息的键
        public static final String KEY_MESSAGE_TARGET = "message_target"; // 目标
        public static final String KEY_IM_USER_ID = "im_user_id";
        public static final String KEY_USER_NAME = "user_name";
        public static final String KEY_USER_PASSWORD = "user_password";
        public static final String KEY_USER_RECEIPTID = "user_receiptId";
        public static final String KEY_USER_IMTOKEN = "user_im_token";
        public static final String KEY_NEW_MESSAGE = "new_message";
    }


    public static class OtherBroadcast {
        public static final String Read = AppConfig.sPackageName + "Read";
        public static final String NAME_CHANGE = AppConfig.sPackageName + "NAME_CHANGE";
        public static final String TYPE_DELALL = AppConfig.sPackageName + "TYPE_DELALL";
        public static final String SEND_MULTI_NOTIFY = AppConfig.sPackageName + "SEND_MULTI_NOTIFY";
        public static final String CollectionRefresh = AppConfig.sPackageName + "CollectionRefresh";
        public static final String NO_EXECUTABLE_INTENT = AppConfig.sPackageName + "NO_EXECUTABLE_INTENT";
        public static final String QC_FINISH = AppConfig.sPackageName + "QC_FINISH";
        public static final String longpress = AppConfig.sPackageName + "longpress";
        public static final String FINISH_MAIN = AppConfig.sPackageName + "FINISH_MAIN";
        public static final String IsRead = AppConfig.sPackageName + "IsRead";
        public static final String MULTI_LOGIN_READ_DELETE = AppConfig.sPackageName + "MULTI_LOGIN_READ_DELETE";
        public static final String TYPE_INPUT = AppConfig.sPackageName + "TYPE_INPUT";
        public static final String MSG_BACK = AppConfig.sPackageName + "MSG_BACK";
        public static final String REFRESH_MANAGER = AppConfig.sPackageName + "REFRESH_MANAGER";
        public static final String singledown = AppConfig.sPackageName + "singledown";
    }

    public static final class EXTRAS {
        public static final String EXTRA_LOGIN_USER_ID = "login_user_id";
        public static final String EXTRA_LOGIN_PASSWORD = "login_password";
        public static final String EXTRA_LOGIN_NICK_NAME = "login_nick_name ";
    }

    public static final String IS_AUDIO_CONFERENCE = "is_audio_conference";

    // 当前设备离线时间
    public static final String OFFLINE_TIME = "offline_time";

    public static final String EXTRA_VIDEO_FILE_PATH = "video_file_path";
    public static final String EXTRA_VIDEO_FILE_THUMB = "video_file_thumb";
    public static final String EXTRA_IMAGE_URI = "image_uri";
}
