public class BluetoothMapMessage extends Object
This object will be received in
BluetoothMasClient.EVENT_GET_MESSAGES_LISTING
callback message.
Modifier and Type | Class and Description |
---|---|
static class |
BluetoothMapMessage.ReceptionStatus |
static class |
BluetoothMapMessage.Type |
Modifier and Type | Method and Description |
---|---|
int |
getAttachmentSize() |
Date |
getDateTime() |
String |
getHandle() |
BluetoothMapMessage.ReceptionStatus |
getReceptionStatus() |
String |
getRecipientAddressing() |
String |
getRecipientName() |
String |
getReplytoAddressing() |
String |
getSenderAddressing() |
String |
getSenderName() |
int |
getSize() |
String |
getSubject() |
BluetoothMapMessage.Type |
getType() |
boolean |
isPriority() |
boolean |
isProtected() |
boolean |
isRead() |
boolean |
isSent() |
boolean |
isText() |
String |
toString()
Returns a string representation of the object.
|
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public String getHandle()
handle
parameter in MAP
specificationpublic String getSubject()
subject
parameter in MAP
specificationpublic Date getDateTime()
Date
object corresponding to datetime
parameter in MAP specificationpublic String getSenderName()
sender_name
parameter in MAP
specificationpublic String getSenderAddressing()
sender_addressing
parameter
in MAP specificationpublic String getReplytoAddressing()
replyto_addressing
parameter
in MAP specificationpublic String getRecipientName()
recipient_name
parameter in
MAP specificationpublic String getRecipientAddressing()
recipient_addressing
parameter in MAP specificationpublic BluetoothMapMessage.Type getType()
BluetoothMapMessage.Type
object corresponding to type
parameter
in MAP specificationpublic int getSize()
size
parameter in MAP
specificationpublic BluetoothMapMessage.ReceptionStatus getReceptionStatus()
.ReceptionStatus
object corresponding to
reception_status
parameter in MAP specificationpublic int getAttachmentSize()
attachment_size
parameter in
MAP specificationpublic boolean isText()
text
parameter in MAP
specificationpublic boolean isPriority()
priority
parameter in MAP
specificationpublic boolean isRead()
read
parameter in MAP
specificationpublic boolean isSent()
sent
parameter in MAP
specificationpublic boolean isProtected()
protected
parameter in MAP
specification