Code example for SmsMessage: Receiving Text Messages (SMS)

Methods: getMessageBody, getTimestampMillis

0
	} 
 
	public SmsMessageEntry(SmsMessageSenderEntry sender, SmsMessage message) {
		this.senderId = sender.getId();
		this.sender = sender.getValue();
		this.message = message.getMessageBody();
		this.received = message.getTimestampMillis();
		this.read = false;
	} 
 
	public SmsMessageEntry(SmsMessageSenderEntry sender, SmsMessageTransferObject message) {
		this.senderId = sender.getId();
		this.sender = sender.getValue();
		this.message = message.getMessage();
		this.received = message.getReceived();
		this.read = message.isRead();
	} 
 
	public SmsMessageEntry(SmsMessageSenderEntry sender, String message, long received) {
		this.senderId = sender.getId();
		this.sender = sender.getValue();