package com.wanyue.common;

/**
 * Created by cxf on 2018/6/7.
 */

public class Constants {
    public static final String URL = "url";
    public static final String PAYLOAD = "payload";
    public static final String DATA = "data";
    public static final String TYPE = "type";
    public static final String ICON_ID = "icon_id";
    public static final String POSITION = "position";
    public static final String COVER = "cover";

    public static final String TO_UID = "toUid";
    public static final String FROM = "from";
    public static final String TIP = "tip";
    public static final String FIRST_LOGIN = "firstLogin";
    public static final String USER_BEAN = "userBean";
    public static final String COIN_NAME = "coinName";
    public static final String LIVE_UID = "liveUid";
    public static final String FOLLOW = "follow";
    public static final String BLACK = "black";
    public static final String IM_FROM_HOME = "imFromUserHome";
    public static final String ROLE = "role";
    public static final String ROOM_ID = "room_id";
    public static final String CALL_TYPE = "call_type";

    public static final String VIDEO_COMMENT_BEAN = "videoCommnetBean";
    public static final String VIDEO_FACE_OPEN = "videoOpenFace";
    public static final String VIDEO_FACE_HEIGHT = "videoFaceHeight";

    public static final String DIAMONDS = "云币";
    public static final String VOTES = "映票";
    public static final String PAY_ALI_NOT_ENABLE = "支付宝未接入";
    public static final String PAY_WX_NOT_ENABLE = "微信支付未接入";
    public static final String PAY_ALL_NOT_ENABLE = "未开启支付";
    public static final String PAY_TYPE_COIN = "0";//余额支付
    public static final String PAY_TYPE_ALI = "1";//支付宝支付
    public static final String PAY_TYPE_WX = "2";//微信宝支付
    public static final String PAY_TYPE_GOOGLE = "4";//google支付
    public static final String PAY_TYPE_TEST = "5";//模拟支付


    public static final String PAY_BUY_COIN_ALI = "Charge.GetOrder";
    public static final String PAY_BUY_COIN_WX = "Charge.getWxOrder";
    public static final String PAY_VIP_COIN_ALI = "Vip.GetAliOrder";
    public static final String PAY_VIP_COIN_WX = "Vip.GetWxOrder";

    public static final String PACKAGE_NAME_ALI = "com.eg.android.AlipayGphone";//支付宝的包名
    public static final String PACKAGE_NAME_WX = "com.tencent.mm";//微信的包名
    public static final String PACKAGE_NAME_QQ = "com.tencent.mobileqq";//QQ的包名
    public static final String LAT = "lat";
    public static final String LNG = "lng";
    public static final String ADDRESS = "address";
    public static final String SCALE = "scale";
    public static final String SELECT_IMAGE_PATH = "selectedImagePath";
    public static final String COPY_PREFIX = "copy://";
    public static final String SHARE_PREFIX = "shareagent://";

    public static final String GIF_GIFT_PREFIX = "gif_gift_";

    //主播在线类型
    public static final int LINE_TYPE_OFF = 0;//离线
    public static final int LINE_TYPE_DISTURB = 1;//勿扰
    public static final int LINE_TYPE_CHAT = 2;//在聊
    public static final int LINE_TYPE_ON = 3;//在线


    //提现账号类型，1表示支付宝，2表示微信，3表示银行卡
    public static final int CASH_ACCOUNT_ALI = 1;
    public static final int CASH_ACCOUNT_WX = 2;
    public static final int CASH_ACCOUNT_BANK = 3;
    public static final String CASH_ACCOUNT_ID = "cashAccountID";
    public static final String CASH_ACCOUNT = "cashAccount";
    public static final String CASH_ACCOUNT_TYPE = "cashAccountType";



    public static final int DYNAMIC_IMG_MAX_NUM = 9;
    public static final int DYNAMIC_VOICE_MIN_TIME = 3;

    public static final String MOB_QQ = "qq";
    public static final String MOB_QQ_ZATION = "QQ";
    public static final String MOB_QZONE = "qzone";
    public static final String MOB_WX = "wx";
    public static final String MOB_WX_PYQ = "wchat";
    public static final String MOB_FACEBOOK = "Facebook";
    public static final String MOB_TWITTER = "twitter";
    public static final String MOB_PHONE = "phone";



    public static final String AUTH_STATUS = "authStatus";//认证状态
    public static final int AUTH_IMAGE_MAX_SIZE = 6;//MAX_SIZE 认证时候上传图片最大张数

    public static final String CHAT_TYPE = "chatType";//通话类型 1视频 2语音
    public static final byte CHAT_TYPE_VIDEO = 1;//通话类型 视频
    public static final byte CHAT_TYPE_AUDIO = 2;//通话类型 语音
    public static final byte CHAT_TYPE_NONE = 0;//通话类型 全部

    public static final String CHAT_PARAM_AUD = "chatParamAud";
    public static final String CHAT_PARAM_ANC = "chatParamAnc";
    public static final String CHAT_PARAM_TYPE = "chatParamType";
    public static final String CHAT_SESSION_ID = "chatSessionId";
    public static final int CHAT_PARAM_TYPE_AUD = 1;
    public static final int CHAT_PARAM_TYPE_ANC = 2;


    public static final String MAIN_SEX = "mainHomeSex";
    public static final byte MAIN_SEX_NONE = 0;
    public static final byte MAIN_SEX_MALE = 1;
    public static final byte MAIN_SEX_FAMALE = 2;

    public static final String IM_MSG_ADMIN = "administrator";


    public static final String SKILL_BEAN = "skillBean";
    public static final String SKILL_ID = "skillId";
    public static final String NICKNAME = "nickname";
    public static final String ADDR = "addr";
    public static final String INTEREST = "interest";
    public static final String SIGN = "sign";
    public static final String JOB = "job";
    public static final String UP_WHEAT = "upWheat";
    public static final String SCHOOL = "school";
    public static final String VOICE = "voice";
    public static final String VOICE_DURATION = "voiceDuration";
    public static final String VOICE_FROM = "voice_from";
    public static final int VOICE_FROM_USER = 0;
    public static final int VOICE_FROM_SKILL = 1;
    public static final String ORDER_ID = "orderId";
    public static final String ORDER_BEAN = "orderBean";
    public static final String ORDER_ANCHOR = "orderAnchor";

    public static final String LANG_EN = "en";
    public static final String LANG_ZH = "zh-cn";

    public static final int MAX_PHOTO_LENGTH=9;
    public static final int EMPTY_TYPE=11;

    public static final int DYNAMIC_PHOTO=1;
    public static final int DYNAMIC_VIDEO=2;
    public static final int DYNAMIC_VOICE=3;

    public static final int ROLE_ANTHOR=1;
    public static final int ROLE_AUDIENCE=2;
    public static final int ROLE_HOST=3;

    public static final String KEY_PHONE="phone";
    public static final String KEY_PWD="pwd";

    public static final String SOCKET_CHAT="SendMsg";

    public static final String SOCKET_PPT="setPPT"; //操作ppt
    public static final String SOCKET_WHITE_BROAD="setWhite";//设置操作白板权限
    public static final String SOCKET_LIVE_CONTROLLER="setLiveModel";//设置上麦状态
    public static final String SOCKET_SHARE_SCREEN="ShareScreen";//设置共享屏幕

    public static final String SOCKET_SHUT_USER="Shutup";//禁言
    public static final String SOCKET_KICK="Kick";//踢人
    public static final String SOCKET_SHUT_ALL="roomShutup";//全体禁言
    public static final String SOCKET_ROBANS="rob";//抢答

    public static final String SOCKET_EXAM="exam";//答题
    public static final String SOCKET_ROOM_ENTER="enter";

    public static final String SOCKET_CHANGE_MODE="changeMode";//改变直播状态

    public static final String SOCKET_SYSTEM_NOT="SystemNot"; //系统通知
    public static final String SOCKET_LINKMIC="LinkMic"; //连麦
    public static final String SOCKET_END_LIVE="StartEndLive";//结束直播
    public static final String SOCKET_PRACTICE="practice";//练习socket
    public static final String SOCKET_PRAISE="praise";//表扬socket
    public static final String SOCKET_UNDERSTAND="know";//懂了socket
    public static final String SOCKET_ASK="ask";//提问
    public static final String SOCKET_EXCHANGE="roomChat";//开放交流区

    public static final int SOCKET_WHAT_CONN = 0;
    public static final int SOCKET_WHAT_DISCONN = 2;
    public static final int SOCKET_WHAT_BROADCAST = 1;




    public static final String KEY_DIALOG="dialog";
    public static final String KEY_LISTNER="listner";

    public static final String KEY_POSITON="sitid";
    public static final String KEY_TITLE="title";
    public static final String KEY_STATUS="status";
    public static final String KEY_ID="id";

    public static final String KEY_METHOD="method";
    public static final String KEY_TINT="tint";


    public static final String COPY = "copy";
    public static final String KEY_CLASS = "key_class";
    public static final int JPUSH_TYPE_MESSAGE =1 ;
    public static final String PUSH_ID ="push_id" ;

    public static final String EVENT_GRADE ="push_id" ;


    public static final String ROOM_ENTER ="0" ;
}
