#include <QBtLocalDevice.h>
List of all members.
Member Function Documentation
static bool QBtLocalDevice::addNewDevice |
( |
const QBtDevice & |
device | ) |
[static] |
Add a new device in the bluetooth registry.
- Parameters:
-
device | the device to be added |
- Returns:
- true upon success, else false
static void QBtLocalDevice::askUserTurnOnBtPower |
( |
| ) |
[static] |
Symbian specific function. Used if bluetooth is powered off, showing a dialog that asks permission from the user to power on bluetooth.
static bool QBtLocalDevice::deleteDevice |
( |
const QBtDevice & |
device | ) |
[static] |
Delete a device from the bluetooth registry.
- Parameters:
-
device | the device to be deleted |
- Returns:
- true upon success, else false. If device doesn't exists in the registry the also false
static bool QBtLocalDevice::deleteDevice |
( |
const QBtAddress & |
address | ) |
[static] |
Delete a device from the bluetooth registry using the bluetooth address.
- Parameters:
-
address | the device address of the device to be delete |
- Returns:
- true upon success, else false. If device doesn't exists in the registry the also false
static bool QBtLocalDevice::getBluetoothPowerState |
( |
| ) |
[static] |
Returns true/false if bluetooth hardware is powered on/off respectively.
static QBtAddress QBtLocalDevice::getLocalDeviceAddress |
( |
| ) |
[static] |
Bluetooth local properties /// Returns if possible the local device address
static QString QBtLocalDevice::getLocalDeviceName |
( |
| ) |
[static] |
Get local device name.
- Returns:
- device name
static bool QBtLocalDevice::isBluetoothSupported |
( |
| ) |
[static] |
Returns true if bluetooth hardware exists and is plugged in.
static bool QBtLocalDevice::isVisible |
( |
| ) |
[static] |
Returns true if local device is visible to other devices.
static bool QBtLocalDevice::setBluetoothPowerState |
( |
bool |
value | ) |
[static] |
Symbian specific function. Turns on/off bluetooth. Returns true is operation was sucessful.
Sets the UUID of the device that characterizes the device's type. The possible enumeration values passed as argument are defined in QBtDevice::DeviceMajor.
static void QBtLocalDevice::setLocalDeviceName |
( |
const QString & |
deviceName | ) |
[static] |
Sets the name of the device throught which it will be identified by other devices during SDP discovery.
static void QBtLocalDevice::setVisible |
( |
bool |
value | ) |
[static] |
Sets the device visibility to other devices.
- Parameters:
-
value | true -> visible, false -> invisible |
static bool QBtLocalDevice::unpairDevice |
( |
const QBtDevice & |
device | ) |
[static] |
Breaks the pairing between the local device and the device passed as argument.
- Parameters:
-
device | the device class containing the information of the device to be unpaired. |
static bool QBtLocalDevice::unpairDevice |
( |
const QBtAddress & |
address | ) |
[static] |
Breaks the pairing between the local device and the remote device identified by the bluetooth address passed as argument.
- Parameters:
-
address | the bluetooth address of the remote device. |
The documentation for this class was generated from the following file: