123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- package com.edufound.reader.util;
- import android.app.Application;
- import com.edufound.reader.bean.BaiDuUserInfo;
- import com.edufound.reader.bean.UserBean;
- import java.io.File;
- import java.util.Map;
- public class Consts {
- private static Application mApplicAtion;
- private static int[] screenSize;
- private static UserBean mConstsUserBean;
- private static BaiDuUserInfo mConstsBaiDuUserBean;
- private static boolean isDebug = false;
- private static String privService = "http://m-xyyf-web.ai160.com/res/protocol/private.htm";
- private static String agreementServices = "http://m-xyyf-web.ai160.com/res/protocol/service.htm";
- private static final String FinalApiUrl = "http://reader-api.efunbox.cn";
- private static String UMENG_CHANNEL = null;
- private static String UID = "";
- private static boolean isNeedRemoveBR = false;
- private static String recordUpLoadFileUrl = "";
- private static File mRecordSaveFile = null;
- private static Boolean isNeedLogin = false;
- public static Boolean getIsNeedLogin() {
- return isNeedLogin;
- }
- public static void setIsNeedLogin(Boolean isNeedLogin) {
- Consts.isNeedLogin = isNeedLogin;
- }
- public static File getmRecordSaveFile() {
- return mRecordSaveFile;
- }
- public static void setmRecordSaveFile(File mRecordSaveFile) {
- Consts.mRecordSaveFile = mRecordSaveFile;
- }
- public static String getRecordUpLoadFileUrl() {
- return recordUpLoadFileUrl;
- }
- public static void setRecordUpLoadFileUrl(String recordUpLoadFileUrl) {
- Consts.recordUpLoadFileUrl = recordUpLoadFileUrl;
- }
- public static boolean isIsNeedRemoveBR() {
- return isNeedRemoveBR;
- }
- public static void setIsNeedRemoveBR(boolean isNeedRemoveBR) {
- Consts.isNeedRemoveBR = isNeedRemoveBR;
- }
- public static String getUID() {
- return UID;
- }
- public static void setUID(String UID) {
- Consts.UID = UID;
- }
- public static Application getmApplicAtion() {
- return mApplicAtion;
- }
- public static void setmApplicAtion(Application mApplicAtion) {
- Consts.mApplicAtion = mApplicAtion;
- }
- public static int[] getScreenSize() {
- return screenSize;
- }
- public static void setScreenSize(int[] screenSize) {
- Consts.screenSize = screenSize;
- }
- public static UserBean getmConstsUserBean() {
- return mConstsUserBean;
- }
- public static void setmConstsUserBean(UserBean mConstsUserBean) {
- Consts.mConstsUserBean = mConstsUserBean;
- }
- public static String getPrivServiceUrl() {
- return privService;
- }
- public static String getAgreementServicesUrl() {
- return agreementServices;
- }
- public static boolean isIsDebug() {
- return isDebug;
- }
- public static void setIsDebug(boolean isDebug) {
- Consts.isDebug = isDebug;
- }
- public static String getFinalApi() {
- return FinalApiUrl;
- }
- public static String getUmengChannel() {
- return UMENG_CHANNEL;
- }
- public static void setUmengChannel(String umengChannel) {
- UMENG_CHANNEL = umengChannel;
- }
- public static BaiDuUserInfo getmConstsBaiDuUserBean() {
- return mConstsBaiDuUserBean;
- }
- public static void setmConstsBaiDuUserBean(BaiDuUserInfo mConstsBaiDuUserBean) {
- Consts.mConstsBaiDuUserBean = mConstsBaiDuUserBean;
- }
- }
|