FileDocCategorySizeDatePackage
IBluetooth.javaAPI DocAndroid 5.1 API57361Sat Mar 14 05:47:58 GMT 2015android.bluetooth

IBluetooth

public interface IBluetooth implements android.os.IInterface
System private API for talking with the Bluetooth service. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public booleancancelBondProcess(android.bluetooth.BluetoothDevice device)

public booleancancelDiscovery()

public booleanconfigHciSnoopLog(boolean enable)

public android.os.ParcelFileDescriptorconnectSocket(android.bluetooth.BluetoothDevice device, int type, android.os.ParcelUuid uuid, int port, int flag)

public booleancreateBond(android.bluetooth.BluetoothDevice device, int transport)

public android.os.ParcelFileDescriptorcreateSocketChannel(int type, java.lang.String serviceName, android.os.ParcelUuid uuid, int port, int flag)

public booleandisable()

public java.lang.Stringdump()

public booleanenable()

public booleanenableNoAutoConnect()

public booleanfetchRemoteMasInstances(android.bluetooth.BluetoothDevice device)

public booleanfetchRemoteUuids(android.bluetooth.BluetoothDevice device)

public voidgetActivityEnergyInfoFromController()

public intgetAdapterConnectionState()

public java.lang.StringgetAddress()

public intgetBondState(android.bluetooth.BluetoothDevice device)

public android.bluetooth.BluetoothDevice[]getBondedDevices()

public intgetConnectionState(android.bluetooth.BluetoothDevice device)

public intgetDiscoverableTimeout()

public intgetMessageAccessPermission(android.bluetooth.BluetoothDevice device)

public java.lang.StringgetName()

public intgetPhonebookAccessPermission(android.bluetooth.BluetoothDevice device)

public intgetProfileConnectionState(int profile)

public java.lang.StringgetRemoteAlias(android.bluetooth.BluetoothDevice device)

public intgetRemoteClass(android.bluetooth.BluetoothDevice device)

public java.lang.StringgetRemoteName(android.bluetooth.BluetoothDevice device)

public intgetRemoteType(android.bluetooth.BluetoothDevice device)

public android.os.ParcelUuid[]getRemoteUuids(android.bluetooth.BluetoothDevice device)

public intgetScanMode()

public intgetState()

public android.os.ParcelUuid[]getUuids()

public booleanisActivityAndEnergyReportingSupported()

public booleanisDiscovering()

public booleanisEnabled()

public booleanisMultiAdvertisementSupported()

public booleanisOffloadedFilteringSupported()

public booleanisOffloadedScanBatchingSupported()

public booleanisPeripheralModeSupported()

public voidregisterCallback(android.bluetooth.IBluetoothCallback callback)

public booleanremoveBond(android.bluetooth.BluetoothDevice device)

public android.bluetooth.BluetoothActivityEnergyInforeportActivityInfo()

public voidsendConnectionStateChange(android.bluetooth.BluetoothDevice device, int profile, int state, int prevState)

public booleansetDiscoverableTimeout(int timeout)

public booleansetMessageAccessPermission(android.bluetooth.BluetoothDevice device, int value)

public booleansetName(java.lang.String name)

public booleansetPairingConfirmation(android.bluetooth.BluetoothDevice device, boolean accept)

public booleansetPasskey(android.bluetooth.BluetoothDevice device, boolean accept, int len, byte[] passkey)

public booleansetPhonebookAccessPermission(android.bluetooth.BluetoothDevice device, int value)

public booleansetPin(android.bluetooth.BluetoothDevice device, boolean accept, int len, byte[] pinCode)

public booleansetRemoteAlias(android.bluetooth.BluetoothDevice device, java.lang.String name)

public booleansetScanMode(int mode, int duration)

public booleanstartDiscovery()

public voidunregisterCallback(android.bluetooth.IBluetoothCallback callback)