ORG.BLUEZ.OBEX.TRANSFER(5) | Linux System Administration | ORG.BLUEZ.OBEX.TRANSFER(5) |
NAME¶
org.bluez.obex.Transfer - BlueZ D-Bus OBEX Transfer API documentation
INTERFACE¶
- Service
- org.bluez.obex
- Interface
- org.bluez.obex.Transfer1
- Object path
- [Session object path]/transfer{#}
Methods¶
void Cancel()¶
Possible errors:
void Suspend()¶
Possible errors:
- org.bluez.obex.Error.NotAuthorized
- org.bluez.obex.Error.NotInProgress
- If transfer is still in with Status "queued".
void Resume()¶
Possible errors:
- org.bluez.obex.Error.NotAuthorized
- org.bluez.obex.Error.NotInProgress
- If transfer is still in with Status "queued".
Properties¶
string Status [readonly]¶
Possible values:
- "queued"
- "active"
- "suspended"
- "complete"
- "error"
object Session [readonly]¶
string Name [readonly, optional]¶
Either Name or Type or both will be present.
string Type [readonly, optional]¶
Either Name or Type or both will be present.
uint64 Time [readonly, optional]¶
uint64 Size [readonly, optional]¶
If the size is unknown, then this property will not be present.
uint64 Transferred [readonly, optional]¶
For transfers with Status set to "queued", this value will not be present.
string Filename [readonly, optional]¶
For incoming object push transaction, this will be the proposed default location and name. It can be overwritten by the AuthorizePush() in org.bluez.obex.Agent(5) and will be then updated accordingly.
October 2023 | BlueZ |