Methods Summary |
---|
public boolean | cancelBondProcess(android.bluetooth.BluetoothDevice device)
|
public boolean | cancelDiscovery()
|
public boolean | configHciSnoopLog(boolean enable)
|
public android.os.ParcelFileDescriptor | connectSocket(android.bluetooth.BluetoothDevice device, int type, android.os.ParcelUuid uuid, int port, int flag)
|
public boolean | createBond(android.bluetooth.BluetoothDevice device, int transport)
|
public android.os.ParcelFileDescriptor | createSocketChannel(int type, java.lang.String serviceName, android.os.ParcelUuid uuid, int port, int flag)
|
public boolean | disable()
|
public java.lang.String | dump()
|
public boolean | enable()
|
public boolean | enableNoAutoConnect()
|
public boolean | fetchRemoteMasInstances(android.bluetooth.BluetoothDevice device)
|
public boolean | fetchRemoteUuids(android.bluetooth.BluetoothDevice device)
|
public void | getActivityEnergyInfoFromController()
|
public int | getAdapterConnectionState()
|
public java.lang.String | getAddress()
|
public int | getBondState(android.bluetooth.BluetoothDevice device)
|
public android.bluetooth.BluetoothDevice[] | getBondedDevices()
|
public int | getConnectionState(android.bluetooth.BluetoothDevice device)
|
public int | getDiscoverableTimeout()
|
public int | getMessageAccessPermission(android.bluetooth.BluetoothDevice device)
|
public java.lang.String | getName()
|
public int | getPhonebookAccessPermission(android.bluetooth.BluetoothDevice device)
|
public int | getProfileConnectionState(int profile)
|
public java.lang.String | getRemoteAlias(android.bluetooth.BluetoothDevice device)
|
public int | getRemoteClass(android.bluetooth.BluetoothDevice device)
|
public java.lang.String | getRemoteName(android.bluetooth.BluetoothDevice device)
|
public int | getRemoteType(android.bluetooth.BluetoothDevice device)
|
public android.os.ParcelUuid[] | getRemoteUuids(android.bluetooth.BluetoothDevice device)
|
public int | getScanMode()
|
public int | getState()
|
public android.os.ParcelUuid[] | getUuids()
|
public boolean | isActivityAndEnergyReportingSupported()
|
public boolean | isDiscovering()
|
public boolean | isEnabled()
|
public boolean | isMultiAdvertisementSupported()
|
public boolean | isOffloadedFilteringSupported()
|
public boolean | isOffloadedScanBatchingSupported()
|
public boolean | isPeripheralModeSupported()
|
public void | registerCallback(android.bluetooth.IBluetoothCallback callback)
|
public boolean | removeBond(android.bluetooth.BluetoothDevice device)
|
public android.bluetooth.BluetoothActivityEnergyInfo | reportActivityInfo()
|
public void | sendConnectionStateChange(android.bluetooth.BluetoothDevice device, int profile, int state, int prevState)
|
public boolean | setDiscoverableTimeout(int timeout)
|
public boolean | setMessageAccessPermission(android.bluetooth.BluetoothDevice device, int value)
|
public boolean | setName(java.lang.String name)
|
public boolean | setPairingConfirmation(android.bluetooth.BluetoothDevice device, boolean accept)
|
public boolean | setPasskey(android.bluetooth.BluetoothDevice device, boolean accept, int len, byte[] passkey)
|
public boolean | setPhonebookAccessPermission(android.bluetooth.BluetoothDevice device, int value)
|
public boolean | setPin(android.bluetooth.BluetoothDevice device, boolean accept, int len, byte[] pinCode)
|
public boolean | setRemoteAlias(android.bluetooth.BluetoothDevice device, java.lang.String name)
|
public boolean | setScanMode(int mode, int duration)
|
public boolean | startDiscovery()
|
public void | unregisterCallback(android.bluetooth.IBluetoothCallback callback)
|