1 package com.netease.nimlib.sdk.chatroom.model;
3 import android.os.Parcel;
4 import android.os.Parcelable;
8 import java.io.Serializable;
14 private String roomId;
19 private String account;
23 this.resCode = resCode;
25 this.roomInfo = roomInfo;
27 this.account = account;
57 roomId = in.readString();
58 resCode = in.readInt();
60 roomInfo = in.readParcelable(getClass().getClassLoader());
61 member = in.readParcelable(getClass().getClassLoader());
62 account = in.readString();
72 dest.writeString(roomId);
73 dest.writeInt(resCode);
75 dest.writeParcelable(roomInfo, flags);
76 dest.writeParcelable(member, flags);
77 dest.writeString(account);
80 public static final Creator<EnterChatRoomResultData>
CREATOR =
new Creator<EnterChatRoomResultData>() {
void writeToParcel(Parcel dest, int flags)
static StatusCode typeOfValue(int value)
ChatRoomInfo getRoomInfo()
EnterChatRoomResultData(String roomId, int resCode, StatusCode status, ChatRoomInfo roomInfo, ChatRoomMember member, String account)
ChatRoomMember getMember()
EnterChatRoomResultData(Parcel in)
********************************** 序列化 **********************************
static final Creator< EnterChatRoomResultData > CREATOR
Created by huangjun on 2015/12/30.