Package org.bluez
Interface HealthChannel1
- All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
public interface HealthChannel1
extends org.freedesktop.dbus.interfaces.DBusInterface
File generated - 2023-02-20.
Based on bluez Documentation: health-api.txt.
Service: org.bluez
Interface: org.bluez.HealthChannel1
Object path:
[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/chanZZZ
Supported properties:
string Type [readonly]
The quality of service of the data channel. ("reliable"
or "streaming")
object Device [readonly]
Identifies the Remote Device that is connected with.
Maps with a HealthDevice object.
object Application [readonly]
Identifies the HealthApplication to which this channel
is related to (which indirectly defines its role and
data type).
Based on bluez Documentation: health-api.txt.
Service: org.bluez
Interface: org.bluez.HealthChannel1
Object path:
[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/chanZZZ
Supported properties:
string Type [readonly]
The quality of service of the data channel. ("reliable"
or "streaming")
object Device [readonly]
Identifies the Remote Device that is connected with.
Maps with a HealthDevice object.
object Application [readonly]
Identifies the HealthApplication to which this channel
is related to (which indirectly defines its role and
data type).
-
Method Summary
Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface
getObjectPath, isRemote
-
Method Details
-
Acquire
org.freedesktop.dbus.FileDescriptor Acquire() throws BluezNotConnectedException, BluezNotAllowedExceptionFrom bluez documentation:
Returns the file descriptor for this data channel. If
the data channel is not connected it will also
reconnect.
- Returns:
- FileDescriptor - maybe null
- Throws:
BluezNotConnectedException- when bluez not connectedBluezNotAllowedException- when operation not allowed
-
Release
From bluez documentation:
Releases the fd. Application should also need to
close() it.
- Throws:
BluezNotAcquiredException- when item is not acquiredBluezNotAllowedException- when operation not allowed
-