1 package com.netease.nimlib.sdk.chatroom.model;
3 import android.os.Parcel;
4 import android.os.Parcelable;
5 import java.io.Serializable;
9 boolean enable =
false;
47 this.cdnUrlArray = cdnUrlArray;
55 this.timestamp = timestamp;
59 return pollingInterval;
63 this.pollingInterval = pollingInterval;
71 this.decryptKey = decryptKey;
79 this.timeOut = timeOut;
97 enable = in.readInt() == 1;
98 in.readStringArray(cdnUrlArray);
99 timestamp = in.readLong();
100 pollingInterval = in.readLong();
101 decryptKey = in.readString();
102 timeOut = in.readInt();
112 dest.writeInt(enable ? 1 : 0);
113 dest.writeStringArray(cdnUrlArray);
114 dest.writeLong(timestamp);
115 dest.writeLong(pollingInterval);
116 dest.writeString(decryptKey);
117 dest.writeInt(timeOut);
120 public static final Creator<ChatRoomCdnInfo>
CREATOR =
new Creator<ChatRoomCdnInfo>() {
void setDecryptKey(String decryptKey)
void setEnable(boolean enable)
long getPollingInterval()
void setTimestamp(long timestamp)
void writeToParcel(Parcel dest, int flags)
String[] getCdnUrlArray()
void setCdnUrlArray(String[] cdnUrlArray)
static final Creator< ChatRoomCdnInfo > CREATOR
void setPollingInterval(long pollingInterval)
ChatRoomCdnInfo deepClone()
void setTimeOut(int timeOut)
ChatRoomCdnInfo(Parcel in)
********************************** 序列化 **********************************