Package org.bluez.mesh
Interface Attention1
- All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
public interface Attention1
extends org.freedesktop.dbus.interfaces.DBusInterface
File generated - 2023-02-20.
Based on bluez Documentation: mesh-api.txt.
Service: unique name
Interface: org.bluez.mesh.Attention1
Object path:
freely definable
Based on bluez Documentation: mesh-api.txt.
Service: unique name
Interface: org.bluez.mesh.Attention1
Object path:
freely definable
-
Method Summary
Modifier and TypeMethodDescriptionorg.freedesktop.dbus.types.UInt16GetTimer(org.freedesktop.dbus.types.UInt16 _element) From bluez documentation:
The element parameter is the unicast address within the node
where the health server model is hosted.
Returns the number of seconds for how long the attention action
remains staying on.voidSetTimer(byte _elementIndex, org.freedesktop.dbus.types.UInt16 _time) From bluez documentation:
The element_index parameter is the element's index within the
node where the health server model is hosted.
The time parameter indicates how many seconds the attention
state shall be on.Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface
getObjectPath, isRemote
-
Method Details
-
SetTimer
void SetTimer(byte _elementIndex, org.freedesktop.dbus.types.UInt16 _time) throws BluezMeshNotSupportedException From bluez documentation:
The element_index parameter is the element's index within the
node where the health server model is hosted.
The time parameter indicates how many seconds the attention
state shall be on.- Parameters:
_elementIndex- element_index_time- time- Throws:
BluezMeshNotSupportedException- when operation is not supported
-
GetTimer
org.freedesktop.dbus.types.UInt16 GetTimer(org.freedesktop.dbus.types.UInt16 _element) throws BluezMeshNotSupportedException From bluez documentation:
The element parameter is the unicast address within the node
where the health server model is hosted.
Returns the number of seconds for how long the attention action
remains staying on.- Parameters:
_element- element- Returns:
- UInt16 - maybe null
- Throws:
BluezMeshNotSupportedException- when operation is not supported
-