lib/bluez/e_bluez_device.c File Reference
#include "e_bluez_private.h"
Include dependency graph for e_bluez_device.c:

Functions

Eina_Bool e_bluez_device_alias_get (const E_Bluez_Element *element, const char **alias)
E_Bluez_Elemente_bluez_device_get (const char *path)
Eina_Bool e_bluez_device_name_get (const E_Bluez_Element *element, const char **name)
Eina_Bool e_bluez_device_paired_get (const E_Bluez_Element *element, Eina_Bool *paired)

Function Documentation

Eina_Bool e_bluez_device_alias_get ( const E_Bluez_Element element,
const char **  alias 
)

Get property "Alias" value.

If this property isn't found then EINA_FALSE is returned. If EINA_FALSE is returned, then this call failed and parameter-returned values shall be considered invalid.

Parameters:
addresswhere to store the property value, must be a pointer to string (const char **), it will not be allocated or copied and references will be valid until element changes, so copy it if you want to use it later.
Returns:
EINA_TRUE on success, EINA_FALSE otherwise.

References e_bluez_element_property_get_stringshared(), and e_bluez_prop_alias.

Eina_Bool e_bluez_device_name_get ( const E_Bluez_Element element,
const char **  name 
)

Get property "Name" value.

If this property isn't found then EINA_FALSE is returned. If EINA_FALSE is returned, then this call failed and parameter-returned values shall be considered invalid.

Parameters:
addresswhere to store the property value, must be a pointer to string (const char **), it will not be allocated or copied and references will be valid until element changes, so copy it if you want to use it later.
Returns:
EINA_TRUE on success, EINA_FALSE otherwise.

References e_bluez_element_property_get_stringshared(), and e_bluez_prop_name.

Eina_Bool e_bluez_device_paired_get ( const E_Bluez_Element element,
Eina_Bool *  paired 
)

Get property "Paired" value.

If this property isn't found then EINA_FALSE is returned. If EINA_FALSE is returned, then this call failed and parameter-returned values shall be considered invalid.

Parameters:
poweredwhere to store the property value, must be a pointer to boolean (Eina_Bool *).
Returns:
EINA_TRUE on success, EINA_FALSE otherwise.

References e_bluez_element_property_get_stringshared(), and e_bluez_prop_paired.