Exemplo n.º 1
0
        /* 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();
        }
Exemplo n.º 2
0
 public IncomingEndSessionMessage(IncomingTextMessage parent, String newBody)
     : base(parent, newBody)
 {
 }
Exemplo n.º 3
0
 public IncomingEndSessionMessage(IncomingTextMessage parent)
     : this(parent, parent.getMessageBody())
 {
 }
Exemplo n.º 4
0
 public IncomingEncryptedMessage(IncomingTextMessage parent, String newBody)
     : base(parent, newBody)
 {
 }