android.bluetooth
Interface IBluetoothDevice
- All Superinterfaces:
- IInterface
- All Known Implementing Classes:
- BluetoothDeviceService, IBluetoothDevice.Stub
public interface IBluetoothDevice
- extends IInterface
System private API for talking with the Bluetooth service.
isEnabled
boolean isEnabled()
throws RemoteException
- Throws:
RemoteException
enable
boolean enable(IBluetoothDeviceCallback callback)
throws RemoteException
- Throws:
RemoteException
disable
boolean disable()
throws RemoteException
- Throws:
RemoteException
getAddress
String getAddress()
throws RemoteException
- Throws:
RemoteException
getName
String getName()
throws RemoteException
- Throws:
RemoteException
setName
boolean setName(String name)
throws RemoteException
- Throws:
RemoteException
getMajorClass
String getMajorClass()
throws RemoteException
- Throws:
RemoteException
getMinorClass
String getMinorClass()
throws RemoteException
- Throws:
RemoteException
getVersion
String getVersion()
throws RemoteException
- Throws:
RemoteException
getRevision
String getRevision()
throws RemoteException
- Throws:
RemoteException
getManufacturer
String getManufacturer()
throws RemoteException
- Throws:
RemoteException
getCompany
String getCompany()
throws RemoteException
- Throws:
RemoteException
getMode
int getMode()
throws RemoteException
- Throws:
RemoteException
setMode
boolean setMode(int mode)
throws RemoteException
- Throws:
RemoteException
getDiscoverableTimeout
int getDiscoverableTimeout()
throws RemoteException
- Throws:
RemoteException
setDiscoverableTimeout
boolean setDiscoverableTimeout(int timeout)
throws RemoteException
- Throws:
RemoteException
startDiscovery
boolean startDiscovery(boolean resolveNames)
throws RemoteException
- Throws:
RemoteException
cancelDiscovery
boolean cancelDiscovery()
throws RemoteException
- Throws:
RemoteException
isDiscovering
boolean isDiscovering()
throws RemoteException
- Throws:
RemoteException
startPeriodicDiscovery
boolean startPeriodicDiscovery()
throws RemoteException
- Throws:
RemoteException
stopPeriodicDiscovery
boolean stopPeriodicDiscovery()
throws RemoteException
- Throws:
RemoteException
isPeriodicDiscovery
boolean isPeriodicDiscovery()
throws RemoteException
- Throws:
RemoteException
listRemoteDevices
String[] listRemoteDevices()
throws RemoteException
- Throws:
RemoteException
listAclConnections
String[] listAclConnections()
throws RemoteException
- Throws:
RemoteException
isAclConnected
boolean isAclConnected(String address)
throws RemoteException
- Throws:
RemoteException
disconnectRemoteDeviceAcl
boolean disconnectRemoteDeviceAcl(String address)
throws RemoteException
- Throws:
RemoteException
createBonding
boolean createBonding(String address,
IBluetoothDeviceCallback callback)
throws RemoteException
- Throws:
RemoteException
cancelBondingProcess
boolean cancelBondingProcess(String address)
throws RemoteException
- Throws:
RemoteException
listBondings
String[] listBondings()
throws RemoteException
- Throws:
RemoteException
hasBonding
boolean hasBonding(String address)
throws RemoteException
- Throws:
RemoteException
removeBonding
boolean removeBonding(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteName
String getRemoteName(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteAlias
String getRemoteAlias(String address)
throws RemoteException
- Throws:
RemoteException
setRemoteAlias
boolean setRemoteAlias(String address,
String alias)
throws RemoteException
- Throws:
RemoteException
clearRemoteAlias
boolean clearRemoteAlias(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteVersion
String getRemoteVersion(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteRevision
String getRemoteRevision(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteClass
int getRemoteClass(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteManufacturer
String getRemoteManufacturer(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteCompany
String getRemoteCompany(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteMajorClass
String getRemoteMajorClass(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteMinorClass
String getRemoteMinorClass(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteServiceClasses
String[] getRemoteServiceClasses(String address)
throws RemoteException
- Throws:
RemoteException
getRemoteServiceChannel
boolean getRemoteServiceChannel(String address,
int uuid16,
IBluetoothDeviceCallback callback)
throws RemoteException
- Throws:
RemoteException
getRemoteFeatures
byte[] getRemoteFeatures(String adddress)
throws RemoteException
- Throws:
RemoteException
lastSeen
String lastSeen(String address)
throws RemoteException
- Throws:
RemoteException
lastUsed
String lastUsed(String address)
throws RemoteException
- Throws:
RemoteException
setPin
boolean setPin(String address,
byte[] pin)
throws RemoteException
- Throws:
RemoteException
cancelPin
boolean cancelPin(String address)
throws RemoteException
- Throws:
RemoteException
Please submit a feedback, bug or feature