org.bluez.obex.Message - BlueZ D-Bus OBEX Message API documentation
Contents
Interface
Service
org.bluez.obex
Interface
org.bluez.obex.Message1
Objectpath
[Session object path]/message{#}
Methodsobject,dictGet(stringtargetfile,booleanattachment)
Download message and store it in the target file.
If an empty target file is given, a temporary file will be automatically generated.
The returned path represents the newly created transfer, which should be used to find out if the
content has been successfully transferred or if the operation fails.
The properties of this transfer are also returned along with the object path, to avoid a call to
GetProperties, see org.bluez.obex.Transfer(5) for the possible list of properties.
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.FailedPropertiesstringFolder[readonly]
Folder which the message belongs to
stringSubject[readonly]
Message subject
stringTimestamp[readonly]
Message timestamp
stringSender[readonly]
Message sender name
stringSenderAddress[readonly]
Message sender address
stringReplyTo[readonly]
Message Reply-To address
stringRecipient[readonly]
Message recipient name
stringRecipientAddress[readonly]
Message recipient address
stringType[readonly]
Message type
Possible values:
"email""sms-gsm""sms-cdma""mms"uint64Size[readonly]
Message size in bytes
stringStatus[readonly]
Message reception status
Possible values:
"complete""fractioned""notification"booleanPriority[readonly]
Message priority flag
booleanRead[read/write]
Message read flag
booleanDeleted[writeonly]
Message deleted flag
booleanSent[readonly]
Message sent flag
booleanProtected[readonly]
Message protected flag
stringDeliveryStatus[readonly][optional]
Message delivery status
Possible values:
"delivered""sent""unknown"uint64ConversationId[readonly][required]
Message conversation id sent by Server Unique identification of the conversation
stringConversationName[readonly][optional]
Human readable name of the conversation
stringDirection[readonly][required]
Indicate the direction of the message
Possible values:
"incoming""outgoing""outgoingdraft""outgoingpending"stringAttachmentMimeTypes[readonly][optional]
MIME type of the attachment
BlueZ October 2023 ORG.BLUEZ.OBEX.MESSAGE(5)
Name
org.bluez.obex.Message - BlueZ D-Bus OBEX Message API documentation
