public class BluetoothMapBmessage extends Object
This object will be received in BluetoothMasClient.EVENT_GET_MESSAGE
callback message.
Modifier and Type | Class and Description |
---|---|
static class |
BluetoothMapBmessage.Status |
static class |
BluetoothMapBmessage.Type |
Constructor and Description |
---|
BluetoothMapBmessage()
Constructs empty message object
|
Modifier and Type | Method and Description |
---|---|
BluetoothMapBmessage |
addOriginator(VCardEntry vcard) |
BluetoothMapBmessage |
addRecipient(VCardEntry vcard) |
String |
getBodyContent() |
String |
getCharset() |
String |
getEncoding() |
String |
getFolder() |
String |
getLanguage() |
VCardEntry |
getOriginator() |
ArrayList<VCardEntry> |
getOriginators() |
ArrayList<VCardEntry> |
getRecipients() |
BluetoothMapBmessage.Status |
getStatus() |
BluetoothMapBmessage.Type |
getType() |
BluetoothMapBmessage |
setBodyContent(String body) |
BluetoothMapBmessage |
setCharset(String charset) |
BluetoothMapBmessage |
setEncoding(String encoding) |
BluetoothMapBmessage |
setFolder(String folder) |
BluetoothMapBmessage |
setLanguage(String language) |
BluetoothMapBmessage |
setStatus(BluetoothMapBmessage.Status status) |
BluetoothMapBmessage |
setType(BluetoothMapBmessage.Type type) |
String |
toString()
Returns a string representation of the object.
|
public BluetoothMapBmessage()
public VCardEntry getOriginator()
public ArrayList<VCardEntry> getOriginators()
public BluetoothMapBmessage addOriginator(VCardEntry vcard)
public ArrayList<VCardEntry> getRecipients()
public BluetoothMapBmessage addRecipient(VCardEntry vcard)
public BluetoothMapBmessage.Status getStatus()
public BluetoothMapBmessage setStatus(BluetoothMapBmessage.Status status)
public BluetoothMapBmessage.Type getType()
public BluetoothMapBmessage setType(BluetoothMapBmessage.Type type)
public String getFolder()
public BluetoothMapBmessage setFolder(String folder)
public String getEncoding()
public BluetoothMapBmessage setEncoding(String encoding)
public String getCharset()
public BluetoothMapBmessage setCharset(String charset)
public String getLanguage()
public BluetoothMapBmessage setLanguage(String language)
public String getBodyContent()
public BluetoothMapBmessage setBodyContent(String body)
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())