|  |  |  | gnome-bluetooth Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#include <bluetooth-utils.h> void bluetooth_browse_address (GObject *object,const char *address,guint timestamp,GAsyncReadyCallback callback,gpointer user_data); gboolean bluetooth_browse_address_finish (GObject *object,GAsyncResult *result,GError **error); BluetoothType bluetooth_class_to_type (guint32 class); void bluetooth_send_to_address (const char *address,const char *alias); const gchar * bluetooth_type_to_string (guint type); const char * bluetooth_uuid_to_string (const char *uuid); gboolean bluetooth_verify_address (const char *bdaddr);
void bluetooth_browse_address (GObject *object,const char *address,guint timestamp,GAsyncReadyCallback callback,gpointer user_data);
Opens a Bluetooth device in Nautilus.
Ideally the timestamp is taken from the event triggering the call to this function. If timestamp is not known you can take GDK_CURRENT_TIME.
| 
 | a GObject, such as the top-level of your management application | 
| 
 | the Bluetooth device to browse | 
| 
 | a timestamp to prevent focus stealing | 
| 
 | the completion callback. [scope async] | 
| 
 | the data to pass to callback function | 
gboolean bluetooth_browse_address_finish (GObject *object,GAsyncResult *result,GError **error);
Finishes the browse operation, See bluetooth_browse_address().
| 
 | a GObject | 
| 
 | the GAsyncResult from the callback | 
| 
 | a GError | 
| Returns : | TRUEif the operation was successful,FALSEif error is set. | 
BluetoothType       bluetooth_class_to_type             (guint32 class);
Returns the type of device corresponding to the given class value.
| 
 | a Bluetooth device class | 
| Returns : | a BluetoothType. | 
void bluetooth_send_to_address (const char *address,const char *alias);
Start a GUI application for transfering files over Bluetooth.
| 
 | Remote device to use | 
| 
 | Remote device's name | 
const gchar *       bluetooth_type_to_string            (guint type);
Returns a human-readable string representation of type usable for display to users. Do not free the return value.
The returned string is already translated with gettext().
| 
 | a BluetoothType | 
| Returns : | a string. | 
const char *        bluetooth_uuid_to_string            (const char *uuid);
Returns a string representing a human-readable (but not usable for display to users) version of the uuid. Do not free the return value.
| 
 | a string representing a Bluetooth UUID | 
| Returns : | a string. |