1ORG.BLUEZ.OBEX.AGENT(5) Linux System Administration ORG.BLUEZ.OBEX.AGENT(5)
2
3
4
6 org.bluez.obex.Agent - BlueZ D-Bus OBEX Agent API documentation
7
9 ;Service: unique name :Interface: org.bluez.obex.Agent1 :Ob‐
10 ject path: freely definable
11
12 Methods
13 void Release()
14 This method gets called when obexd(8) daemon unregisters the agent.
15 An agent can use it to do cleanup tasks. There is no need to unreg‐
16 ister the agent, because when this method gets called it has already
17 been unregistered.
18
19 string AuthorizePush(object transfer)
20 This method gets called when the obexd(8) needs to accept/reject a
21 Bluetooth object push request.
22
23 Returns the full path (including the filename) or the folder name
24 suffixed with '/' where the object shall be stored.
25
26 The transfer object, see org.bluez.obex.Transfer(5) will contain a
27 Filename property that contains the default location and name that
28 can be returned.
29
30 Possible errors:
31
32 org.bluez.obex.Error.Rejected
33
34 org.bluez.obex.Error.Canceled
35
36 void Cancel()
37 This method gets called to indicate that the agent request failed
38 before a reply was returned. It cancels the previous request.
39
40
41
42
43BlueZ October 2023 ORG.BLUEZ.OBEX.AGENT(5)