/* public IncomingTextMessage(Parcel in) * { * this.message = in.readString(); * this.sender = in.readString(); * this.senderDeviceId = in.readInt(); * this.protocol = in.readInt(); * this.serviceCenterAddress = in.readString(); * this.replyPathPresent = (in.readInt() == 1); * this.pseudoSubject = in.readString(); * this.sentTimestampMillis = in.readLong(); * this.groupId = in.readString(); * this.push = (in.readInt() == 1); * }*/ public IncomingTextMessage(IncomingTextMessage message, String newBody) { this.Message = newBody; this.Sender = message.getSender(); this.SenderDeviceId = message.getSenderDeviceId(); this.Protocol = message.getProtocol(); this.ServiceCenterAddress = message.getServiceCenterAddress(); this.ReplyPathPresent = message.isReplyPathPresent(); this.PseudoSubject = message.getPseudoSubject(); this.SentTimestampMillis = message.SentTimestampMillis; this.GroupId = message.GroupId; this.Push = message.IsPush; }
/* public IncomingTextMessage(Parcel in) { this.message = in.readString(); this.sender = in.readString(); this.senderDeviceId = in.readInt(); this.protocol = in.readInt(); this.serviceCenterAddress = in.readString(); this.replyPathPresent = (in.readInt() == 1); this.pseudoSubject = in.readString(); this.sentTimestampMillis = in.readLong(); this.groupId = in.readString(); this.push = (in.readInt() == 1); }*/ public IncomingTextMessage(IncomingTextMessage message, String newBody) { this.Message = newBody; this.Sender = message.getSender(); this.SenderDeviceId = message.getSenderDeviceId(); this.Protocol = message.getProtocol(); this.ServiceCenterAddress = message.getServiceCenterAddress(); this.ReplyPathPresent = message.isReplyPathPresent(); this.PseudoSubject = message.getPseudoSubject(); this.SentTimestampMillis = message.SentTimestampMillis; this.GroupId = message.GroupId; this.Push = message.IsPush; }