1 package com.netease.nimlib.sdk.chatroom.model;
3 import android.os.Parcel;
4 import android.os.Parcelable;
6 import java.io.Serializable;
10 boolean enable =
false;
48 this.cdnUrlArray = cdnUrlArray;
56 this.timestamp = timestamp;
60 return pollingInterval;
64 this.pollingInterval = pollingInterval;
72 this.decryptKey = decryptKey;
80 this.timeOut = timeOut;
98 enable = in.readInt() == 1;
99 in.readStringArray(cdnUrlArray);
100 timestamp = in.readLong();
101 pollingInterval = in.readLong();
102 decryptKey = in.readString();
103 timeOut = in.readInt();
113 dest.writeInt(enable ? 1 : 0);
114 dest.writeStringArray(cdnUrlArray);
115 dest.writeLong(timestamp);
116 dest.writeLong(pollingInterval);
117 dest.writeString(decryptKey);
118 dest.writeInt(timeOut);
121 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)
********************************** 序列化 **********************************