/* 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.getSentTimestampMillis(); this.groupId = message.getGroupId(); this.push = message.isPush(); }
public IncomingEndSessionMessage(IncomingTextMessage parent, String newBody) : base(parent, newBody) { }
public IncomingEndSessionMessage(IncomingTextMessage parent) : this(parent, parent.getMessageBody()) { }
public IncomingEncryptedMessage(IncomingTextMessage parent, String newBody) : base(parent, newBody) { }