Build 1.0_r1(from source)

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.


Nested Class Summary
static class IBluetoothDevice.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 boolean cancelBondingProcess(String address)
           
 boolean cancelDiscovery()
           
 boolean cancelPin(String address)
           
 boolean clearRemoteAlias(String address)
           
 boolean createBonding(String address, IBluetoothDeviceCallback callback)
           
 boolean disable()
           
 boolean disconnectRemoteDeviceAcl(String address)
           
 boolean enable(IBluetoothDeviceCallback callback)
           
 String getAddress()
           
 String getCompany()
           
 int getDiscoverableTimeout()
           
 String getMajorClass()
           
 String getManufacturer()
           
 String getMinorClass()
           
 int getMode()
           
 String getName()
           
 String getRemoteAlias(String address)
           
 int getRemoteClass(String address)
           
 String getRemoteCompany(String address)
           
 byte[] getRemoteFeatures(String adddress)
           
 String getRemoteMajorClass(String address)
           
 String getRemoteManufacturer(String address)
           
 String getRemoteMinorClass(String address)
           
 String getRemoteName(String address)
           
 String getRemoteRevision(String address)
           
 boolean getRemoteServiceChannel(String address, int uuid16, IBluetoothDeviceCallback callback)
           
 String[] getRemoteServiceClasses(String address)
           
 String getRemoteVersion(String address)
           
 String getRevision()
           
 String getVersion()
           
 boolean hasBonding(String address)
           
 boolean isAclConnected(String address)
           
 boolean isDiscovering()
           
 boolean isEnabled()
           
 boolean isPeriodicDiscovery()
           
 String lastSeen(String address)
           
 String lastUsed(String address)
           
 String[] listAclConnections()
           
 String[] listBondings()
           
 String[] listRemoteDevices()
           
 boolean removeBonding(String address)
           
 boolean setDiscoverableTimeout(int timeout)
           
 boolean setMode(int mode)
           
 boolean setName(String name)
           
 boolean setPin(String address, byte[] pin)
           
 boolean setRemoteAlias(String address, String alias)
           
 boolean startDiscovery(boolean resolveNames)
           
 boolean startPeriodicDiscovery()
           
 boolean stopPeriodicDiscovery()
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

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

Build 1.0_r1(from source)

Please submit a feedback, bug or feature