Files
GriddleBizPro/app/src/main/java/com/ckkj/griddlebiz/EventMessage.java
fengjingqi 2d7eb89154 1
2026-11-12 17:01:44 +08:00

69 lines
1.6 KiB
Java

package com.ckkj.griddlebiz;
//import com.amap.api.location.AMapLocation;
/**
* eventbus回调
*/
public class EventMessage {
public static final String USER_LOGIN_LOST = "user_login_lost";
public static final String CODE_LOGIN_LOST = "code_login_lost";
public static final String WX_PAY_SUCCESS = "wx_pay_success";
public static final String USER_LOGIN_SUCCESS = "user_login_success";
public static final String HISTORY_SESSIONID_DELETE_SUCCESS = "history_sessionid_delete_success";
public int result_code;
public String eventStrKey;
public String msg;
// public AMapLocation aMapLocation;
public String getEventStrKey() {
return eventStrKey;
}
public void setEventStrKey(String eventStrKey) {
this.eventStrKey = eventStrKey;
}
public EventMessage(String msg) {
this.msg = msg;
}
/* 高德定位依赖已移除
public EventMessage(String msg,AMapLocation aMapLocation) {
this.msg = msg;
this.aMapLocation = aMapLocation;
}
*/
public EventMessage(String eventStr, String msg) {
this.eventStrKey = eventStr;
this.msg = msg;
}
public EventMessage(int result_code, String msg) {
this.result_code = result_code;
this.msg = msg;
}
public int getResult_code() {
return result_code;
}
public void setResult_code(int result_code) {
this.result_code = result_code;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}