blob: f18f227bcb4b51b5456241643e48cf0e385f8892 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
===========================
org.bluez.obex.AgentManager
===========================
-----------------------------------------------
BlueZ D-Bus OBEX AgentManager API documentation
-----------------------------------------------
:Version: BlueZ
:Date: October 2023
:Manual section: 5
:Manual group: Linux System Administration
Interface
=========
:Service: org.bluez.obex
:Interface: org.bluez.obex.AgentManager1
:Object path: /org/bluez/obex
Methods
```````
void RegisterAgent(object agent)
````````````````````````````````
Registers an agent, which must implement **org.bluez.obex.Agent(5)**, to
request authorization of the user to accept/reject objects.
Object push service needs to authorize each received object.
Possible errors:
:org.bluez.obex.Error.AlreadyExists:
void UnregisterAgent(object agent)
``````````````````````````````````
Unregisters the agent that has been previously registered using
**RegisterAgent()**. The object path parameter must match the same value
that has been used on registration.
Possible errors:
:org.bluez.obex.Error.DoesNotExist:
|