Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W Z 

A

abortReliableWrite(BluetoothGatt) - Static method in class com.idevicesinc.sweetblue.compat.K_Util
 
abortReliableWrite(BluetoothDevice) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
abortReliableWrite(BluetoothDevice) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
abortReliableWrite(BluetoothDevice) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Not hooked up in this class.
accept() - Static method in class com.idevicesinc.sweetblue.DescriptorFilter.Please
Accept the current BluetoothGattCharacteristic as the one to perform the operation on.
ACCEPT - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
accepted(DescriptorFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
acceptIf(boolean) - Static method in class com.idevicesinc.sweetblue.DescriptorFilter.Please
Similar to DescriptorFilter.Please.accept(), allowing you to pass in a boolean conditional to specify whether to accept the current BluetoothGattCharacteristic.
ack(ScanFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
acknowledge() - Static method in class com.idevicesinc.sweetblue.ScanFilter.Please
Return this from ScanFilter.onEvent(ScanEvent) to acknowledge the discovery.
acknowledge(BleDeviceConfig) - Static method in class com.idevicesinc.sweetblue.ScanFilter.Please
Same as ScanFilter.Please.acknowledge() but allows you to pass a BleDeviceConfig instance to the BleDevice that's about to be created.
acknowledgeIf(boolean) - Static method in class com.idevicesinc.sweetblue.ScanFilter.Please
Returns ScanFilter.Please.acknowledge() if the given condition holds true, ScanFilter.Please.ignore() otherwise.
acknowledgeIf(boolean, BleDeviceConfig) - Static method in class com.idevicesinc.sweetblue.ScanFilter.Please
Same as ScanFilter.Please.acknowledgeIf(boolean) but lets you pass a BleDeviceConfig as well.
ACTION_ACL_CONNECTED - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
ACTION_ACL_DISCONNECT_REQUESTED - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
ACTION_ACL_DISCONNECTED - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
ACTION_BOND_STATE_CHANGED - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
ACTION_DISAPPEARED - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
ACTION_DISCOVERY_FINISHED - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
ACTION_DISCOVERY_STARTED - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
ACTION_FOUND - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
ACTION_PAIRING_REQUEST - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
ACTION_STATE_CHANGED - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
ACTION_UUID - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
activity() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns the Activity associated with the Event
AdapterConst - Class in com.idevicesinc.sweetblue.internal.android
Class used to hold values from BluetoothAdapter
add(BleWrite) - Method in class com.idevicesinc.sweetblue.BleWriteTransaction
Add an BleWrite to the write queue.
add(UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleWriteTransaction
Add a write to the write queue.
add(UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleWriteTransaction
Add a write to the write queue.
add(String, String) - Method in class com.idevicesinc.sweetblue.utils.BasicUuidNameMap
Add a UUID-to-debug name entry.
add(GenericListener_Void<T_Event>, T_Event) - Method in class com.idevicesinc.sweetblue.utils.EventQueue
 
add(E) - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
add_multiple(Iterator<HistoricalData>, int, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
add_multiple(ForEach_Returning<HistoricalData>, int, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
add_multiple(Iterator<HistoricalData>, int, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
add_multiple(ForEach_Returning<HistoricalData>, int, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
add_multiple_end() - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
add_multiple_end() - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
add_multiple_next(String, UUID, HistoricalData) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
add_multiple_next(String, UUID, HistoricalData) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
add_multiple_start() - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
add_multiple_start() - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
add_single(String, UUID, HistoricalData, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
add_single(String, UUID, HistoricalData, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
add_single(HistoricalData, int, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
add_single(HistoricalData, int, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
addAll(Collection<BleWrite>) - Method in class com.idevicesinc.sweetblue.BleWriteTransaction
Add a Collection of writes to the write queue.
addBatchScanResults(IBleManager, List<L_Util.ScanResult>) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
addBondedDevice(BleDevice) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when the system wants to track a new device as being bonded.
addCharacteristic(UUID) - Method in class com.idevicesinc.sweetblue.utils.ServiceBuilder
Add a new BleCharacteristic to this service.
addCustomPermission(Object) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
Adds a custom permission to the required permission list.
addDescriptor(UUID) - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Add a new BleDescriptor to be added to this BleCharacteristic.
addHistoricalData(UUID, byte[], EpochTime) - Method in class com.idevicesinc.sweetblue.BleDevice
Manual way to add data to the historical data list managed by this device.
addHistoricalData(UUID, EpochTime, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Just an overload of BleDevice.addHistoricalData(UUID, byte[], EpochTime) with the data and epochTime parameters switched around.
addHistoricalData(UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.addHistoricalData(UUID, byte[], EpochTime) but uses System.currentTimeMillis() for the timestamp.
addHistoricalData(UUID, HistoricalData) - Method in class com.idevicesinc.sweetblue.BleDevice
addHistoricalData(UUID, Iterator<HistoricalData>) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.addHistoricalData(UUID, byte[], EpochTime) but for large datasets this is more efficient when writing to disk.
addHistoricalData(UUID, List<HistoricalData>) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.addHistoricalData(UUID, byte[], EpochTime) but for large datasets this is more efficient when writing to disk.
addHistoricalData(UUID, ForEach_Returning<HistoricalData>) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.addHistoricalData(UUID, byte[], EpochTime) but for large datasets this is more efficient when writing to disk.
addHistoricalData(UUID, HistoricalData) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
addHistoricalData(UUID, Iterator<HistoricalData>) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
addHistoricalData(UUID, ForEach_Returning<HistoricalData>) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
addHistoricalData(UUID, byte[], EpochTime) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Manual way to add data to the historical data list managed by this device.
addHistoricalData(UUID, EpochTime, byte[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Just an overload of RxBleDevice.addHistoricalData(UUID, byte[], EpochTime) with the data and epochTime parameters switched around.
addHistoricalData(UUID, byte[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Same as RxBleDevice.addHistoricalData(UUID, byte[], EpochTime) but uses System.currentTimeMillis() for the timestamp.
addHistoricalData(UUID, HistoricalData) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
addHistoricalData(UUID, Iterator<HistoricalData>) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Same as RxBleDevice.addHistoricalData(UUID, byte[], EpochTime) but for large datasets this is more efficient when writing to disk.
addHistoricalData(UUID, List<HistoricalData>) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Same as RxBleDevice.addHistoricalData(UUID, byte[], EpochTime) but for large datasets this is more efficient when writing to disk.
addHistoricalData(UUID, ForEach_Returning<HistoricalData>) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Same as RxBleDevice.addHistoricalData(UUID, byte[], EpochTime) but for large datasets this is more efficient when writing to disk.
addManufacturerData(short, byte[]) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Add some manufacturer data, along with the given manufacturer id to the backing List.
addReadTime(double) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
addRequiredPermissions() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
This method will populate the list of required permissions with the standard defaults.
addScanResult(IBleManager, P_DeviceHolder, int, byte[]) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
addService(BleService) - Method in class com.idevicesinc.sweetblue.BleServer
addService(BleService, AddServiceListener) - Method in class com.idevicesinc.sweetblue.BleServer
Starts the process of adding a service to this server.
addService(BleService) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
addService(BleService) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
addService(BleService, AddServiceListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Starts the process of adding a service to this server.
addService(BleService) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
addService(BleService) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called by the system when it wants to add a new BleService to the BleServer instance.
addService(UUID) - Method in class com.idevicesinc.sweetblue.utils.GattDatabase
Add a new service to the database.
addServiceData(Map<UUID, byte[]>) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Set the service data for this BleScanRecord instance.
addServiceData(UUID, byte[]) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Add the given UUID and data to this instance's service data map.
AddServiceListener - Interface in com.idevicesinc.sweetblue
Provide an implementation of this callback to BleServer.setListener_ServiceAdd(AddServiceListener).
AddServiceListener.ServiceAddEvent - Class in com.idevicesinc.sweetblue
Event struct passed to AddServiceListener.onEvent(ServiceAddEvent) to give you information about the success of a service addition or the reason(s) for its failure.
AddServiceListener.Status - Enum in com.idevicesinc.sweetblue
Enumeration of the different ways that service addition can fail (and one way for it to succeed), provided through OutgoingListener.OutgoingEvent.status().
addServiceSuccess(BleServer, BleService, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
addServiceUuid(UUID, BleUuid.UuidSize) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Add a UUID with the given BleUuid.UuidSize to this instance's UUID list.
addServiceUuid(UUID) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Overload of BleScanRecord.addServiceUuid(UUID, BleUuid.UuidSize), which sets the size to BleUuid.UuidSize.SHORT, if it can fit, otherwise it will default to BleUuid.UuidSize.FULL
addServiceUUIDs(List<UUID>) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Add the given List of UUIDs to this instance's UUID list.
addTask(IBleManager, PA_Task) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
addTime(double) - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
Adds the time it took for a just-completed operation to finish and updates the running average time.
addWriteTime(double) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
Advanced - Annotation Type in com.idevicesinc.sweetblue.annotations
This annotation is used to tag certain classes or methods that someone new to the library can most-likely safely ignore.
ADVERTISE_ANDROID_VERSION_NOT_SUPPORTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Status code for (@link BleServer.AdvertiseListener.AdvertisingEvent#status} when trying to advertise on a device which isn't running an android OS of Lollipop or higher.
ADVERTISE_FAILED_ALREADY_STARTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Failed to start advertising as the advertising is already started.
ADVERTISE_FAILED_DATA_TOO_LARGE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Failed to start advertising as the advertise data to be broadcasted is larger than 31 bytes.
ADVERTISE_FAILED_FEATURE_UNSUPPORTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
This feature is not supported on this platform.
ADVERTISE_FAILED_INTERNAL_ERROR - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Operation failed due to an internal error.
ADVERTISE_FAILED_TOO_MANY_ADVERTISERS - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Failed to start advertising because no advertising instance is available.
ADVERTISE_SUCCESS - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Status code used for AdvertisingListener.AdvertisingEvent.status() when advertising has been successfully started.
advertiseDevice(BleManager, int, byte[], String) - Static method in class com.idevicesinc.sweetblue.Util_Native
advertiseDevice(BleManager, int, byte[], String, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Simulate a device that is advertising, so SweetBlue picks up on it (as long as scanning is occurring at the time you call this method).
advertiseDeviceList(BleManager, List<L_Util.ScanResult>, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Simulate a batch of devices that are advertising, so SweetBlue picks up on it (as long as scanning is occuring at the time you call this method).
advertisedServices() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
A list of UUIDs parsed from ScanFilter.ScanEvent.scanRecord() as a convenience.
advertiseNewDevice(BleManager, int, byte[]) - Static method in class com.idevicesinc.sweetblue.Util_Native
Simulate a device that is advertising, so SweetBlue picks up on it (as long as scanning is occurring at the time you call this method).
advertiseNewDevice(BleManager, int, String) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.advertiseNewDevice(BleManager, int, byte[]), which creates the byte[] scanRecord from the name you provide.
AdvertisingException - Exception in com.idevicesinc.sweetblue.rx.exception
 
AdvertisingException(AdvertisingListener.AdvertisingEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.AdvertisingException
 
AdvertisingFlag - Enum in com.idevicesinc.sweetblue.utils
 
advertisingFlags() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
Returns the advertising flags, if any, parsed from ScanFilter.ScanEvent.scanRecord().
AdvertisingListener - Interface in com.idevicesinc.sweetblue
AdvertisingListener.AdvertisingEvent - Class in com.idevicesinc.sweetblue
Sub class representing the Advertising Event
AdvertisingListener.Status - Enum in com.idevicesinc.sweetblue
Enumeration describing the m_status of calling BleServer.startAdvertising(BleScanRecord).
AEROBIC_HEART_RATE_LOWER_LIMIT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
AEROBIC_HEART_RATE_UPPER_LIMIT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
afterPermissionRequested() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
AGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
AGGREGATE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ALERT_CATEGORY_ID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ALERT_CATEGORY_ID_BIT_MASK - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ALERT_LEVEL - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ALERT_NOTIFICATION_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ALERT_NOTIFICATION_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ALERT_STATUS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ALL_ON - Static variable in class com.idevicesinc.sweetblue.LogOptions
Static instance for turning ALL logging on.
allowDuplicatePollEntries - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is false - if true and you call BleDevice.startPoll(UUID, Interval, ReadWriteListener) or BleDevice.startChangeTrackingPoll(UUID, Interval, ReadWriteListener)() with identical parameters then two identical polls would run which would probably be wasteful and unintentional.
allowsRetry() - Method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Status
Whether this status honors a ReconnectFilter.ConnectFailPlease.isRetry().
allowsRetry() - Method in enum com.idevicesinc.sweetblue.ServerReconnectFilter.Status
Whether this reason honors a ReconnectFilter.ConnectFailPlease.isRetry().
Alpha - Annotation Type in com.idevicesinc.sweetblue.annotations
This annotation is used to tag certain classes or methods that are considered "alpha" level quality.
ALTITUDE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
alwaysBondOnConnect - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is false - Controls whether SweetBlue will automatically bond when connecting to a peripheral (rather than letting Android do it itself).
alwaysUseAutoConnect - Variable in class com.idevicesinc.sweetblue.BleNodeConfig
Default is false - see the boolean autoConnect parameters of BluetoothDevice.connectGatt(Context, boolean, android.bluetooth.BluetoothGattCallback) and BluetoothGattServer.connect(BluetoothDevice, boolean).
ANAEROBIC_HEART_RATE_LOWER_LIMIT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ANAEROBIC_HEART_RATE_UPPER_LIMIT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ANAEROBIC_THRESHOLD - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ANALOG - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
andAmendData(byte[]) - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Last chance to amend or replace BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data() before it's written to the log.
andAmendEpochTime(EpochTime) - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Last chance to amend or replace BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.epochTime() before it's written to the log.
andLimitLogTo(long) - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Calling this will crop the log to the given limit before> BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data() is written.
AndroidBluetoothDevice - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothDevice, and wraps BluetoothDevice.
AndroidBluetoothDevice(IBleDevice) - Constructor for class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
AndroidBluetoothGatt - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothGatt, and wraps BluetoothGatt.
AndroidBluetoothGatt(IBleDevice) - Constructor for class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
AndroidBluetoothManager - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothManager, and wraps BluetoothManager and BluetoothAdapter.
AndroidBluetoothManager() - Constructor for class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
AndroidBluetoothServer - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothServer, and wraps BluetoothGattServer.
APP_NEEDS_PERMISSION - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
APPARENT_WIND_DIRECTION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
APPARENT_WIND_SPEED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
appData - Variable in class com.idevicesinc.sweetblue.BleManager
Field for app to associate any data it wants with the singleton instance of this class instead of having to subclass or manage associative hash maps or something.
appData - Variable in class com.idevicesinc.sweetblue.BleNode
Field for app to associate any data it wants with instances of this class instead of having to subclass or manage associative hash maps or something.
appData() - Method in class com.idevicesinc.sweetblue.BleNode
Convenience method that casts BleNode.appData for you.
appData() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns the arbitrary app-specific data passed to BluetoothEnabler.BluetoothEnablerFilter.Please#withAppData(Object), or null.
APPEARANCE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
append(byte) - Method in class com.idevicesinc.sweetblue.utils.ByteBuffer
Append a byte to the buffer.
append(byte[]) - Method in class com.idevicesinc.sweetblue.utils.ByteBuffer
Append a byte array to this buffer
append(byte[], int) - Method in class com.idevicesinc.sweetblue.utils.ByteBuffer
Append the given byte array (of the length given, so you can pass in an array 100 bytes, but specify 50 to be added.
apply(BleDevice) - Method in class com.idevicesinc.sweetblue.rx.RxBleDeviceTransformer
 
apply(BleServer) - Method in class com.idevicesinc.sweetblue.rx.RxBleServerTransformer
 
apply(Object, Field, Object) - Method in interface com.idevicesinc.sweetblue.utils.P_JSONUtil.JSONApplier
 
applyJSONToObject(Object, JSONObject) - Static method in class com.idevicesinc.sweetblue.utils.P_JSONUtil
 
asHighPriority(boolean) - Method in class com.idevicesinc.sweetblue.ScanOptions
This will set the scan to be of the highest priority.
ASSERT(boolean) - Method in class com.idevicesinc.sweetblue.BleManager
Fires a callback to AssertListener if condition is false.
ASSERT(boolean, String) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.ASSERT(boolean) but with an added message.
ASSERT(boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Fires a callback to AssertListener if condition is false.
ASSERT(boolean, String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Same as P_BleManagerImpl.ASSERT(boolean) but with an added message.
ASSERT(boolean) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Fires a callback to AssertListener if condition is false.
ASSERT(boolean, String) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Same as RxBleManager.ASSERT(boolean) but with an added message.
AssertListener - Interface in com.idevicesinc.sweetblue
Mostly only for SweetBlue library developers.
AssertListener.AssertEvent - Class in com.idevicesinc.sweetblue
attemptTime_latest() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailEvent
How long the last connection attempt took before failing.
attemptTime_total() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailEvent
How long it's been since BleDevice.connect() (or overloads) were initially called.
Auth() - Constructor for class com.idevicesinc.sweetblue.BleTransaction.Auth
 
AUTH_RETRY_STATE_IDLE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
AUTH_RETRY_STATE_MITM - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
AUTH_RETRY_STATE_NO_MITM - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
autoBondFixes - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - By default SweetBlue will force a bond/unbond for certain phones (mostly Sony, Motorola) because it has been found to improve connection rates with them, see BondFilter docs.
autoConnectUsage() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailEvent
Whether autoConnect=true was passed to BluetoothDevice.connectGatt(Context, boolean, android.bluetooth.BluetoothGattCallback).
autoEnableNotifiesOnReconnect - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - whether to automatically enable notifications that were enabled via a call to any of the enableNotify() methods in BleDevice upon device reconnection.
autoGetServices - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - whether to automatically get services immediately after a BleDevice is BleDeviceState.BLE_CONNECTED.
AUTOMATION_IO_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
autoNegotiateMtuOnReconnect - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - whether to automatically renegotiate the MTU size that was set via BleDevice.negotiateMtu(int, ReadWriteListener), or BleDevice.negotiateMtu(int).
autoPauseResumeDetection - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is true - Controls whether BleManager.onResume() and BleManager.onPause() will get called automatically by using Application.ActivityLifecycleCallbacks.
autoReconnectDeviceWhenBleTurnsBackOn - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - if devices are kept in memory for a BleManager.turnOff()/BleManager.turnOn() cycle (or a BleManager.reset()) because BleDeviceConfig.retainDeviceWhenBleTurnsOff is true, then a BleDevice.connect() will be attempted for any devices that were previously BleDeviceState.BLE_CONNECTED.
autoScanDelayAfterBleTurnsOn - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is Interval.DISABLED.
autoScanDelayAfterResume - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is 0.5 seconds - Unless Interval.DISABLED, this option will kick off a scan BleManagerConfig.autoScanDelayAfterResume seconds after BleManager.onResume() is called, if and only if a scan had been started by calling BleManager.startScan(ScanOptions) (or any of it's overloads).
autoScanDuringOta - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is false - set this to allow or disallow autoscanning while any BleDevice is BleDeviceState.PERFORMING_OTA.
autoScanPauseTimeWhileAppIsBackgrounded - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is Interval.DISABLED - If you want a different scan time while the app is backgrounded, versus foregrounded, set this option.
autoStripeWrites - Variable in class com.idevicesinc.sweetblue.BleNodeConfig
Default is true - this will automatically stripe writes that are larger than the MTU size into multiple WRITE requests for you.
autoUpdateRate - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is 0.0202 seconds - The rate at which the library's internal update loop ticks.
avg(HistoricalDataColumn) - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_AllowsSelectColumn
 

B

Backend_HistoricalDatabase - Interface in com.idevicesinc.sweetblue.backend.historical
Defines a specification for an interface over a disk-persisted database (probably SQL-based but not necessarily) storing arbitrary historical data for each MAC-address/UUID combination provided.
Backend_HistoricalDatabase_Default - Class in com.idevicesinc.sweetblue.backend.historical
Defines a specification for an interface over a disk-persisted database (probably SQL-based but not necessarily) storing arbitrary historical data for each MAC-address/UUID combination provided.
Backend_HistoricalDatabase_Default(Context) - Constructor for class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
Backend_HistoricalDatabase_Default() - Constructor for class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
Backend_HistoricalDataList - Interface in com.idevicesinc.sweetblue.backend.historical
Defines a specification for an interface over an in-memory list of historical data that optionally syncs to/from disk using an implementation of Backend_HistoricalDatabase.
Backend_HistoricalDataList.AsyncLoadCallback - Interface in com.idevicesinc.sweetblue.backend.historical
 
Backend_HistoricalDataList_Default - Class in com.idevicesinc.sweetblue.backend.historical
 
Backend_HistoricalDataList_Default() - Constructor for class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
Backend_Modules - Class in com.idevicesinc.sweetblue.backend
A collection of Class instances used through Class.newInstance() to create instances of backend modules.
Backend_Modules() - Constructor for class com.idevicesinc.sweetblue.backend.Backend_Modules
 
BAROMETRIC_PRESSURE_TREND - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BasicUuidNameMap - Class in com.idevicesinc.sweetblue.utils
Manual convenience implementation of UuidNameMap that's basically just a HashMap.
BasicUuidNameMap() - Constructor for class com.idevicesinc.sweetblue.utils.BasicUuidNameMap
 
BATTERY_LEVEL - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BATTERY_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
beginReliableWrite() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
beginReliableWrite() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
beginReliableWrite() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Not hooked up in this class.
between(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_ClauseColumn
 
bit() - Method in enum com.idevicesinc.sweetblue.BleCharacteristicPermission
 
bit() - Method in enum com.idevicesinc.sweetblue.BleCharacteristicProperty
 
bit() - Method in enum com.idevicesinc.sweetblue.BleDescriptorPermission
 
bit() - Method in enum com.idevicesinc.sweetblue.BleDeviceState
 
bit() - Method in enum com.idevicesinc.sweetblue.BleManagerState
 
bit() - Method in enum com.idevicesinc.sweetblue.BleServerState
 
bit() - Method in enum com.idevicesinc.sweetblue.utils.AdvertisingFlag
 
bit() - Method in enum com.idevicesinc.sweetblue.utils.BleScanRecord.Option
 
bit() - Method in interface com.idevicesinc.sweetblue.utils.Flag
Returns the bit (0x1, 0x2, 0x4, etc.) this enum represents based on the Flag.ordinal().
bits() - Method in enum com.idevicesinc.sweetblue.utils.State.ChangeIntent
 
BitwiseEnum - Interface in com.idevicesinc.sweetblue.utils
Contract to force enum implementors to comply to common bitwise operations.
BLE_DEVICE_TRANSFORMER - Static variable in class com.idevicesinc.sweetblue.rx.RxBleManager
Convenience class for converting a BleDevice instance to an instance of RxBleDevice via RxJava
BLE_SERVER_TRANSFORMER - Static variable in class com.idevicesinc.sweetblue.rx.RxBleManager
Convenience class for converting a BleServer instance to an instance of RxBleServer via RxJava
BleAdvertisingSettings - Class in com.idevicesinc.sweetblue
Class used specify Ble Advertising settings.
BleAdvertisingSettings(BleAdvertisingSettings.BleAdvertisingMode, BleAdvertisingSettings.BleTransmissionPower, Interval) - Constructor for class com.idevicesinc.sweetblue.BleAdvertisingSettings
Base constructor which sets all relevant Ble advertising settings
BleAdvertisingSettings() - Constructor for class com.idevicesinc.sweetblue.BleAdvertisingSettings
BleAdvertisingSettings(BleAdvertisingSettings.BleTransmissionPower, Interval) - Constructor for class com.idevicesinc.sweetblue.BleAdvertisingSettings
BleAdvertisingSettings(BleAdvertisingSettings.BleTransmissionPower) - Constructor for class com.idevicesinc.sweetblue.BleAdvertisingSettings
BleAdvertisingSettings(Interval) - Constructor for class com.idevicesinc.sweetblue.BleAdvertisingSettings
BleAdvertisingSettings.BleAdvertisingMode - Enum in com.idevicesinc.sweetblue
Type-safe parallel of static final int members of AdvertiseSettings.
BleAdvertisingSettings.BleTransmissionPower - Enum in com.idevicesinc.sweetblue
Type-safe parallel of static final int members of AdvertiseSettings.
BleCharacteristic - Class in com.idevicesinc.sweetblue
Wrapper class which holds an instance of BluetoothGattCharacteristic.
BleCharacteristic(BluetoothGattCharacteristic) - Constructor for class com.idevicesinc.sweetblue.BleCharacteristic
 
BleCharacteristic(UhOhListener.UhOh) - Constructor for class com.idevicesinc.sweetblue.BleCharacteristic
 
BleCharacteristicPermission - Enum in com.idevicesinc.sweetblue
This enum enforces compile-time constraints over various public static int PERMISSION_ members of BluetoothGattCharacteristic.
BleCharacteristicProperty - Enum in com.idevicesinc.sweetblue
This enum enforces compile-time constraints over various public static int PROPERTY_ members of BluetoothGattCharacteristic.
BleConnectionPriority - Enum in com.idevicesinc.sweetblue
This enum enforces compile-time constraints over various public static int CONNECTION_PRIORITY_* members of BluetoothGatt and is passed to BleDevice.setConnectionPriority(BleConnectionPriority, ReadWriteListener) and returned from BleDevice.getConnectionPriority().
BleDescriptor - Class in com.idevicesinc.sweetblue
Wrapper class which holds an instance of BluetoothGattDescriptor.
BleDescriptor(BluetoothGattDescriptor) - Constructor for class com.idevicesinc.sweetblue.BleDescriptor
 
BleDescriptor(UhOhListener.UhOh) - Constructor for class com.idevicesinc.sweetblue.BleDescriptor
 
BleDescriptorOp<T extends BleDescriptorOp> - Class in com.idevicesinc.sweetblue
 
BleDescriptorOp() - Constructor for class com.idevicesinc.sweetblue.BleDescriptorOp
 
BleDescriptorOp(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorOp
 
BleDescriptorOp(UUID, UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorOp
 
BleDescriptorOp(UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorOp
 
BleDescriptorOp(BleDescriptorOp) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorOp
Constructor which creates a new BleDescriptorOp from the one given.
BleDescriptorPermission - Enum in com.idevicesinc.sweetblue
This enum enforces compile-time constraints over various public static int PERMISSION_ members of BluetoothGattDescriptor.
BleDescriptorRead - Class in com.idevicesinc.sweetblue
 
BleDescriptorRead() - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead
 
BleDescriptorRead(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead
 
BleDescriptorRead(UUID, UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead
 
BleDescriptorRead(UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead
 
BleDescriptorRead(BleDescriptorRead) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead
Constructor which creates a new BleDescriptorRead from the one given.
BleDescriptorRead.Builder - Class in com.idevicesinc.sweetblue
Builder class to build out a list (or array) of BleDescriptorRead instances.
BleDescriptorWrite - Class in com.idevicesinc.sweetblue
 
BleDescriptorWrite() - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite
 
BleDescriptorWrite(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite
 
BleDescriptorWrite(UUID, UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite
 
BleDescriptorWrite(UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite
 
BleDescriptorWrite(BleDescriptorWrite) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite
Constructor which creates a new BleDescriptorWrite from the one given.
BleDescriptorWrite.Builder - Class in com.idevicesinc.sweetblue
Builder class to build out a list (or array) of BleDescriptorWrite instances.
BleDevice - Class in com.idevicesinc.sweetblue
This is the one other class you will use the most besides BleManager.
BleDeviceConfig - Class in com.idevicesinc.sweetblue
Provides a number of options to (optionally) pass to BleDevice.setConfig(BleDeviceConfig).
BleDeviceConfig() - Constructor for class com.idevicesinc.sweetblue.BleDeviceConfig
Creates a BleDeviceConfig with all default options set.
BleDeviceConfig(JSONObject) - Constructor for class com.idevicesinc.sweetblue.BleDeviceConfig
Creates a BleDeviceConfig with all default options set.
BleDeviceConfig.AuthTransactionFactory<T extends BleTransaction.Auth> - Interface in com.idevicesinc.sweetblue
 
BleDeviceConfig.DefaultBondFilter - Class in com.idevicesinc.sweetblue
Default implementation of BondFilter that unbonds for certain phone models upon discovery and disconnects.
BleDeviceConfig.InitTransactionFactory<T extends BleTransaction.Init> - Interface in com.idevicesinc.sweetblue
 
BleDeviceConfig.RefreshOption - Enum in com.idevicesinc.sweetblue
Enumeration used with BleDeviceConfig.useGattRefresh.
BleDeviceIterator - Class in com.idevicesinc.sweetblue
Implementation of Iterator for BleDevice instances, returned from BleManager.getDevices() and its overloads.
BleDeviceIterator(List<BleDevice>) - Constructor for class com.idevicesinc.sweetblue.BleDeviceIterator
 
BleDeviceIterator(List<BleDevice>, int) - Constructor for class com.idevicesinc.sweetblue.BleDeviceIterator
 
BleDeviceIterator(List<BleDevice>, Object...) - Constructor for class com.idevicesinc.sweetblue.BleDeviceIterator
 
BleDeviceOrigin - Enum in com.idevicesinc.sweetblue
Enumeration signifying how a BleDevice instance was created.
BleDeviceState - Enum in com.idevicesinc.sweetblue
An enumeration of the various states that a BleDevice can be in.
bleDeviceStatePurgeableMask() - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
BleManager - Class in com.idevicesinc.sweetblue
The entry point to the library.
bleManager() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
 
BleManagerConfig - Class in com.idevicesinc.sweetblue
Provides a number of options to pass to the BleManager.get(Context, BleManagerConfig) singleton getter or BleManager.setConfig(BleManagerConfig).
BleManagerConfig() - Constructor for class com.idevicesinc.sweetblue.BleManagerConfig
Creates a BleManagerConfig with all default options set.
BleManagerConfig(JSONObject) - Constructor for class com.idevicesinc.sweetblue.BleManagerConfig
Creates a BleManagerConfig with all default options set.
BleManagerConfig(LogOptions) - Constructor for class com.idevicesinc.sweetblue.BleManagerConfig
Convenience constructor that populates BleManagerConfig.uuidNameMaps with Uuids using ReflectionUuidNameMap if logging is enabled.
BleManagerConfig.DeviceNameComparator - Class in com.idevicesinc.sweetblue
Default sorter class for sorting the list of devices in BleManager.
BleManagerConfig_Bonding - Class in com.idevicesinc.sweetblue.utils
Convenience class for setting common options when communicating with device which require bonding/pairing.
BleManagerConfig_Bonding() - Constructor for class com.idevicesinc.sweetblue.utils.BleManagerConfig_Bonding
 
BleManagerConfig_LowPower - Class in com.idevicesinc.sweetblue.utils
Convenience config class to use lower power.
BleManagerConfig_LowPower() - Constructor for class com.idevicesinc.sweetblue.utils.BleManagerConfig_LowPower
 
BleManagerConfig_UnitTest - Class in com.idevicesinc.sweetblue
BleManagerConfig_UnitTest() - Constructor for class com.idevicesinc.sweetblue.BleManagerConfig_UnitTest
 
BleManagerConfig_UnitTest(GattDatabase) - Constructor for class com.idevicesinc.sweetblue.BleManagerConfig_UnitTest
This constructor allows you to pass in a GattDatabase instance to be used for the default BleManagerConfig.gattFactory instance.
BleManagerState - Enum in com.idevicesinc.sweetblue
An enumeration of the various states that a BleManager can be in.
BleNode - Class in com.idevicesinc.sweetblue
Abstract base class for BleDevice and BleServer, mostly just to statically tie their APIs together wherever possible.
BleNodeConfig - Class in com.idevicesinc.sweetblue
Provides a number of options to (optionally) pass to BleServer.setConfig(BleNodeConfig).
BleNodeConfig() - Constructor for class com.idevicesinc.sweetblue.BleNodeConfig
Creates a BleNodeConfig with all default options set.
BleNodeConfig(JSONObject) - Constructor for class com.idevicesinc.sweetblue.BleNodeConfig
Creates a BleNodeConfig with all default options set.
BleNodeConfig.DefaultHistoricalDataLogFilter - Class in com.idevicesinc.sweetblue
Default implementation of BleNodeConfig.HistoricalDataLogFilter set on BleNodeConfig.historicalDataLogFilter that logs the most recent data reading to memory only, flushing the previous one.
BleNodeConfig.DefaultTaskTimeoutRequestFilter - Class in com.idevicesinc.sweetblue
Default implementation of TaskTimeoutRequestFilter that simply sets the timeout for all BleTask instances to BleNodeConfig.DefaultTaskTimeoutRequestFilter.DEFAULT_TASK_TIMEOUT seconds.
BleNodeConfig.HistoricalDataFactory - Interface in com.idevicesinc.sweetblue
Provide an instance to BleNodeConfig.historicalDataFactory to return custom subclasses of HistoricalData if you would like.
BleNodeConfig.HistoricalDataLogFilter - Interface in com.idevicesinc.sweetblue
Provide an instance of this class to BleNodeConfig.historicalDataLogFilter to control how/if historical data from BLE operations is logged.
BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent - Class in com.idevicesinc.sweetblue
Event passed to BleNodeConfig.HistoricalDataLogFilter.onEvent(HistoricalDataLogEvent) that provides information you can use to determine whether or not BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent.data() should be logged.
BleNodeConfig.HistoricalDataLogFilter.Please - Class in com.idevicesinc.sweetblue
BleNodeConfig.HistoricalDataLogFilter.Source - Enum in com.idevicesinc.sweetblue
Signifies where the data came from, usually from a BLE read or notification.
BleNotify - Class in com.idevicesinc.sweetblue
 
BleNotify() - Constructor for class com.idevicesinc.sweetblue.BleNotify
 
BleNotify(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleNotify
 
BleNotify(UUID) - Constructor for class com.idevicesinc.sweetblue.BleNotify
 
BleNotify(BleNotify) - Constructor for class com.idevicesinc.sweetblue.BleNotify
Constructor which creates a new BleNotify from the one given.
BleNotify.Builder - Class in com.idevicesinc.sweetblue
Builder class to build out a list (or array) of BleNotify instances.
BleOp<T extends BleOp> - Class in com.idevicesinc.sweetblue
Base class for basic BLE operations (read, write, notify).
BleOp() - Constructor for class com.idevicesinc.sweetblue.BleOp
 
BleOp(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleOp
 
BleOp(UUID) - Constructor for class com.idevicesinc.sweetblue.BleOp
 
BleRead - Class in com.idevicesinc.sweetblue
Builder-type class used when performing reads on BLE devices.
BleRead() - Constructor for class com.idevicesinc.sweetblue.BleRead
 
BleRead(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleRead
 
BleRead(UUID) - Constructor for class com.idevicesinc.sweetblue.BleRead
 
BleRead(BleRead) - Constructor for class com.idevicesinc.sweetblue.BleRead
Constructor which creates a new BleRead from the one given.
BleRead.Builder - Class in com.idevicesinc.sweetblue
Builder class to build out a list (or array) of BleRead instances.
BleScanApi - Enum in com.idevicesinc.sweetblue
Type-safe parallel of various static final int members of ScanSettings and a way to force pre-Lollipop scanning mode.
BleScanPower - Enum in com.idevicesinc.sweetblue
Type-safe parallel of various static final int members of ScanSettings for setting the scanning power when using the Lollipop scanning API.
BleScanRecord - Class in com.idevicesinc.sweetblue.utils
Class used to store information from a BLE scan record.
BleScanRecord() - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
Basic constructor to use if you are building a scan record to advertise.
BleScanRecord(UUID) - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
 
BleScanRecord(UUID, byte[]) - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
 
BleScanRecord(UUID, byte[], BleScanRecord.Option...) - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
 
BleScanRecord(UUID, BleScanRecord.Option...) - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
 
BleScanRecord(UUID[], BleScanRecord.Option...) - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
 
BleScanRecord(Pointer<Integer>, Pointer<Integer>, List<UUID>, boolean, short, byte[], Map<UUID, byte[]>, String, boolean) - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
Old Constructor used to be used internally when a BleDevice is discovered.
BleScanRecord(Pointer<Integer>, Pointer<Integer>, List<UUID>, boolean, List<ManufacturerData>, Map<UUID, byte[]>, String, boolean) - Constructor for class com.idevicesinc.sweetblue.utils.BleScanRecord
Constructor used internally when a BleDevice is discovered.
BleScanRecord.Option - Enum in com.idevicesinc.sweetblue.utils
Enumeration for advertising options
BleServer - Class in com.idevicesinc.sweetblue
Get an instance from BleManager.getServer().
BleServerState - Enum in com.idevicesinc.sweetblue
An enumeration of the various states that a BleServer can be in on a per-client (mac address) basis.
BleService - Class in com.idevicesinc.sweetblue
Wrapper class which holds an instance of BluetoothGattService.
BleService(UhOhListener.UhOh) - Constructor for class com.idevicesinc.sweetblue.BleService
 
BleService(BluetoothGattService) - Constructor for class com.idevicesinc.sweetblue.BleService
 
BleServices - Class in com.idevicesinc.sweetblue.utils
Static-only class with some common BLE services for BleServer.addService(BleService).
BleSetupHelper - Class in com.idevicesinc.sweetblue.utils
This class is used to handle the new hairy logic for getting bluetooth low-energy scan results that is introduced with Build.VERSION_CODES.M.
BleSetupHelper(BleManager, Activity) - Constructor for class com.idevicesinc.sweetblue.utils.BleSetupHelper
Constructor for use when you don't want a result listener.
BleSetupHelper(BleManager, Activity, BleSetupHelper.ResultListener) - Constructor for class com.idevicesinc.sweetblue.utils.BleSetupHelper
Constructor for use when you want a result listener.
BleSetupHelper.BluetoothEnablerImpl - Class in com.idevicesinc.sweetblue.utils
This class implements all of the enabler logic that can be overridden to alter the look or the messaging of the enabler.
BleSetupHelper.DefaultString - Enum in com.idevicesinc.sweetblue.utils
Enumerates the built in strings used by the enabler to convey information to users.
BleSetupHelper.ErrorCode - Enum in com.idevicesinc.sweetblue.utils
Enumerates the various errors that can happen.
BleSetupHelper.Permission - Enum in com.idevicesinc.sweetblue.utils
Enumerates the various permissions that we will try to enable (if needed)
BleSetupHelper.PermissionInstance - Class in com.idevicesinc.sweetblue.utils
This class holds a permission and user defined metadata.
BleSetupHelper.Result - Class in com.idevicesinc.sweetblue.utils
This class will be passed into your BleSetupHelper.ResultListener when the enabler finishes
BleSetupHelper.ResultListener - Interface in com.idevicesinc.sweetblue.utils
This class holds a permission and user defined metadata.
BleSetupHelper.State - Enum in com.idevicesinc.sweetblue.utils
 
BleStatuses - Class in com.idevicesinc.sweetblue
A collection of various BLE status codes that for whatever reason are not exposed through Android's public BLE layer - this can be because they are public but use the @hide annotation, or they are not public in the first place, or they can only be found by Googling for native C/C++ library code.
BleStatuses() - Constructor for class com.idevicesinc.sweetblue.BleStatuses
 
BleTask - Enum in com.idevicesinc.sweetblue
Under the hood, SweetBlue uses a priority task queue to serialize all interaction with the native BLE stack.
BleTransaction - Class in com.idevicesinc.sweetblue
Abstract base class for transactions passed to various methods of BleDevice.
BleTransaction() - Constructor for class com.idevicesinc.sweetblue.BleTransaction
 
BleTransaction.Atomicity - Enum in com.idevicesinc.sweetblue
 
BleTransaction.Auth - Class in com.idevicesinc.sweetblue
Tagging subclass to force type-discrepancy for various BleDevice.connect() overloads.
BleTransaction.EndReason - Enum in com.idevicesinc.sweetblue
Values are passed to BleTransaction.onEnd(EndReason).
BleTransaction.Init - Class in com.idevicesinc.sweetblue
Tagging subclass to force type-discrepancy for various BleDevice.connect() overloads.
BleTransaction.Ota - Class in com.idevicesinc.sweetblue
Tagging subclass to force type-correctness for BleDevice.performOta(BleTransaction.Ota).
BleUuid - Class in com.idevicesinc.sweetblue.utils
Class used to store a UUID along with the BleUuid.UuidSize of the UUID.
BleUuid(UUID, BleUuid.UuidSize) - Constructor for class com.idevicesinc.sweetblue.utils.BleUuid
 
BleUuid.UuidSize - Enum in com.idevicesinc.sweetblue.utils
Enumeration used to dictate the "size" of a UUID when building a scan packet.
BleWrite - Class in com.idevicesinc.sweetblue
Builder-type class for sending a write over BLE.
BleWrite() - Constructor for class com.idevicesinc.sweetblue.BleWrite
 
BleWrite(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleWrite
 
BleWrite(UUID) - Constructor for class com.idevicesinc.sweetblue.BleWrite
 
BleWrite(boolean) - Constructor for class com.idevicesinc.sweetblue.BleWrite
 
BleWrite(BleWrite) - Constructor for class com.idevicesinc.sweetblue.BleWrite
Constructor which creates a new BleWrite from an existing one.
BleWrite.Builder - Class in com.idevicesinc.sweetblue
Builder class to build out a list (or array) of BleWrite instances.
BleWriteTransaction - Class in com.idevicesinc.sweetblue
 
BleWriteTransaction() - Constructor for class com.idevicesinc.sweetblue.BleWriteTransaction
Use this constructor if you don't plan on setting a BleWriteTransaction.FailListener to listen for write fails in the queue.
BleWriteTransaction(BleWriteTransaction.FailListener) - Constructor for class com.idevicesinc.sweetblue.BleWriteTransaction
BleWriteTransaction(BleWriteTransaction.WriteQueueListener, BleWriteTransaction.FailListener) - Constructor for class com.idevicesinc.sweetblue.BleWriteTransaction
Instantiate a new BleWriteTransaction with a BleWriteTransaction.WriteQueueListener, which allows you to perform operations between each write in the queue, and a BleWriteTransaction.FailListener to tell the Transaction what to do on a write failure.
BleWriteTransaction.FailListener - Interface in com.idevicesinc.sweetblue
Interface for handling failures when writing.
BleWriteTransaction.FailListener.Please - Class in com.idevicesinc.sweetblue
Class used to dictate what should happen if a write fail happens.
BleWriteTransaction.WriteQueueListener - Interface in com.idevicesinc.sweetblue
Interface for listening between each write made in the queue.
BleWriteTransaction.WriteQueueListener.Please - Class in com.idevicesinc.sweetblue
Class used to tell this BleWriteTransaction to either proceed to the next write, or cancel this transaction.
BLOOD_PRESSURE_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BLOOD_PRESSURE_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BLOOD_PRESSURE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
bluetoothDeviceFactory - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
This option is exposed for unit testing.
BluetoothEnabler - Class in com.idevicesinc.sweetblue.utils
Deprecated.
Use BleSetupHelper instead. This class will be removed in v3.1
BluetoothEnabler.BluetoothEnablerFilter - Interface in com.idevicesinc.sweetblue.utils
Deprecated.
Provide an implementation to BluetoothEnabler.BluetoothEnabler(Activity, BluetoothEnablerFilter) to receive callbacks or simply use the provided class BluetoothEnabler.DefaultBluetoothEnablerFilter by calling BluetoothEnabler.start(Activity).
BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent - Class in com.idevicesinc.sweetblue.utils
Deprecated.
Events passed to BluetoothEnabler.BluetoothEnablerFilter.onEvent(BluetoothEnablerEvent) so that the programmer can assign logic to the user's decision to enable or disable certain required permissions and settings.
BluetoothEnabler.BluetoothEnablerFilter.Please - Class in com.idevicesinc.sweetblue.utils
Deprecated.
BluetoothEnabler.BluetoothEnablerFilter.Stage - Enum in com.idevicesinc.sweetblue.utils
Deprecated.
Enumerates changes in the "enabling" stage before a Bluetooth LE scan is started.
BluetoothEnabler.BluetoothEnablerFilter.Status - Enum in com.idevicesinc.sweetblue.utils
Deprecated.
BluetoothEnabler.DefaultBluetoothEnablerFilter - Class in com.idevicesinc.sweetblue.utils
Deprecated.
A default implementation of BluetoothEnablerListener used in BluetoothEnabler.start(Activity).
BluetoothEnablerImpl() - Constructor for class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
 
bluetoothManagerImplementation - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
This option is exposed for unit testing.
BODY_COMPOSITION_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BODY_COMPOSITION_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BODY_COMPOSITION_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BODY_SENSOR_LOCATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
bond(BondListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.bond() but you can pass a listener to be notified of the details behind success or failure.
bond() - Method in class com.idevicesinc.sweetblue.BleDevice
Attempts to create a bond.
bond() - Static method in class com.idevicesinc.sweetblue.BondFilter.Please
Device should be bonded if it isn't already.
bond(BondListener) - Static method in class com.idevicesinc.sweetblue.BondFilter.Please
Same as BondFilter.Please.bond() but lets you pass a BondListener as well.
bond(BondListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
bond() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Bonds this device.
BOND_BONDED - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
BOND_BONDING - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
BOND_FAIL_REASON_NOT_APPLICABLE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
BOND_FAIL_REASON_NOT_AVAILABLE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Used when attempting to bond on a device whose API level is less than 19, or does not have access to android's BluetoothDevice.createBond() method.
bond_justAddTheTask(P_Task_Bond.E_TransactionLockBehavior, boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
BOND_MANAGEMENT_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BOND_MANAGEMENT_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BOND_MANAGEMENT_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BOND_NONE - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
bond_private(boolean, boolean, BondListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
bond_private(BondFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
BOND_SUCCESS - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt succeeded.
BondException - Exception in com.idevicesinc.sweetblue.rx.exception
 
BondException(BondListener.BondEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.BondException
 
bondFail(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.bondFail(BleDevice, int, Interval) which delays the callback by 50ms.
bondFail(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a bond has failed with the provided reason..something like BleStatuses.UNBOND_REASON_AUTH_FAILED, or BleStatuses.UNBOND_REASON_REMOTE_DEVICE_DOWN, and delays the callback by the amount specified.
bondFailReason() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
bondFilter - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is instance of BleDeviceConfig.DefaultBondFilter.
BondFilter - Interface in com.idevicesinc.sweetblue
As of now there are two main default uses for this class...
BondFilter.CharacteristicEvent - Class in com.idevicesinc.sweetblue
BondFilter.CharacteristicEventType - Enum in com.idevicesinc.sweetblue
An enumeration of the type of characteristic operation for a BondFilter.CharacteristicEvent.
BondFilter.ConnectionBugEvent - Class in com.idevicesinc.sweetblue
 
BondFilter.ConnectionBugEvent.Please - Class in com.idevicesinc.sweetblue
 
BondFilter.Please - Class in com.idevicesinc.sweetblue
Return value for the various interface methods of BondFilter.
BondFilter.StateChangeEvent - Class in com.idevicesinc.sweetblue
Just a dummy subclass of DeviceStateListener.StateEvent so that this gets auto-imported for implementations of BondFilter.
bondIf(boolean) - Static method in class com.idevicesinc.sweetblue.BondFilter.Please
Returns BondFilter.Please.bond() if the given condition holds true, BondFilter.Please.doNothing() otherwise.
bondIf(boolean, BondListener) - Static method in class com.idevicesinc.sweetblue.BondFilter.Please
Same as BondFilter.Please.bondIf(boolean) but lets you pass a BondListener as well.
bondingFailFailsConnection - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
BondListener - Interface in com.idevicesinc.sweetblue
bondListener(BondFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
BondListener.BondEvent - Class in com.idevicesinc.sweetblue
Struct passed to BondListener.onEvent(BondEvent) to provide more information about a BleDevice.bond() attempt.
BondListener.Status - Enum in com.idevicesinc.sweetblue
Used on BondListener.BondEvent.status() to roughly enumerate success or failure.
bondRetryFilter - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BondRetryFilter.DefaultBondRetryFilter - This allows to you implement your own logic on whether or not SweetBlue should retry a failed bond.
BondRetryFilter - Interface in com.idevicesinc.sweetblue
Interface used to tell SweetBlue how to behave when a bond attempt fails.
BondRetryFilter.DefaultBondRetryFilter - Class in com.idevicesinc.sweetblue
The default BondRetryFilter that SweetBlue uses.
BondRetryFilter.Please - Class in com.idevicesinc.sweetblue
Please class to tell the library if it should retry bonding to the device again or not.
BondRetryFilter.RetryEvent - Class in com.idevicesinc.sweetblue
Event class which holds an instance of the device that a bond has failed on, and the failure code.
BondRetryFilter.Status - Enum in com.idevicesinc.sweetblue
 
bondSuccess(BleDevice) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.bondSuccess(BleDevice, Interval) which delays the callback by 50ms.
bondSuccess(BleDevice, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send the callback that a bond was successful, and delays the callback by the amount of time specified
bondTiming(BondListener.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
bool(Boolean, Boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
bool(Boolean, Boolean) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
boolOrDefault(Boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
boolOrDefault(Boolean) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
BOOT_KEYBOARD_INPUT_REPORT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BOOT_KEYBOARD_OUTPUT_REPORT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
BOOT_MOUSE_INPUT_REPORT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
broadcast() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
build() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Build this BleCharacteristic, and add it to it's parent BleService via ServiceBuilder.
build() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicPermissions
 
build() - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Build this BleDescriptor, and add it to its parent BleCharacteristic.
build() - Method in class com.idevicesinc.sweetblue.utils.DescriptorPermissions
 
build() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
build() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
build() - Method in class com.idevicesinc.sweetblue.utils.ServiceBuilder
Builds the current BleService, and returns the parent GattDatabase.
Builder() - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead.Builder
 
Builder(UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead.Builder
 
Builder(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead.Builder
 
Builder(UUID, UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorRead.Builder
 
Builder() - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
 
Builder(UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
 
Builder(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
 
Builder(UUID, UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
 
Builder() - Constructor for class com.idevicesinc.sweetblue.BleNotify.Builder
 
Builder(UUID) - Constructor for class com.idevicesinc.sweetblue.BleNotify.Builder
 
Builder(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleNotify.Builder
 
Builder() - Constructor for class com.idevicesinc.sweetblue.BleRead.Builder
 
Builder(UUID) - Constructor for class com.idevicesinc.sweetblue.BleRead.Builder
 
Builder(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleRead.Builder
 
Builder() - Constructor for class com.idevicesinc.sweetblue.BleWrite.Builder
 
Builder(UUID) - Constructor for class com.idevicesinc.sweetblue.BleWrite.Builder
 
Builder(UUID, UUID) - Constructor for class com.idevicesinc.sweetblue.BleWrite.Builder
 
Builder() - Constructor for class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
 
buildPacket() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Build a byte[] scan record from the data stored in this instance.
buildService() - Method in class com.idevicesinc.sweetblue.utils.ServiceBuilder
Builds and returns the current BleService.
ByteBuffer - Class in com.idevicesinc.sweetblue.utils
Convenience class to build up a byte array by appending bytes, or byte arrays.
ByteBuffer(int) - Constructor for class com.idevicesinc.sweetblue.utils.ByteBuffer
Initialize this buffer with the given initial size
ByteBuffer(byte[]) - Constructor for class com.idevicesinc.sweetblue.utils.ByteBuffer
Create a new ByteBuffer with the given byte array.
ByteBuffer() - Constructor for class com.idevicesinc.sweetblue.utils.ByteBuffer
Construct a new ByteBuffer with the default of ByteBuffer.DEFAULT_BUFFER_SIZE.
bytes() - Method in class com.idevicesinc.sweetblue.utils.ByteBuffer
Returns the bytes currently in this buffer.
bytesAndClear() - Method in class com.idevicesinc.sweetblue.utils.ByteBuffer
Returns the bytes that were added to this buffer.
byteSize() - Method in enum com.idevicesinc.sweetblue.utils.BleUuid.UuidSize
 
bytesToMacAddress(byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 

C

cacheDeviceOnUndiscovery - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - controls whether a BleDevice is placed into an in-memory cache when it becomes BleDeviceState.UNDISCOVERED.
callBooleanReturnMethod(Object, String, boolean) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Reflection
 
callBooleanReturnMethod(Object, String, Class[], boolean, Object...) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Reflection
 
cancel() - Method in class com.idevicesinc.sweetblue.BleTransaction
 
cancel() - Static method in class com.idevicesinc.sweetblue.BleWriteTransaction.WriteQueueListener.Please
Cancels this BleWriteTransaction.
cancel() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
 
cancelBond() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
cancelBond() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
cancelBond() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Cancels an active bond attempt.
cancelConnection(P_DeviceHolder) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
cancelConnection(P_DeviceHolder) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
cancelConnection(P_DeviceHolder) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called when attempting to disconnect a device from a BleServer instance.
cancelDiscovery() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
cancelDiscovery() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
cancelDiscovery() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called internally when the system wants to stop a classic scan.
canFailConnection(BondListener.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
canPerformAutoScan() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
cast() - Method in class com.idevicesinc.sweetblue.BleNode
Just some sugar for casting to subclasses.
cast(Class<T>) - Method in class com.idevicesinc.sweetblue.BleNode
Safer version of BleNode.cast() that will return BleDevice.NULL or BleServer.NULL if the cast cannot be made.
CENTRAL_ADDRESS_RESOLUTION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CGM_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CGM_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CGM_SESSION_RUN_TIME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CGM_SESSION_START_TIME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CGM_SPECIFIC_OPS_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CGM_STATUS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ChangeEvent(int, int, int) - Constructor for class com.idevicesinc.sweetblue.utils.State.ChangeEvent
 
characteristic() - Method in class com.idevicesinc.sweetblue.DescriptorFilter.DescriptorEvent
Convenience method which returns the current BluetoothGattCharacteristic.
characteristic() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
characteristic() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
characteristic() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
characteristic() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
CHARACTERISTIC_AGGREGATE_FORMAT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CHARACTERISTIC_EXTENDED_PROPERTIES - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CHARACTERISTIC_PRESENTATION_FORMAT_DESCRIPTOR_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CHARACTERISTIC_USER_DESCRIPTION_DESCRIPTOR_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CharacteristicBuilder - Class in com.idevicesinc.sweetblue.utils
Builder class used to create and configure a BluetoothGattCharacteristic to be entered into a BluetoothGattService.
CharacteristicPermissions - Class in com.idevicesinc.sweetblue.utils
 
charName(IBleManager, UUID) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
charName(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
charUuid() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
charUuid() - Method in class com.idevicesinc.sweetblue.BondFilter.CharacteristicEvent
Returns the UUID of the characteristic in question.
charUuid() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The UUID of the characteristic associated with this ExchangeListener.ExchangeEvent.
charUuid() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
The UUID of the characteristic associated with this NotificationListener.NotificationEvent.
charUuid() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
The UUID of the characteristic associated with this ReadWriteListener.ReadWriteEvent.
charUuid() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
charUuid() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
charUuid() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
The ble characteristic UUID associated with the task if BleTask.usesCharUuid() returns true, or Uuids.INVALID otherwise.
checkAndHandleConnectionBug() - Method in class com.idevicesinc.sweetblue.internal.ConnectionBugHack
 
checkIdleStatus() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
checkIsCustomPermissionEnabled(Object) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
This method is used by the enabler to determine if a given custom permission enabled.
checkIsCustomPermissionRequired(Object) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
This method is used by the enabler to determine if a given custom permission is required.
checkIsEnabled(BleSetupHelper.PermissionInstance) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
checkIsRequired(BleSetupHelper.PermissionInstance) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
checkPlease(IBleManager, T, Class<T>) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
clamp() - Method in class com.idevicesinc.sweetblue.utils.Percent
Returns a new instance clamped between 0% and 100%.
clear() - Method in class com.idevicesinc.sweetblue.utils.ByteBuffer
Clears the buffer of any existing data.
clear() - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
clear() - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
clear(String) - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
clearAll() - Static method in class com.idevicesinc.sweetblue.utils.CodeHelper
 
clearAllData() - Method in class com.idevicesinc.sweetblue.BleDevice
One method to remove absolutely all "metadata" related to this device that is stored on disk and/or cached in memory in any way.
clearAllData() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearAllData() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
One method to remove absolutely all "metadata" related to this device that is stored on disk and/or cached in memory in any way.
clearHistoricalData() - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device.
clearHistoricalData(long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device.
clearHistoricalData(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device within the given range.
clearHistoricalData(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device within the given range.
clearHistoricalData(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData(UUID...) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.clearHistoricalData(UUID) that just calls that method multiple times.
clearHistoricalData(UUID, long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearHistoricalData(UUID, EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearHistoricalData() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearHistoricalData(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearHistoricalData(UUID, EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearHistoricalData() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device.
clearHistoricalData(long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device.
clearHistoricalData(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device within the given range.
clearHistoricalData(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device within the given range.
clearHistoricalData(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData(UUID...) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Overload of RxBleDevice.clearHistoricalData(UUID) that just calls that method multiple times.
clearHistoricalData(UUID, long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearHistoricalData(UUID, EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearHistoricalData_memoryOnly() - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device.
clearHistoricalData_memoryOnly(long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device.
clearHistoricalData_memoryOnly(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device within the given range.
clearHistoricalData_memoryOnly(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device within the given range.
clearHistoricalData_memoryOnly(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData_memoryOnly(UUID, long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData_memoryOnly(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearHistoricalData_memoryOnly(UUID, EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.BleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearHistoricalData_memoryOnly() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearHistoricalData_memoryOnly(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearHistoricalData_memoryOnly(UUID, EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearHistoricalData_memoryOnly() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device.
clearHistoricalData_memoryOnly(long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device.
clearHistoricalData_memoryOnly(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device within the given range.
clearHistoricalData_memoryOnly(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device within the given range.
clearHistoricalData_memoryOnly(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData_memoryOnly(UUID, long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID.
clearHistoricalData_memoryOnly(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears all HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearHistoricalData_memoryOnly(UUID, EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears the first count number of HistoricalData tracked by this device for a particular characteristic UUID within the given range.
clearListeners() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearListeners() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
clearName() - Method in class com.idevicesinc.sweetblue.BleDevice
Clears any name previously provided through BleDevice.setName(String) or overloads.
clearName() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearName() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Clears any name previously provided through RxBleDevice.setName(String) or overloads.
clearQueue() - Method in class com.idevicesinc.sweetblue.BleManager
This method will clear the task queue of all tasks.
clearQueue() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
This method will clear the task queue of all tasks.
clearQueue() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
This method will clear the task queue of all tasks.
clearQueueOf(IBleManager, Class<? extends PA_Task>) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
clearScanningRelatedMembers(PA_StateTracker.E_Intent) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
clearServiceData() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Clear all service data that may be in this BleScanRecord instance.
clearServices() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
clearServices() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
clearServices() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called by the library when it wants to remove all BleServices from this BleServer instance.
clearServiceUUIDs() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Clears any service UUIDs in this instance.
clearSharedPreferences() - Method in class com.idevicesinc.sweetblue.BleDevice
clearSharedPreferences(BleDevice) - Method in class com.idevicesinc.sweetblue.BleManager
clearSharedPreferences(String) - Method in class com.idevicesinc.sweetblue.BleManager
Clears all data currently being held in SharedPreferences for a particular device.
clearSharedPreferences() - Method in class com.idevicesinc.sweetblue.BleManager
Clears all data currently being held in SharedPreferences for all devices.
clearSharedPreferences() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
clearSharedPreferences(BleDevice) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
clearSharedPreferences(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Clears all data currently being held in SharedPreferences for a particular device.
clearSharedPreferences() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Clears all data currently being held in SharedPreferences for all devices.
clearSharedPreferences() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
clearSharedPreferences(RxBleDevice) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
clearSharedPreferences(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Clears all data currently being held in SharedPreferences for a particular device.
clearSharedPreferences() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Clears all data currently being held in SharedPreferences for all devices.
clearTimeTurnedOn() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
CLIENT_CHARACTERISTIC_CONFIGURATION_DESCRIPTOR_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
clone() - Method in class com.idevicesinc.sweetblue.BleDeviceConfig
 
clone() - Method in class com.idevicesinc.sweetblue.BleManagerConfig
 
clone() - Method in class com.idevicesinc.sweetblue.BleNodeConfig
 
clone() - Method in class com.idevicesinc.sweetblue.rx.RxBleDeviceConfig
 
clone() - Method in class com.idevicesinc.sweetblue.rx.RxBleManagerConfig
 
close() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
close() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
close() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called when the system wants to shutdown the BleServer instance.
close() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
close() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Closes the Cursor, releasing all of its resources and making it completely invalid.
closeGatt() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
closeGatt() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
closeGatt() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Another internal method that does nothing when unit testing.
CodeHelper - Class in com.idevicesinc.sweetblue.utils
 
com.idevicesinc.sweetblue - package com.idevicesinc.sweetblue
Contains the core public-facing classes BleDevice and BleManager and most of the internal guts for SweetBlue, the easiest way to do BLE on Android.
com.idevicesinc.sweetblue.annotations - package com.idevicesinc.sweetblue.annotations
Contains Annotation declarations used throughout the library.
com.idevicesinc.sweetblue.api - package com.idevicesinc.sweetblue.api
 
com.idevicesinc.sweetblue.backend - package com.idevicesinc.sweetblue.backend
Contains specification and default implementation of "backend" modules for SweetBlue.
com.idevicesinc.sweetblue.backend.historical - package com.idevicesinc.sweetblue.backend.historical
Contains specification and default implementation of a "backend" for instances of BleDevice that stores and manages historical data.
com.idevicesinc.sweetblue.compat - package com.idevicesinc.sweetblue.compat
Contains utility classes for hiding away newer API calls.
com.idevicesinc.sweetblue.defaults - package com.idevicesinc.sweetblue.defaults
Contains default implementations of various interfaces and classes.
com.idevicesinc.sweetblue.internal - package com.idevicesinc.sweetblue.internal
Contains classes for internal use of the library.
com.idevicesinc.sweetblue.internal.android - package com.idevicesinc.sweetblue.internal.android
Contains the android specific classes for dealing with the bluetooth API on Android.
com.idevicesinc.sweetblue.rx - package com.idevicesinc.sweetblue.rx
Contains the core public-facing RxJava classes.
com.idevicesinc.sweetblue.rx.annotations - package com.idevicesinc.sweetblue.rx.annotations
Contains the annotations specific to the SweetBlueRx module.
com.idevicesinc.sweetblue.rx.exception - package com.idevicesinc.sweetblue.rx.exception
Contains Exception classes specific to the SweetBlueRx module.
com.idevicesinc.sweetblue.rx.plugins - package com.idevicesinc.sweetblue.rx.plugins
Contains the RxJava plugin class for the SweetBlueRx module.
com.idevicesinc.sweetblue.rx.schedulers - package com.idevicesinc.sweetblue.rx.schedulers
Contains scheduling classes specific to the SweetBlueRx module.
com.idevicesinc.sweetblue.utils - package com.idevicesinc.sweetblue.utils
Contains a few optional utilities that you may find useful, but nothing in here is a core part of the library as far as the library user is concerned.
compare(BleDevice, BleDevice) - Method in class com.idevicesinc.sweetblue.BleManagerConfig.DeviceNameComparator
 
compareTo(EpochTime) - Method in class com.idevicesinc.sweetblue.utils.EpochTime
 
compareTo(TimeTracker.Record) - Method in class com.idevicesinc.sweetblue.utils.TimeTracker.Record
 
completeChar() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicPermissions
 
completeChar() - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Calls DescriptorBuilder.build(), then builds the parent BleCharacteristic.
completeChar() - Method in class com.idevicesinc.sweetblue.utils.DescriptorPermissions
 
completeDesc() - Method in class com.idevicesinc.sweetblue.utils.DescriptorPermissions
 
completeService() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Calls CharacteristicBuilder.build(), then builds the parent BleService, and add it to the database.
completeService() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicPermissions
 
completeService() - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Calls DescriptorBuilder.build(), then builds the parent BleCharacteristic, then builds the parent BleService.
completeService() - Method in class com.idevicesinc.sweetblue.utils.DescriptorPermissions
 
completeService() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
concatStrings(String...) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
conf_device() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
conf_mngr() - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
conf_node() - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
conf_node() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
conf_node() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
CONN_CANCEL - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
CONN_FAIL_ESTABLISH - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
CONN_LMP_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
CONN_NO_RESOURCES - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
CONN_SUCCESS - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
CONN_TERMINATE_LOCAL_HOST - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
CONN_TERMINATE_PEER_USER - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
CONN_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
connect() - Method in class com.idevicesinc.sweetblue.BleDevice
Starts a connection process, or does nothing if already BleDeviceState.BLE_CONNECTED or BleDeviceState.BLE_CONNECTING.
connect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Starts a connection process, or does nothing if already BleDeviceState.BLE_CONNECTED or BleDeviceState.BLE_CONNECTING.
connect(BleTransaction.Auth) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.connect() but provides a hook for the app to do some kind of authentication handshake if it wishes.
connect(BleTransaction.Init) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.connect() but provides a hook for the app to do some kind of initialization before it's considered fully BleDeviceState.INITIALIZED.
connect(BleTransaction.Auth, BleTransaction.Init) - Method in class com.idevicesinc.sweetblue.BleDevice
connect(BleTransaction.Auth, BleTransaction.Init, DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.BleDevice
connect(String) - Method in class com.idevicesinc.sweetblue.BleServer
connect(String, ServerConnectListener) - Method in class com.idevicesinc.sweetblue.BleServer
connect(String, ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleServer
connect(String, ServerConnectListener, ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleServer
Connect to the given client mac address and provided listeners that are shorthand for calling BleServer.setListener_State(ServerStateListener) BleServer.setListener_ReconnectFilter(ServerReconnectFilter).
connect(BluetoothDevice, boolean, Context, BluetoothGattCallback) - Static method in class com.idevicesinc.sweetblue.compat.M_Util
 
connect(BluetoothDevice, boolean, Context, BluetoothGattCallback) - Static method in class com.idevicesinc.sweetblue.compat.O_Util
 
connect(Context, boolean, BluetoothGattCallback) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
connect(IBluetoothDevice, Context, boolean, BluetoothGattCallback) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
connect(P_DeviceHolder, boolean) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
connect(Context, boolean, BluetoothGattCallback) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
connect(IBluetoothDevice, Context, boolean, BluetoothGattCallback) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
connect(P_DeviceHolder, boolean) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
connect(BleTransaction.Auth, BleTransaction.Init, DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
connect(String, ServerConnectListener, ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Connect to the given client mac address and provided listeners that are shorthand for calling P_BleServerImpl.setListener_State(ServerStateListener) P_BleServerImpl.setListener_ReconnectFilter(ServerReconnectFilter).
connect() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Connect to this BLE device.
connect(RxBleTransaction.RxAuth, RxBleTransaction.RxInit) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Similar to RxBleDevice.connect(), only this method allows you to pass in RxBleTransaction.RxAuth, and RxBleTransaction.RxInit instances for this specific device -- instead of using BleDeviceConfig.defaultAuthFactory, or BleDeviceConfig.defaultInitFactory.
connect(RxBleTransaction.RxAuth) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
connect(RxBleTransaction.RxInit) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
connect(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
connect(String, ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
connect(Context, boolean, BluetoothGattCallback) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
This always returns null.
connect(IBluetoothDevice, Context, boolean, BluetoothGattCallback) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Connects to the device.
connect(P_DeviceHolder, boolean) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called when the system wants to connect the BleServer instance to a device.
connect_internal(P_DeviceHolder, boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
connect_withRetries() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Similar to RxBleDevice.connect(), only the Emitter.onNext(Object) method can get called multiple times depending on what logic is implemented in BleDeviceConfig.reconnectFilter.
connect_withRetries(RxBleTransaction.RxAuth, RxBleTransaction.RxInit) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Similar to RxBleDevice.connect_withRetries(), only this method allows you to pass in RxBleTransaction.RxAuth, and RxBleTransaction.RxInit instances for this specific device -- instead of using BleDeviceConfig.defaultAuthFactory, or BleDeviceConfig.defaultInitFactory.
connect_withRetries(RxBleTransaction.RxAuth) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
connect_withRetries(RxBleTransaction.RxInit) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
connect_withRetries(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
connect_withRetries(String, ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
ConnectException - Exception in com.idevicesinc.sweetblue.rx.exception
Exception class used to indicate a connection failure, which holds an instance of DeviceReconnectFilter.ConnectFailEvent, when using RxBleDevice.connect().
ConnectException(DeviceReconnectFilter.ConnectFailEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.ConnectException
 
ConnectFailBluetoothGatt - Class in com.idevicesinc.sweetblue
Implementation of UnitTestBluetoothGatt which will fail connection attempts.
ConnectFailBluetoothGatt(IBleDevice, ConnectFailBluetoothGatt.FailurePoint) - Constructor for class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
ConnectFailBluetoothGatt(IBleDevice, ConnectFailBluetoothGatt.FailurePoint, ConnectFailBluetoothGatt.FailureType) - Constructor for class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
ConnectFailBluetoothGatt(IBleDevice, ConnectFailBluetoothGatt.FailurePoint, ConnectFailBluetoothGatt.FailureType, Interval) - Constructor for class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
Base constructor used when not providing a GattDatabase instance.
ConnectFailBluetoothGatt(IBleDevice, GattDatabase, ConnectFailBluetoothGatt.FailurePoint, ConnectFailBluetoothGatt.FailureType) - Constructor for class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
ConnectFailBluetoothGatt(IBleDevice, GattDatabase, ConnectFailBluetoothGatt.FailurePoint, ConnectFailBluetoothGatt.FailureType, Interval) - Constructor for class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
Base constructor used when passing in a GattDatabase instance.
ConnectFailBluetoothGatt.FailurePoint - Enum in com.idevicesinc.sweetblue
Enumeration used to dictate where in the connection process the failure should happen.
ConnectFailBluetoothGatt.FailureType - Enum in com.idevicesinc.sweetblue
Enumeration used to dictate what type of failure should be reported.
connectFailRetryConnectingOverall - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - whether SweetBlue should retry a connect after successfully connecting via BLE.
connectionBugFixTimeout - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
ConnectionBugHack - Class in com.idevicesinc.sweetblue.internal
 
ConnectionBugHack(IBleDevice) - Constructor for class com.idevicesinc.sweetblue.internal.ConnectionBugHack
 
connectionFailEvent() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
Returns the more detailed information about why the connection failed.
connectionPriority() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
connectionPriority() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
contains(Object) - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
contains(Object[], Object) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
CONTINUOUS_GLUCOSE_MONITORING_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
convertNativeFilterList(List<NativeScanFilter>) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
copyStringToBuffer(int, CharArrayBuffer) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
createActivity() - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Subclasses must implement this method, and a valid, non-null Activity instance is expected.
createBleOp(UUID, UUID, UUID, DescriptorFilter, byte[], ReadWriteListener.Type) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
createBond(BluetoothDevice) - Static method in class com.idevicesinc.sweetblue.compat.K_Util
 
createBond() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
createBond() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
createBond() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Creates a bond with the device.
createBondSneaky(String, boolean) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
createBondSneaky(String, boolean) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
createBondSneaky(String, boolean) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
This method is effectively the same as UnitTestBluetoothDevice.createBond() when running in a unit test.
createDuplicate(T) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
createInstance(Context, String) - Static method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.createInstance(Context, BleManagerConfig, String), which uses the default config options.
createInstance(Context, BleManagerConfig, String) - Static method in class com.idevicesinc.sweetblue.BleManager
Use this method to create the BleManager singleton instance.
createInstance(Context, RxBleManagerConfig, String) - Static method in class com.idevicesinc.sweetblue.rx.RxBleManager
Creates a new instance of RxBleManager, if it does not already exist.
createInstance(TimeTrackerSetting) - Static method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
createNewOp(BleOp) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
createWorker() - Method in class com.idevicesinc.sweetblue.rx.schedulers.SweetBlueScheduler
 
CROSS_TRAINER_DATA - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CSC_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CSC_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CURRENT_TIME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CURRENT_TIME_SERVICE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CURRENT_TIME_SERVICE__CURRENT_TIME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CURRENT_TIME_SERVICE__LOCAL_TIME_INFO - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CURRENT_TIME_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
currentTime() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
currentTime() - Static method in class com.idevicesinc.sweetblue.utils.BleServices
Returns a new service conforming to the "Current Time Service" specification.
cursor() - Method in class com.idevicesinc.sweetblue.HistoricalDataQueryListener.HistoricalDataQueryEvent
The resulting Cursor from the database query.
CYCLING_POWER_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CYCLING_POWER_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CYCLING_POWER_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CYCLING_POWER_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CYCLING_POWER_VECTOR - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
CYCLING_SPEED_AND_CADENCE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 

D

d(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
d(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
d(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
d_native(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
d_native(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
d_native(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
data() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
The data to be written.
data() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
The data received from the peripheral.
data() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
data() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
data() - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_AllowsSelectColumn
 
data_byte() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Returns the first byte from NotificationListener.NotificationEvent.data(), or 0x0 if not available.
data_byte() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Returns the first byte from ReadWriteListener.ReadWriteEvent.data(), or 0x0 if not available.
data_byte() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data_byte() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
data_int(boolean) - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Convenience method that attempts to parse NotificationListener.NotificationEvent.data() as an int.
data_int(boolean) - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Convenience method that attempts to parse ReadWriteListener.ReadWriteEvent.data() as an int.
data_int(boolean) - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data_int(boolean) - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
data_long(boolean) - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Convenience method that attempts to parse NotificationListener.NotificationEvent.data() as a long.
data_long(boolean) - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Convenience method that attempts to parse ReadWriteListener.ReadWriteEvent.data() as a long.
data_long(boolean) - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data_long(boolean) - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
data_received() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The data received from the client if ExchangeListener.ExchangeEvent.type() is ExchangeListener.Type.isWrite(), otherwise an empty byte array.
data_received() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
data_sent() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
The data that was attempted to be sent back to the client if ExchangeListener.ExchangeEvent.type() ExchangeListener.Type.isRead() is true.
data_sent() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
data_short(boolean) - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Convenience method that attempts to parse NotificationListener.NotificationEvent.data() as a short.
data_short(boolean) - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Convenience method that attempts to parse ReadWriteListener.ReadWriteEvent.data() as a short.
data_short(boolean) - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data_short(boolean) - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
data_string() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Best effort parsing of NotificationListener.NotificationEvent.data() as a String.
data_string(String) - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Convenience method that attempts to parse NotificationListener.NotificationEvent.data() as a String with the given charset, for example "UTF-8".
data_string() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Best effort parsing of ReadWriteListener.ReadWriteEvent.data() as a String.
data_string(String) - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Convenience method that attempts to parse ReadWriteListener.ReadWriteEvent.data() as a String with the given charset, for example "UTF-8".
data_string() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data_string(String) - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data_string() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
data_string(String) - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
data_utf8() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Convenience method that attempts to parse the data as a UTF-8 string.
data_utf8() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Convenience method that attempts to parse the data as a UTF-8 string.
data_utf8() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
data_utf8() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
DATABASE_CHANGE_INCREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DATE_OF_BIRTH - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DATE_OF_THRESHOLD_ASSESSMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DATE_TIME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DAY_DATE_TIME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DAY_OF_WEEK - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
deactivate() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
debugizeDeviceName(String, String, boolean) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
DebugLogger - Class in com.idevicesinc.sweetblue.utils
Logger class which prints SweetBlue logs to Android's logcat.
DebugLogger() - Constructor for class com.idevicesinc.sweetblue.utils.DebugLogger
Default constructor which sets the max log size of DebugLogger.DEFAULT_MAX_SIZE.
DebugLogger(int) - Constructor for class com.idevicesinc.sweetblue.utils.DebugLogger
Constructor which allows you to set a custom max log count size.
DebugLogger(int, boolean) - Constructor for class com.idevicesinc.sweetblue.utils.DebugLogger
Constructor which allows you to set a custom max log count size, and whether or not you want the logger to print to log cat.
DebugLogger.LogEvent - Interface in com.idevicesinc.sweetblue.utils
 
debugThreadNames - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
DEFAULT_AUTO_SCAN_DELAY_AFTER_RESUME - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_AUTO_UPDATE_RATE - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_BUFFER_SIZE - Static variable in class com.idevicesinc.sweetblue.utils.ByteBuffer
The default size to initialize the ByteBuffer with.
DEFAULT_CLASSIC_SCAN_BOOST_TIME - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_CONNECTION_BUG_FIX_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
The default value used for BleDeviceConfig.connectionBugFixTimeout.
DEFAULT_CONNECTION_FAIL_RETRY_COUNT - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
The default retry count provided to DefaultDeviceReconnectFilter.
DEFAULT_CONNECTION_FAIL_RETRY_COUNT - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
The default retry count provided to DefaultServerReconnectFilter.
DEFAULT_CRASH_RESOLVER_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.BleNodeConfig.DefaultTaskTimeoutRequestFilter
Value used for crash resolver process because this can take a bit longer.
DEFAULT_DELAY_BEFORE_IDLE - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
An instance of IBluetoothDevice.DefaultFactory used by the library, unless BleManagerConfig.bluetoothDeviceFactory is changed.
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
An instance of IBluetoothGatt.DefaultFactory used by the library, unless BleManagerConfig.gattFactory is changed.
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
An instance of IBluetoothManager.DefaultFactory used by the library, unless BleManagerConfig.bluetoothManagerImplementation is changed.
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
An instance of IBluetoothServer.DefaultFactory used by the library, unless BleManagerConfig.serverFactory is changed.
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener
 
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.android.IManagerListener
 
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.android.IServerListener
 
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.IBleDevice
Default factory implementation which instantiates BleDeviceImpl
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.IBleServer
Default factory instance to create new instances of IBleServer via BleServerImpl.
DEFAULT_FACTORY - Static variable in interface com.idevicesinc.sweetblue.internal.IBleTransaction
 
DEFAULT_FAIL_COUNT_BEFORE_USING_AUTOCONNECT - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
The default connection fail limit past which DefaultDeviceReconnectFilter will start returning ReconnectFilter.ConnectFailPlease.retryWithAutoConnectTrue().
DEFAULT_FAIL_COUNT_BEFORE_USING_AUTOCONNECT - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
The default connection fail limit past which DefaultServerReconnectFilter will start returning ReconnectFilter.ConnectFailPlease.retryWithAutoConnectTrue().
DEFAULT_GATT_REFRESH_DELAY - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
This only applies when BleDeviceConfig.useGattRefresh is true.
DEFAULT_IDLE_UPDATE_RATE - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_INITIAL_RECONNECT_DELAY - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
DEFAULT_INITIAL_RECONNECT_DELAY - Static variable in class com.idevicesinc.sweetblue.ReconnectFilter.DefaultNullReconnectFilter
 
DEFAULT_INSTANCE - Static variable in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
Default instance of IBluetoothManager used by the library, unless BleManagerConfig.bluetoothManagerImplementation is changed.
DEFAULT_MANAGER_STATE_POLL_RATE - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_MAX_BOND_RETRIES - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
The default value used for BondRetryFilter.DefaultBondRetryFilter.
DEFAULT_MAX_CONNECTION_FAIL_HISTORY_SIZE - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
The default value of BleDeviceConfig.maxConnectionFailHistorySize, the size of the list that keeps track of a BleNode's connection failure history.
DEFAULT_MAX_CONNECTION_FAIL_HISTORY_SIZE - Static variable in class com.idevicesinc.sweetblue.BleNodeConfig
The default size of the list that keeps track of a BleNode's connection failure history.
DEFAULT_MAX_SIZE - Static variable in class com.idevicesinc.sweetblue.utils.DebugLogger
 
DEFAULT_MINIMUM_SCAN_TIME - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
DEFAULT_MTU_SIZE - Static variable in class com.idevicesinc.sweetblue.BleNodeConfig
The default MTU size in bytes for gatt reads/writes/notifies/etc.
DEFAULT_RSSI_AUTO_POLL_RATE - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
DEFAULT_RSSI_MAX - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default fallback value for BleDeviceConfig.rssi_max.
DEFAULT_RSSI_MIN - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default fallback value for BleDeviceConfig.rssi_min.
DEFAULT_RUNNING_AVERAGE_N - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
DEFAULT_SCAN_INFINITE_INTERVAL_TIME - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_SCAN_INFINITE_PAUSE_TIME - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
DEFAULT_SCAN_KEEP_ALIVE - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
This is a good default value for BleDeviceConfig.undiscoveryKeepAlive.
DEFAULT_STATES - Static variable in enum com.idevicesinc.sweetblue.BleDeviceState
 
DEFAULT_TASK_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.BleNodeConfig.DefaultTaskTimeoutRequestFilter
Default value for all tasks.
DEFAULT_TX_POWER - Static variable in class com.idevicesinc.sweetblue.BleDeviceConfig
DEFAULT_UH_OH_CALLBACK_THROTTLE - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
defaultAuthFactory - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Set a default BleTransaction.Auth factory which will be used to dispatch a new instance of the transaction when connecting to a BleDevice.
DefaultBluetoothEnablerFilter() - Constructor for class com.idevicesinc.sweetblue.utils.BluetoothEnabler.DefaultBluetoothEnablerFilter
Deprecated.
 
DefaultBondFilter() - Constructor for class com.idevicesinc.sweetblue.BleDeviceConfig.DefaultBondFilter
 
DefaultBondRetryFilter(int) - Constructor for class com.idevicesinc.sweetblue.BondRetryFilter.DefaultBondRetryFilter
Constructor which allows you to specify the maximum number of bond retry attempts before giving up.
DefaultBondRetryFilter() - Constructor for class com.idevicesinc.sweetblue.BondRetryFilter.DefaultBondRetryFilter
Constructor which sets the max bond retries to BleDeviceConfig.DEFAULT_MAX_BOND_RETRIES before giving up.
DefaultDeviceReconnectFilter - Class in com.idevicesinc.sweetblue.defaults
Default implementation of DeviceReconnectFilter, which handles reconnect logic.
DefaultDeviceReconnectFilter() - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
 
DefaultDeviceReconnectFilter(int, int) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
 
DefaultDeviceReconnectFilter(Interval, Interval, Interval, Interval) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
 
DefaultDeviceReconnectFilter(int, int, Interval, Interval, Interval, Interval) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
 
defaultDeviceStates - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
defaultDiscoveryListener - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is null - can also be set post-construction with BleManager.setListener_Discovery(DiscoveryListener), which will override the implementation provided here.
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.android.IBluetoothDevice.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.android.IBluetoothGatt.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.android.IBluetoothManager.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.android.IBluetoothServer.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.android.IDeviceListener.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.android.IManagerListener.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.android.IServerListener.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.IBleDevice.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.IBleServer.DefaultFactory
 
DefaultFactory() - Constructor for class com.idevicesinc.sweetblue.internal.IBleTransaction.DefaultFactory
 
DefaultHistoricalDataLogFilter() - Constructor for class com.idevicesinc.sweetblue.BleNodeConfig.DefaultHistoricalDataLogFilter
 
defaultInitFactory - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Set a default BleTransaction.Init factory which will be used to dispatch a new instance of the transaction when connecting to a BleDevice.
defaultListComparator - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
DefaultLogger - Class in com.idevicesinc.sweetblue.defaults
 
DefaultLogger() - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultLogger
 
defaultManagerStates - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
 
defaultNativeScanFilterList - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is BleManagerConfig.EMPTY_NATIVE_FILTER, which is an empty filter (nothing gets filtered out).
DefaultNullReconnectFilter() - Constructor for class com.idevicesinc.sweetblue.ReconnectFilter.DefaultNullReconnectFilter
 
DefaultNullReconnectFilter(Interval, Interval) - Constructor for class com.idevicesinc.sweetblue.ReconnectFilter.DefaultNullReconnectFilter
 
DefaultReconnectFilter - Class in com.idevicesinc.sweetblue.defaults
Default implementation of ReconnectFilter that uses ReconnectFilter.ConnectionLostPlease.retryInstantly() for the first reconnect attempt, and from then on uses the Interval rate passed to the constructor.
DefaultReconnectFilter() - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
DefaultReconnectFilter(Interval, Interval, Interval, Interval) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
defaultRxAuthFactory - Variable in class com.idevicesinc.sweetblue.rx.RxBleDeviceConfig
 
defaultRxAuthFactory - Variable in class com.idevicesinc.sweetblue.rx.RxBleManagerConfig
 
defaultRxInitFactory - Variable in class com.idevicesinc.sweetblue.rx.RxBleDeviceConfig
 
defaultRxInitFactory - Variable in class com.idevicesinc.sweetblue.rx.RxBleManagerConfig
 
defaultScanFilter - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is null, meaning no filtering - all discovered devices will be piped through your DiscoveryListener instance and added to the internal list of BleManager.
DefaultScanFilter - Class in com.idevicesinc.sweetblue.defaults
Convenience implementation of ScanFilter which filters using a whitelist of known primary advertising UUIDs passed in to the constructor.
DefaultScanFilter(Collection<UUID>) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultScanFilter
Constructor to build a ScanFilter with the provided Collection of UUIDs.
DefaultScanFilter(UUID) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultScanFilter
Similar to DefaultScanFilter.DefaultScanFilter(Collection), only a convenience constructor if you are only concerned with looking for one UUID in particular.
DefaultScanFilter(String...) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultScanFilter
Constructor which sets up a name filter, with the provided names to filter for.
DefaultScanFilter(UUID, String) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultScanFilter
Constructor to use if you wish to filter by name AND by UUID.
DefaultScanFilter(Collection<UUID>, String...) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultScanFilter
Constructor to use if you wish to filter by multiple names and UUIDs.
DefaultServerReconnectFilter - Class in com.idevicesinc.sweetblue.defaults
Default implementation of ServerReconnectFilter that attempts a certain number of retries.
DefaultServerReconnectFilter() - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
 
DefaultServerReconnectFilter(int, int) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
 
DefaultServerReconnectFilter(Interval, Interval, Interval, Interval) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
 
DefaultServerReconnectFilter(int, int, Interval, Interval, Interval, Interval) - Constructor for class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
 
defaultStatePollRate - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is BleManagerConfig.DEFAULT_MANAGER_STATE_POLL_RATE seconds - The rate at which the library will poll the native manager's state.
DefaultTaskTimeoutRequestFilter() - Constructor for class com.idevicesinc.sweetblue.BleNodeConfig.DefaultTaskTimeoutRequestFilter
 
defaultTransactionAtomicity - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
This is the default BleTransaction.Atomicity that will be used for all BleTransaction.
defaultTxPower - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.DEFAULT_TX_POWER - this value is used if we can't establish a device's calibrated transmission power from the device itself, either through its scan record or by reading the standard characteristic.
delayBetweenTasks - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is Interval.DISABLED - This sets an amount of time to delay between executing each task in the queue.
delete_fromMemoryAndDatabase(EpochTimeRange, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
delete_fromMemoryAndDatabase(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
delete_fromMemoryOnly(EpochTimeRange, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
delete_fromMemoryOnly(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
delete_fromMemoryOnlyForNowButDatabaseSoon(EpochTimeRange, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
delete_fromMemoryOnlyForNowButDatabaseSoon(EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
delete_multipleUuids(String[], UUID[], EpochTimeRange, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
delete_multipleUuids(String[], UUID[], EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
delete_singleUuid_all(String, UUID) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
delete_singleUuid_all(String, UUID) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
delete_singleUuid_inRange(String, UUID, EpochTimeRange, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
delete_singleUuid_inRange(String, UUID, EpochTimeRange, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
delete_singleUuid_singleDate(String, UUID, long) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
delete_singleUuid_singleDate(String, UUID, long) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
delta(long, long) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns a new Interval representing the delta between the two epoch times.
denull(EpochTimeRange) - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
 
denull(HistoricalData) - Static method in class com.idevicesinc.sweetblue.utils.HistoricalData
 
deny() - Static method in class com.idevicesinc.sweetblue.DescriptorFilter.Please
DENY - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
denyIf(boolean) - Static method in class com.idevicesinc.sweetblue.DescriptorFilter.Please
DENYING_LOCATION_ACCESS - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
descriptor() - Method in class com.idevicesinc.sweetblue.DescriptorFilter.DescriptorEvent
Convenience method which returns the BluetoothGattDescriptor.
descriptor() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
descriptor() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
DESCRIPTOR_VALUE_CHANGED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DescriptorBuilder - Class in com.idevicesinc.sweetblue.utils
Builder class used to create and configure a BleDescriptor to be added to a BleCharacteristic.
DescriptorFilter - Interface in com.idevicesinc.sweetblue
Interface used when the Bluetooth device you're trying to connect to has multiple BluetoothGattCharacteristics with the same UUID, in the same BluetoothGattService.
descriptorFilter() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
This is the DescriptorFilter that was used for this read/write operation, if any.
descriptorFilter() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
DescriptorFilter.DescriptorEvent - Class in com.idevicesinc.sweetblue
Event class which is an argument in the DescriptorFilter.onEvent(DescriptorEvent) method of the DescriptorFilter interface.
DescriptorFilter.Please - Class in com.idevicesinc.sweetblue
Class used to dictate if the current BluetoothGattCharacteristic is the correct one to operate on by looking at it's BluetoothGattDescriptor value.
descriptorName(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
DescriptorPermissions - Class in com.idevicesinc.sweetblue.utils
 
descriptorUuid() - Method in interface com.idevicesinc.sweetblue.DescriptorFilter
Return the UUID of the descriptor you want to read to distinguish which BluetoothGattCharacteristic you would like to perform an op on.
descUuid() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The UUID of the descriptor associated with this ExchangeListener.ExchangeEvent.
descUuid() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
The UUID of the descriptor associated with this ReadWriteListener.ReadWriteEvent.
descUuid() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
descUuid() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
The ble descriptor UUID associated with the task, or Uuids.INVALID otherwise.
device() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
device() - Method in class com.idevicesinc.sweetblue.BondFilter.CharacteristicEvent
Returns the BleDevice in question.
device() - Method in class com.idevicesinc.sweetblue.BondFilter.ConnectionBugEvent
 
device() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
The BleDevice that attempted to BleDevice.bond().
device() - Method in class com.idevicesinc.sweetblue.BondRetryFilter.RetryEvent
Returns the BleDevice that failed to bond.
device() - Method in class com.idevicesinc.sweetblue.DeviceConnectListener.ConnectEvent
 
device() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
device() - Method in class com.idevicesinc.sweetblue.DeviceStateListener.StateEvent
The device undergoing the state change.
device() - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
The device in question.
device() - Method in class com.idevicesinc.sweetblue.MtuTestCallback.MtuTestEvent
The BleDevice which just got it's MTU size negotiated with
device() - Method in class com.idevicesinc.sweetblue.MtuTestCallback.TestResult
The BleDevice the test was run on.
device() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
device() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
device() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
device() - Method in class com.idevicesinc.sweetblue.rx.RxBondEvent
 
device() - Method in class com.idevicesinc.sweetblue.rx.RxDeviceConnectEvent
 
device() - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
 
device() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
Returns an instance of RxBleDevice
device() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
 
device() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
 
device() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
DEVICE_BOND_BONDED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Device is currently bonded.
DEVICE_BOND_BONDING - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Device is in the process of bonding.
DEVICE_BOND_UNBONDED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Device is not bonded.
DEVICE_CONNECTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the device is connected.
DEVICE_CONNECTING - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the device is connecting.
DEVICE_DISCONNECTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the device is disconnected.
DEVICE_DISCONNECTING - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the device is disconnecting.
DEVICE_ERROR - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Generic device error.
DEVICE_INFORMATION_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DEVICE_INFORMATION_UUIDS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DEVICE_NAME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
DeviceConnectListener - Interface in com.idevicesinc.sweetblue
Convenience listener to know if a connect call was successful or not.
DeviceConnectListener.ConnectEvent - Class in com.idevicesinc.sweetblue
 
DeviceConst - Class in com.idevicesinc.sweetblue.internal.android
Class used to hold values from BluetoothDevice.
DeviceNameComparator() - Constructor for class com.idevicesinc.sweetblue.BleManagerConfig.DeviceNameComparator
 
DeviceReconnectFilter - Interface in com.idevicesinc.sweetblue
 
DeviceReconnectFilter.ConnectFailEvent - Class in com.idevicesinc.sweetblue
Structure passed to ReconnectFilter.onConnectFailed(ReconnectFilter.ConnectFailEvent) to provide more info about how/why the connection failed.
DeviceReconnectFilter.Status - Enum in com.idevicesinc.sweetblue
The reason for the connection failure.
DeviceReconnectFilter.Timing - Enum in com.idevicesinc.sweetblue
DeviceStateListener - Interface in com.idevicesinc.sweetblue
Provide an implementation to BleDevice.setListener_State(DeviceStateListener) and/or BleManager.setListener_DeviceState(DeviceStateListener) to receive state change events.
DeviceStateListener.StateEvent - Class in com.idevicesinc.sweetblue
Subclass that adds the device field.
DEW_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
didEnter(int, int) - Method in enum com.idevicesinc.sweetblue.BleDeviceState
 
didEnter(int, int) - Method in enum com.idevicesinc.sweetblue.BleManagerState
 
didEnter(int, int) - Method in enum com.idevicesinc.sweetblue.BleServerState
 
didEnter(BleDeviceState) - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
didEnter(BleManagerState) - Method in class com.idevicesinc.sweetblue.rx.RxManagerStateEvent
didEnter(BleServerState) - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
didEnter(T_State) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Convenience forwarding of State.didEnter(int, int).
didEnter(int, int) - Method in interface com.idevicesinc.sweetblue.utils.State
Given an old and new state mask, for example from DeviceStateListener.onEvent(com.idevicesinc.sweetblue.DeviceStateListener.StateEvent) or ManagerStateListener.onEvent(com.idevicesinc.sweetblue.ManagerStateListener.StateEvent), this method tells you whether the the 'this' state was appended.
didEnterAll(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
didEnterAll(BleManagerState...) - Method in class com.idevicesinc.sweetblue.rx.RxManagerStateEvent
didEnterAll(BleServerState...) - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
didEnterAll(T_State...) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Convenience to return true if State.ChangeEvent.didEnter(State) returns true for all the State instances given.
didEnterAny(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
didEnterAny(BleManagerState...) - Method in class com.idevicesinc.sweetblue.rx.RxManagerStateEvent
didEnterAny(BleServerState...) - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
didEnterAny(T_State...) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Convenience to return true if State.ChangeEvent.didEnter(State) returns true on any of the State instances given.
didExit(int, int) - Method in enum com.idevicesinc.sweetblue.BleDeviceState
 
didExit(int, int) - Method in enum com.idevicesinc.sweetblue.BleManagerState
 
didExit(int, int) - Method in enum com.idevicesinc.sweetblue.BleServerState
 
didExit(BleDeviceState) - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
didExit(BleManagerState) - Method in class com.idevicesinc.sweetblue.rx.RxManagerStateEvent
didExit(BleServerState) - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
didExit(T_State) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Convenience forwarding of State.didExit(int, int).
didExit(int, int) - Method in interface com.idevicesinc.sweetblue.utils.State
didExitAll(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
didExitAll(BleManagerState...) - Method in class com.idevicesinc.sweetblue.rx.RxManagerStateEvent
didExitAll(BleServerState...) - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
didExitAll(T_State...) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Convenience to return true if State.ChangeEvent.didExit(State) returns true for all the State instances given.
didExitAny(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
didExitAny(BleManagerState...) - Method in class com.idevicesinc.sweetblue.rx.RxManagerStateEvent
didExitAny(BleServerState...) - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
didExitAny(T_State...) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Convenience to return true if State.ChangeEvent.didExit(State) returns true on any of the State instances given.
DIGITAL - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
disable() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
disable() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
disable() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called by the library when attempting to turn off the Bluetooth radio.
DISABLED - Static variable in interface com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter
Special value you can use in place of Java's built-in null, just for code readability.
DISABLED - Static variable in class com.idevicesinc.sweetblue.utils.Interval
Use this special value to disable options in BleDeviceConfig and BleManagerConfig.
disableNotifies(BleNotify[]) - Method in class com.idevicesinc.sweetblue.BleDevice
disableNotifies(Iterable<BleNotify>) - Method in class com.idevicesinc.sweetblue.BleDevice
disableNotifies(BleNotify[]) - Method in class com.idevicesinc.sweetblue.BleTransaction
disableNotifies(Iterable<BleNotify>) - Method in class com.idevicesinc.sweetblue.BleTransaction
disableNotifies(List<BleNotify>) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
disableNotifies(List<BleNotify>) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
disableNotify(UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID, UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID, UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(UUID, UUID, DescriptorFilter, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotify(BleNotify) instead.
disableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.BleDevice
Disables all notifications enabled by BleDevice.enableNotify(BleNotify) or any of it's overloads.
disableNotify(UUID[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(BleNotify[]) instead.
disableNotify(UUID[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(BleNotify[]) instead.
disableNotify(UUID[], Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(BleNotify[]) instead.
disableNotify(UUID[], Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(BleNotify[]) instead.
disableNotify(Iterable<UUID>) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(Iterable) instead.
disableNotify(Iterable<UUID>, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(Iterable) instead.
disableNotify(Iterable<UUID>, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(Iterable) instead.
disableNotify(Iterable<UUID>, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.disableNotifies(Iterable) instead.
disableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.BleTransaction
disableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
disableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Disable notifications for a characteristic on this BLE device.
disableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
disconnect() - Method in class com.idevicesinc.sweetblue.BleDevice
Disconnects from a connected device or does nothing if already BleDeviceState.BLE_DISCONNECTED.
disconnect(String) - Method in class com.idevicesinc.sweetblue.BleServer
 
disconnect() - Method in class com.idevicesinc.sweetblue.BleServer
Disconnects this server completely, disconnecting all connected clients and shutting things down.
disconnect() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
disconnect() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
disconnect() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
disconnect(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
disconnect() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
disconnect() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Disconnects from a connected device or does nothing if already BleDeviceState.BLE_DISCONNECTED.
disconnect(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
disconnect() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
disconnect() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Disconnects the device.
disconnect_internal(AddServiceListener.Status, ServerReconnectFilter.Status, State.ChangeIntent) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
disconnect_remote() - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.disconnect() but this call roughly simulates the disconnect as if it's because of the remote device going down, going out of range, etc.
disconnect_remote() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
disconnect_remote() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Same as RxBleDevice.disconnect() but this call roughly simulates the disconnect as if it's because of the remote device going down, going out of range, etc.
disconnectAll() - Method in class com.idevicesinc.sweetblue.BleManager
Disconnects all devices that are BleDeviceState.BLE_CONNECTED.
disconnectAll() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Disconnects all devices that are BleDeviceState.BLE_CONNECTED.
disconnectAll() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Disconnects all devices that are BleDeviceState.BLE_CONNECTED.
disconnectAll_remote() - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.disconnectAll() but drills down to BleDevice.disconnect_remote() instead.
disconnectAll_remote() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
disconnectAll_remote() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
disconnectAndUndiscover() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
disconnectIsCancellable - Variable in class com.idevicesinc.sweetblue.BleNodeConfig
Default is true - controls whether the library is allowed to optimize fast disconnect/reconnect cycles by actually not disconnecting in the native stack at all.
disconnectWhenReady() - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.disconnect() with the difference being the disconnect task is set to a low priority.
disconnectWhenReady() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
disconnectWhenReady() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Similar to RxBleDevice.disconnect() with the difference being the disconnect task is set to a low priority.
disconnectWithReason(P_DisconnectReason) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
discoverServices() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
discoverServices() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
discoverServices() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called by the system when trying to discover it's services (gatt database).
DiscoveryListener - Interface in com.idevicesinc.sweetblue
Provide an implementation to BleManager.setListener_Discovery(DiscoveryListener) to receive callbacks when a device is newly discovered, rediscovered, or undiscovered after calling various BleManager.startScan() or BleManager.startPeriodicScan(Interval, Interval) methods.
DiscoveryListener.DiscoveryEvent - Class in com.idevicesinc.sweetblue
DiscoveryListener.LifeCycle - Enum in com.idevicesinc.sweetblue
Enumerates changes in the "discovered" state of a device.
dispatch() - Method in class com.idevicesinc.sweetblue.utils.EventQueue
 
Distance - Class in com.idevicesinc.sweetblue.utils
Wrapper for a positive-only physical distance supporting various units of measurement.
distance(int, int) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Rssi
 
distance(int, int, double, double, double) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Rssi
 
dividedBy(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
Returns a new instance that is the result of doing this / other.
doBreak() - Static method in class com.idevicesinc.sweetblue.utils.ForEach_Breakable.Please
 
doContinue() - Static method in class com.idevicesinc.sweetblue.utils.ForEach_Breakable.Please
 
doesDataExist(String, UUID) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
doesDataExist(String, UUID) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
doForEach(EpochTimeRange, Object) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
doForEach(EpochTimeRange, Object) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
doForEach_break(Object, List<T>) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
doForEach_break(Object, Object) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
doMtuTest(MtuTestCallback.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
doneRequestingCustomPermission() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
doNext() - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
doNothing() - Static method in class com.idevicesinc.sweetblue.BondFilter.ConnectionBugEvent.Please
Don't attempt to fix the problem at all.
doNothing() - Static method in class com.idevicesinc.sweetblue.BondFilter.Please
Device's bond state should not be affected.
doNothing() - Static method in class com.idevicesinc.sweetblue.MtuTestCallback.Please
Don't perform any test for the new MTU size.
doNotLog() - Static method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Will not log the data.
doNotRespond() - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
doNotRespond(OutgoingListener) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Same as IncomingListener.Please.doNotRespond() but allows you to provide a listener specific to this (non-)response.
doNotRetry() - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailPlease
Return this to stop the connection fail retry loop.
doNotRetryIf(boolean) - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailPlease
doNotUseTimeout() - Static method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.Please
Tells SweetBlue to not timeout the task at all.
doWriteTest(UUID, UUID, byte[]) - Static method in class com.idevicesinc.sweetblue.MtuTestCallback.Please
Tell SweetBlue what characteristic it should write to, and provide the data to write.
doWriteTest(UUID, UUID, byte[], ReadWriteListener.Type) - Static method in class com.idevicesinc.sweetblue.MtuTestCallback.Please
Tell SweetBlue what characteristic it should write to, and provide the data to write.
dropReconnectingLongTermState() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
DST_OFFSET - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 

E

e(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
e(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
e(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
e_native(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
e_native(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
e_native(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
ELEVATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
EMAIL_ADDRESS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
EMPTY - Static variable in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
EMPTY_BLECHARACTERISTIC_LIST - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_BLEDESCRIPTOR_LIST - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_BLESERVICE_LIST - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_BYTE_ARRAY - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_CHARACTERISTIC_LIST - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_DESCRIPTOR_LIST - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_FUTURE_DATA - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_NATIVE_FILTER - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default native scan filter used by the library if BleManagerConfig.defaultNativeScanFilterList is not set.
EMPTY_SERVICE_LIST - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EMPTY_UUID_ARRAY - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
EmptyCursor - Class in com.idevicesinc.sweetblue.utils
An implementation of Cursor used for error conditions and things like that where we don't want to return null.
EmptyCursor() - Constructor for class com.idevicesinc.sweetblue.utils.EmptyCursor
 
EmptyIterator<T> - Class in com.idevicesinc.sweetblue.utils
Convenience class for implementing an Iterator with no elements.
EmptyIterator() - Constructor for class com.idevicesinc.sweetblue.utils.EmptyIterator
 
enable() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
enable() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
enable() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called by the system when the library wants to turn the Bluetooth radio on.
enableCrashResolver - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is false - this option may help mitigate crashes with "Unfortunately, Bluetooth Share has stopped" error messages.
enableCrashResolverForReset - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is true - this option gates whether the "crash resolver" described in BleManagerConfig.enableCrashResolver is invoked during a BleManager.reset() operation to forcefully clear the memory that causes the crash.
enabled() - Method in class com.idevicesinc.sweetblue.LogOptions
 
enableNativeLogs(LogOptions.LogLevel) - Method in class com.idevicesinc.sweetblue.LogOptions
Enable native callback logs with the given LogOptions.LogLevel
enableNotifies(BleNotify[]) - Method in class com.idevicesinc.sweetblue.BleDevice
enableNotifies(Iterable<BleNotify>) - Method in class com.idevicesinc.sweetblue.BleDevice
enableNotifies(BleNotify[]) - Method in class com.idevicesinc.sweetblue.BleTransaction
enableNotifies(Iterable<BleNotify>) - Method in class com.idevicesinc.sweetblue.BleTransaction
enableNotifies(List<BleNotify>) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
enableNotifies(List<BleNotify>) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
enableNotify(UUID[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(BleNotify[]) instead.
enableNotify(UUID[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(BleNotify[]) instead.
enableNotify(UUID[], Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(BleNotify[]) instead.
enableNotify(UUID[], Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(BleNotify[]) instead.
enableNotify(Iterable<UUID>) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(Iterable) instead.
enableNotify(Iterable<UUID>, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(Iterable) instead.
enableNotify(Iterable<UUID>, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(Iterable) instead.
enableNotify(Iterable<UUID>, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotifies(Iterable) instead.
enableNotify(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(UUID, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(UUID, UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(UUID, UUID, Interval, DescriptorFilter, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.enableNotify(BleNotify) instead.
enableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.BleDevice
Enables notification on the given characteristic.
enableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.BleTransaction
enableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
enableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Enable notifications for a characteristic on this BLE device.
enableNotify(BleNotify) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
enabler() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns the BluetoothEnabler associated with the Event.
enableSweetBlueLogs(LogOptions.LogLevel) - Method in class com.idevicesinc.sweetblue.LogOptions
Enable SweetBlue specific logs with the given LogOptions.LogLevel
enterMask() - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Returns all the states that were entered as a bit mask.
ENVIRONMENTAL_SENSING_CONFIGURATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ENVIRONMENTAL_SENSING_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ENVIRONMENTAL_SENSING_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ENVIRONMENTAL_SENSING_TRIGGER_SETTING - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
epochTime() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
Timestamp of when the data was obtained.
EpochTime - Class in com.idevicesinc.sweetblue.utils
A class fulfilling a similar role to Java's built-in Date, i.e.
EpochTime(Date) - Constructor for class com.idevicesinc.sweetblue.utils.EpochTime
Converts from Java's built-in date.
EpochTime(long) - Constructor for class com.idevicesinc.sweetblue.utils.EpochTime
Constructs a new instance using milliseconds since 1970.
EpochTime() - Constructor for class com.idevicesinc.sweetblue.utils.EpochTime
Constructs a new instance using System.currentTimeMillis().
epochTime() - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_AllowsSelectColumn
 
epochTime() - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_Where
 
EpochTimeRange - Class in com.idevicesinc.sweetblue.utils
Class representing a range of time between two instances of EpochTime.
EpochTimeRange(EpochTime, EpochTime) - Constructor for class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing the time range between the given epoch times.
EpochTimeRange(long, long) - Constructor for class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing the time range between the given epoch times as primitive longs.
equals(BleDevice) - Method in class com.idevicesinc.sweetblue.BleDevice
First checks referential equality and if false checks equality of BleDevice.getMacAddress().
equals(Object) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns BleDevice.equals(BleDevice) if object is an instance of BleDevice.
equals(BleServer) - Method in class com.idevicesinc.sweetblue.BleServer
Does a referential equality check on the two servers.
equals(Object) - Method in class com.idevicesinc.sweetblue.BleServer
Returns BleServer.equals(BleServer) if object is an instance of BleServer.
equals(Object) - Method in class com.idevicesinc.sweetblue.BleService
 
equals(Object) - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
 
equals(IBluetoothDevice) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
equals(P_GattHolder) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
equals(IBluetoothDevice) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
equals(P_GattHolder) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
equals(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
equals(Object) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
equals(IBleServer) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Does a referential equality check on the two servers.
equals(Object) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns P_BleServerImpl.equals(IBleServer) if object is an instance of BleServer.
equals(Object) - Method in class com.idevicesinc.sweetblue.internal.P_NativeGattObject
 
equals(RxBleDevice) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
First checks referential equality and if false checks equality of RxBleDevice.getMacAddress().
equals(Object) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns RxBleDevice.equals(RxBleDevice) if object is an instance of RxBleDevice.
equals(RxBleServer) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Does a referential equality check on the two servers.
equals(Object) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns RxBleServer.equals(RxBleServer) if object is an instance of RxBleServer.
equals(IBluetoothDevice) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Referential equality check.
equals(P_GattHolder) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
 
equals(Object) - Method in class com.idevicesinc.sweetblue.utils.BleUuid
 
equals(Object) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
equals(Object, Object) - Static method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
equals(Object) - Method in class com.idevicesinc.sweetblue.utils.Unit
Returns == using Unit.getRawValue().
ERROR - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
ERROR - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
errorOut(BleSetupHelper.ErrorCode) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
errorOut(BleSetupHelper.ErrorCode, String) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
event() - Method in class com.idevicesinc.sweetblue.rx.RxEvent
Returns the Event instance being held in this class.
Event - Class in com.idevicesinc.sweetblue.utils
Abstract base class for all events in SweetBlue, e.g.
Event() - Constructor for class com.idevicesinc.sweetblue.utils.Event
 
EventException - Exception in com.idevicesinc.sweetblue.rx.exception
Base Exception class for holding event instance when an error occurs (a read/write/connect/bond fails)
EventException(T) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.EventException
 
EventException(T) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.EventException
 
EventQueue - Class in com.idevicesinc.sweetblue.utils
 
EventQueue() - Constructor for class com.idevicesinc.sweetblue.utils.EventQueue
 
EXACT_TIME_256 - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ExchangeListener - Interface in com.idevicesinc.sweetblue
Tagging interface, not to be implemented directly as this is just the base interface to statically tie together IncomingListener and OutgoingListener with common enums/structures.
ExchangeListener.ExchangeEvent - Class in com.idevicesinc.sweetblue
Like ExchangeListener, this class should not be used directly as this is just a base class to statically tie together IncomingListener.IncomingEvent and OutgoingListener.OutgoingEvent with a common API.
ExchangeListener.Target - Enum in com.idevicesinc.sweetblue
The type of GATT object, provided by ExchangeListener.ExchangeEvent.target().
ExchangeListener.Type - Enum in com.idevicesinc.sweetblue
The type of exchange being executed, read, write, or notify.
executeReliableWrite() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
executeReliableWrite() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
executeReliableWrite() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Not hooked up in this class.
exitMask() - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Returns all the states that were exited as a bit mask.
Experimental - Annotation Type in com.idevicesinc.sweetblue.annotations
Classes, or methods marked with this annotation are experimental features.
Extendable - Annotation Type in com.idevicesinc.sweetblue.annotations
This annotation denotes a class which is meant to be extendable.
extended_props() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
EXTERNAL_REPORT_REFERENCE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
EXTRA_BOND_STATE - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
EXTRA_DEVICE - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
EXTRA_PREVIOUS_BOND_STATE - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
EXTRA_PREVIOUS_STATE - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
EXTRA_REASON - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
EXTRA_RSSI - Static variable in class com.idevicesinc.sweetblue.internal.android.DeviceConst
 
EXTRA_STATE - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
extract(Object, Field) - Method in interface com.idevicesinc.sweetblue.utils.P_JSONUtil.JSONExtractor
 

F

fail() - Method in class com.idevicesinc.sweetblue.BleTransaction
Call this from subclasses to indicate that the transaction has failed.
fail() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Call this from subclasses to indicate that the transaction has failed.
failCode() - Method in class com.idevicesinc.sweetblue.BondRetryFilter.RetryEvent
Returns the failure code the native stack returned as the reason that bonding failed.
failDiscoverServices(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
failDiscoverServices(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
failEvent() - Method in class com.idevicesinc.sweetblue.DeviceConnectListener.ConnectEvent
failEvent() - Method in class com.idevicesinc.sweetblue.rx.RxConnectEvent
failEvent() - Method in class com.idevicesinc.sweetblue.rx.RxDeviceConnectEvent
failEvent() - Method in class com.idevicesinc.sweetblue.rx.RxServerConnectEvent
failEvent() - Method in class com.idevicesinc.sweetblue.ServerConnectListener.ConnectEvent
failReason() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
If BondListener.BondEvent.status() is BondListener.Status.FAILED_EVENTUALLY, this integer will be one of the values enumerated in BluetoothDevice that start with UNBOND_REASON such as BleStatuses.UNBOND_REASON_AUTH_FAILED.
failReason() - Method in class com.idevicesinc.sweetblue.rx.RxBondEvent
failureCount() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
The number of times a reconnect attempt has failed so far.
failureCountSoFar() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailEvent
The failure count so far.
FAT_BURN_HEART_RATE_LOWER_LIMIT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
FAT_BURN_HEART_RATE_UPPER_LIMIT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
feet() - Method in class com.idevicesinc.sweetblue.utils.Distance
Returns the value of this distance in feet.
feet(double) - Static method in class com.idevicesinc.sweetblue.utils.Distance
Creates a new value in feet.
FEET_PER_METER - Static variable in class com.idevicesinc.sweetblue.utils.Distance
 
fieldStringValue(Field) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Reflection
 
filter(T, T) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
finishCurrentPermission(boolean) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
FIRMWARE_REVISION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
FIRST_NAME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
FITNESS_MACHINE_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
FITNESS_MACHINE_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
FITNESS_MACHINE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
FITNESS_MACHINE_STATUS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
FIVE_SECONDS - Static variable in class com.idevicesinc.sweetblue.utils.EpochTimeRange
 
FIVE_SECS - Static variable in class com.idevicesinc.sweetblue.utils.Interval
Convenience value representing five seconds.
FIVE_ZONE_HEART_RATE_LIMITS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
Flag - Interface in com.idevicesinc.sweetblue.utils
 
FLOOR_NUMBER - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
forceBondDialog - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is false.
forceBondHackInterval - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is Interval.ONE_SEC.
forceIndefinite(boolean) - Method in class com.idevicesinc.sweetblue.ScanOptions
Force a indefinite scan.
forceOff(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
forceOn(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
forceOn(BleManager) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
ForEach_Breakable<T> - Interface in com.idevicesinc.sweetblue.utils
 
ForEach_Breakable.Please - Class in com.idevicesinc.sweetblue.utils
 
ForEach_Returning<T> - Interface in com.idevicesinc.sweetblue.utils
 
ForEach_Void<T> - Interface in com.idevicesinc.sweetblue.utils
 
from() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns the "from" date passed into the constructor, or EpochTime.NULL if null was originally passed in.
from(UUID) - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_AllowsFrom
 
from(String, UUID) - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_AllowsFrom
 
from1970_toGiven(EpochTime) - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing the time range from 1970 to the given value.
from1970_toNow() - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing the time range from 1970 to now.
FROM_1970_TO_MAX - Static variable in class com.idevicesinc.sweetblue.utils.EpochTimeRange
 
FROM_MIN_TO_1970 - Static variable in class com.idevicesinc.sweetblue.utils.EpochTimeRange
 
FROM_MIN_TO_MAX - Static variable in class com.idevicesinc.sweetblue.utils.EpochTimeRange
 
fromBit(int) - Static method in enum com.idevicesinc.sweetblue.utils.AdvertisingFlag
 
fromBleCharacteristic(BleCharacteristic) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
fromBleService(BleService) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
fromCursor(Cursor) - Static method in class com.idevicesinc.sweetblue.utils.HistoricalData
 
fromDiskValue(int) - Static method in enum com.idevicesinc.sweetblue.utils.State.ChangeIntent
Transforms State.ChangeIntent.toDiskValue() back to the enum.
fromDouble(double) - Static method in class com.idevicesinc.sweetblue.utils.Percent
Returns a new instance using the given double value.
fromDouble_clamped(double) - Static method in class com.idevicesinc.sweetblue.utils.Percent
Returns a new instance clamped between 0% and 100%, regardless of input value.
fromGiven_toGiven(EpochTime, EpochTime) - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Basically just a more readable overload for the normal constructor EpochTimeRange.EpochTimeRange(EpochTime, EpochTime).
fromGiven_toMax(EpochTime) - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing the time range from the given value to Long.MAX_VALUE.
fromGiven_toNow(EpochTime) - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing the time range from the given value to now.
fromInt(int) - Static method in class com.idevicesinc.sweetblue.utils.Percent
Returns a new instance using the given int value.
fromInt(int) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
 
fromInt(int, String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Convenience overload of Uuids.fromInt(String, String).
fromInt(String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
fromInt(String, String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Replaces the characters at indices 0-7 (inclusive) of uuidTemplate with the assignedNumber parameter and returns the resulting UUID using UUID.fromString(String).
fromInt_clamped(int) - Static method in class com.idevicesinc.sweetblue.utils.Percent
Returns a new instance clamped between 0% and 100%, regardless of input value.
fromMasks(int, int, int) - Static method in enum com.idevicesinc.sweetblue.utils.Phy
 
fromMasks(int, int) - Static method in enum com.idevicesinc.sweetblue.utils.Phy
 
fromMin_toGiven(EpochTime) - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing the time range from Long.MIN_VALUE to the given value.
fromNative(int) - Static method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleAdvertisingMode
 
fromNative(int) - Static method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleTransmissionPower
 
fromNative(int) - Static method in enum com.idevicesinc.sweetblue.LogOptions.LogLevel
 
fromNativeBit(int) - Static method in enum com.idevicesinc.sweetblue.BondRetryFilter.Status
 
fromNativeServiceList(List<BluetoothGattService>) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
fromNativeSettings(AdvertiseSettings) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
fromNativeStatus(int) - Static method in enum com.idevicesinc.sweetblue.AdvertisingListener.Status
 
fromPlease(ScanFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
fromReadWriteEvent(BleDevice, ReadWriteListener.ReadWriteEvent) - Static method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
 
fromReadWriteStatus(ReadWriteListener.Status) - Static method in enum com.idevicesinc.sweetblue.NotificationListener.Status
 
fromShort(String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
fromShort(short) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
fromShort(int) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Overload of Uuids.fromShort(short) so you don't have to downcast hardcoded integers yourself.
fromShort(short, String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Convenience overload of Uuids.fromShort(String, String) that converts the given short to a String hex representation.
fromShort(int, String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Convenience overload of Uuids.fromShort(short, String) so you don't have to downcast hardcoded integers yourself.
fromShort(String, String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Replaces the characters at indices 4, 5, 6, and 7 of uuidTemplate with the assignedNumber parameter and returns the resulting UUID using UUID.fromString(String).
fromString(String) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Convenience forwarding of UUID.fromString(String), Uuids.fromShort(String), or Uuids.fromInt(String) depending on the length of string given.
FULL_MASK - Static variable in enum com.idevicesinc.sweetblue.BleDeviceState
Full bitwise mask made by ORing all BleDeviceState instances together.
FULL_MASK - Static variable in enum com.idevicesinc.sweetblue.BleManagerState
Full bitwise mask made by ORing all BleManagerState instances together.
FULL_MASK - Static variable in enum com.idevicesinc.sweetblue.BleServerState
Full bitwise mask made by ORing all BleServerState instances together.
FutureData - Interface in com.idevicesinc.sweetblue.utils
A simple interface whose implementations should be passed to methods like BleDevice.write(UUID, FutureData) so you can provide time-sensitive data at the last possible moment.

G

GATT_AUTH_FAIL - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_BUSY - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_CMD_STARTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_CMD_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_DB_FULL - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_ENCRYPED_MITM - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_ENCRYPED_NO_MITM - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_ERR_UNLIKELY - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_ERROR - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_HANDLE_VALUE_CONF - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_HANDLE_VALUE_IND - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_HANDLE_VALUE_NOTIF - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_ILLEGAL_PARAMETER - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INSUF_AUTHENTICATION - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INSUF_AUTHORIZATION - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INSUF_ENCRYPTION - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INSUF_KEY_SIZE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INSUF_RESOURCE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INTERNAL_ERROR - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INVALID_ATTR_LEN - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INVALID_CFG - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INVALID_HANDLE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INVALID_OFFSET - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_INVALID_PDU - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_MORE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_NO_RESOURCES - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_NOT_ENCRYPTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_NOT_FOUND - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_NOT_LONG - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_OP_CODE_MAX - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_PENDING - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_PREPARE_Q_FULL - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_READ_MTU_OVERHEAD - Static variable in class com.idevicesinc.sweetblue.BleNodeConfig
The overhead in bytes that is subtracted from the total mtu size (e.g.
GATT_READ_NOT_PERMIT - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_EXEC_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_FIND_INFO - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_FIND_TYPE_VALUE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_MTU - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_NOT_SUPPORTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_PREPARE_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_READ - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_READ_BLOB - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_READ_BY_GRP_TYPE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_READ_BY_TYPE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_READ_MULTI - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_REQ_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_ERROR - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_EXEC_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_FIND_INFO - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_FIND_TYPE_VALUE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_MTU - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_PREPARE_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_READ - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_READ_BLOB - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_READ_BY_GRP_TYPE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_READ_BY_TYPE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_READ_MULTI - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_RSP_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_SERVER - Static variable in class com.idevicesinc.sweetblue.internal.android.GattConst
 
GATT_SERVICE_STARTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_SIGN_CMD_WRITE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_STATUS_NOT_APPLICABLE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Status code used for ReadWriteListener.ReadWriteEvent.gattStatus() when the operation failed at a point where a gatt status from the underlying stack isn't provided or applicable.
GATT_SUCCESS - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_UNSUPPORT_GRP_TYPE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_WRITE_MTU_OVERHEAD - Static variable in class com.idevicesinc.sweetblue.BleNodeConfig
The overhead in bytes that is subtracted from the total mtu size (e.g.
GATT_WRITE_NOT_PERMIT - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
GATT_WRONG_STATE - Static variable in class com.idevicesinc.sweetblue.BleStatuses
 
gattBleState(int, boolean) - Static method in class com.idevicesinc.sweetblue.utils.CodeHelper
 
gattBondState(int, boolean) - Static method in class com.idevicesinc.sweetblue.utils.CodeHelper
 
gattConn(int, boolean) - Static method in class com.idevicesinc.sweetblue.utils.CodeHelper
 
gattConnStatus(int, boolean) - Static method in class com.idevicesinc.sweetblue.utils.CodeHelper
 
GattConst - Class in com.idevicesinc.sweetblue.internal.android
Class used to hold values from BluetoothGatt
GattDatabase - Class in com.idevicesinc.sweetblue.utils
Use this class to build out a GATT database for your simulated devices when unit testing.
GattDatabase() - Constructor for class com.idevicesinc.sweetblue.utils.GattDatabase
 
gattFactory - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
This option is exposed for unit testing.
gattRefreshDelay - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
gattRefreshOption - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.RefreshOption.BEFORE_SERVICE_DISCOVERY - This determines when SweetBlue will refresh the gatt database.
gattStatus() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
gattStatus() - Method in class com.idevicesinc.sweetblue.DeviceStateListener.StateEvent
The change in gattStatus that may have precipitated the state change, or BleStatuses.GATT_STATUS_NOT_APPLICABLE.
gattStatus(IBleManager, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
gattStatus() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
The native gatt status returned from the stack, if applicable.
gattStatus(IncomingListener.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
gattStatus() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
The native gatt status returned from the stack, if applicable.
gattStatus() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailEvent
The gattStatus returned, if applicable, from native callbacks like BluetoothGattCallback.onConnectionStateChange(BluetoothGatt, int, int) or BluetoothGattCallback.onServicesDiscovered(BluetoothGatt, int).
gattStatus() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
gattStatus() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
gattStatus() - Method in class com.idevicesinc.sweetblue.ServerStateListener.StateEvent
The change in gattStatus that may have precipitated the state change, or BleStatuses.GATT_STATUS_NOT_APPLICABLE.
gattStatus(int, boolean) - Static method in class com.idevicesinc.sweetblue.utils.CodeHelper
 
gattStatus_received() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
The gattStatus received from an attempted communication with the client.
gattStatus_received() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
gattStatus_sent() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
The gattStatus sent to the client, provided to static methods of IncomingListener.Please if ExchangeListener.ExchangeEvent.type() is ExchangeListener.Type.READ or ExchangeListener.Type.WRITE - otherwise this will equal BleStatuses.GATT_STATUS_NOT_APPLICABLE.
gattStatus_sent() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
gattUnbondReason(int, boolean) - Static method in class com.idevicesinc.sweetblue.utils.CodeHelper
 
GENDER - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
GENERIC_ACCESS_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
GENERIC_ATTRIBUTES_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
GenericListener_T<T_Event extends Event,T_Return> - Interface in com.idevicesinc.sweetblue.utils
 
GenericListener_Void<T_Event extends Event> - Interface in com.idevicesinc.sweetblue.utils
 
get(EpochTimeRange, int) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
get(EpochTimeRange, int) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
get(Context) - Static method in class com.idevicesinc.sweetblue.BleManager
Create the singleton instance or retrieve the already-created singleton instance with default configuration options set.
get(Context, BleManagerConfig) - Static method in class com.idevicesinc.sweetblue.BleManager
Create the singleton instance or retrieve the already-created singleton instance with custom configuration options set.
get(Context, RxBleManagerConfig) - Static method in class com.idevicesinc.sweetblue.rx.RxBleManager
Get the instance of RxBleManager.
get(Context) - Static method in class com.idevicesinc.sweetblue.rx.RxBleManager
Get the instance of RxBleManager.
getAddress() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
getAddress() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getAddress() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
getAddress() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getAddress() - Method in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
getAddress() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Returns the mac address for this device
getAddress() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns the mac address of the "controller" (the phone/tablet).
getAdvertisedServiceData() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the manufacturer data, if any, parsed from BleDevice.getScanRecord().
getAdvertisedServiceData() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getAdvertisedServices() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the advertised services, if any, parsed from BleDevice.getScanRecord().
getAdvertisedServices() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getAdvertisingFlags() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the advertising flags, if any, parsed from BleDevice.getScanRecord().
getAdvertisingFlags() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getAdvertisingFlags() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the advertising flags, if any, parsed from RxBleDevice.getScanRecord().
getAdvertisingMode() - Method in class com.idevicesinc.sweetblue.BleAdvertisingSettings
Returns the advertising mode specified with BleAdvertisingSettings.BleAdvertisingMode
getAdvFlags() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Get the advertising flags for this instance.
getAmendedData() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Returns the amended data provided through BleNodeConfig.HistoricalDataLogFilter.Please.andAmendData(byte[]), or null if not applicable.
getAmendedEpochTime() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Returns the amended epoch time provided through BleNodeConfig.HistoricalDataLogFilter.Please.andAmendEpochTime(EpochTime), or EpochTime.NULL if not applicable.
getApplicationContext() - Method in class com.idevicesinc.sweetblue.BleManager
Returns the Application provided to the constructor.
getApplicationContext() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the Application provided to the constructor.
getApplicationContext() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns the Application provided to the constructor.
getApplyMode() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
getAtomicity() - Method in class com.idevicesinc.sweetblue.BleTransaction
Default is Boolean.FALSE.
getAtomicity() - Method in interface com.idevicesinc.sweetblue.internal.IBleTransaction.Callback
 
getAtomicity() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Default is Boolean.FALSE.
getAuthRetryValue() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
getAuthRetryValue() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
getAuthRetryValue() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
 
getAutoConnectUsage() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getAverageReadTime() - Method in class com.idevicesinc.sweetblue.BleDevice
See similar explanation for BleDevice.getAverageWriteTime().
getAverageReadTime() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getAverageReadTime() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
See similar explanation for RxBleDevice.getAverageWriteTime().
getAverageWriteTime() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the average round trip time in seconds for all write operations started with BleDevice.write(UUID, byte[]) or BleDevice.write(UUID, byte[], ReadWriteListener).
getAverageWriteTime() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getAverageWriteTime() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the average round trip time in seconds for all write operations started with RxBleDevice.write(BleWrite).
getBleDevice() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
getBleDevice() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
getBleDevice() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
getBleDevice() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
getBleDevice() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getBleDevice(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getBleDevice() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
getBleDevice() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Returns the BleDevice instance held by this class.
getBleDevice() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Returns the BleDevice instance held in this class.
getBleManager() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
 
getBleNode(IBleNode) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getBleServer(IBleServer) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getBleServer() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
getBleServer() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
getBleService(UUID, LogFunction) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
getBleService(UUID, LogFunction) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
getBleService(UUID, LogFunction) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Method used internally to retrieve a BleService instance.
getBleState() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getBleState() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getBleState() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
getBlob(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getBlob() - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
Returns the data instance (WARNING: not cloned) passed into the constructor.
getBlob() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns the BLOB of the historical data as a byte[], equivalent to HistoricalData.getBlob() but a raw byte[] is used for performance reasons.
getBlob_string() - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
Attempts to parse HistoricalData.getBlob() as a UTF-8 string.
getBluetoothLeAdvertiser(BluetoothAdapter) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
getBondedDevices() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getBondedDevices() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getBondedDevices() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns a Set of P_DeviceHolder representing the devices that are currently bonded to this manager/adaptor.
getBondFailReason() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getBondManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getBondState() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
getBondState() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
getBondState() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Returns the current bond state.
getCallback() - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener
 
getCharacteristic() - Method in class com.idevicesinc.sweetblue.BleCharacteristic
Returns the instance of BluetoothGattCharacteristic held in this class.
getCharacteristic() - Method in class com.idevicesinc.sweetblue.BleDescriptor
Returns this descriptor's parent characteristic.
getCharacteristicForUUID(UUID) - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTCharacteristic
 
getCharacteristics() - Method in class com.idevicesinc.sweetblue.BleService
Returns a list of BleCharacteristics held by this service.
getCharacteristicUuid() - Method in class com.idevicesinc.sweetblue.BleOp
Returns the characteristic UUID of this operation.
getCharUuid(MtuTestCallback.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getClientCount() - Method in class com.idevicesinc.sweetblue.BleServer
Returns the total number of clients this server is connecting or connected to (or previously so).
getClientCount(BleServerState) - Method in class com.idevicesinc.sweetblue.BleServer
Returns the number of clients that are in the current state.
getClientCount(BleServerState...) - Method in class com.idevicesinc.sweetblue.BleServer
Returns the number of clients that are in any of the given states.
getClientCount() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns the total number of clients this server is connecting or connected to (or previously so).
getClientCount(BleServerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns the number of clients that are in the current state.
getClientCount(BleServerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns the number of clients that are in any of the given states.
getClientCount() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns the total number of clients this server is connecting or connected to (or previously so).
getClientCount(BleServerState) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns the number of clients that are in the current state.
getClientCount(BleServerState...) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns the number of clients that are in any of the given states.
getClients(ForEach_Void<String>) - Method in class com.idevicesinc.sweetblue.BleServer
Offers a more "functional" means of iterating through the internal list of clients instead of using BleServer.getClients() or BleServer.getClients_List().
getClients(ForEach_Void<String>, BleServerState) - Method in class com.idevicesinc.sweetblue.BleServer
Same as BleServer.getClients(ForEach_Void) but will only return clients in the given state provided.
getClients(ForEach_Void<String>, BleServerState...) - Method in class com.idevicesinc.sweetblue.BleServer
Same as BleServer.getClients(ForEach_Void) but will only return clients in any of the given states provided.
getClients(ForEach_Breakable<String>) - Method in class com.idevicesinc.sweetblue.BleServer
Overload of BleServer.getClients(ForEach_Void) if you need to break out of the iteration at any point.
getClients(ForEach_Breakable<String>, BleServerState) - Method in class com.idevicesinc.sweetblue.BleServer
Overload of BleServer.getClients(ForEach_Void, BleServerState) if you need to break out of the iteration at any point.
getClients(ForEach_Breakable<String>, BleServerState...) - Method in class com.idevicesinc.sweetblue.BleServer
Same as BleServer.getClients(ForEach_Breakable) but will only return clients in any of the given states provided.
getClients() - Method in class com.idevicesinc.sweetblue.BleServer
Returns all the clients connected or connecting (or previously so) to this server.
getClients(BleServerState) - Method in class com.idevicesinc.sweetblue.BleServer
Returns all the clients connected or connecting (or previously so) to this server.
getClients(BleServerState...) - Method in class com.idevicesinc.sweetblue.BleServer
Returns all the clients connected or connecting (or previously so) to this server.
getClients(ForEach_Void<String>) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Offers a more "functional" means of iterating through the internal list of clients instead of using P_BleServerImpl.getClients() or P_BleServerImpl.getClients_List().
getClients(ForEach_Void<String>, BleServerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Same as P_BleServerImpl.getClients(ForEach_Void) but will only return clients in the given state provided.
getClients(ForEach_Void<String>, BleServerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Same as P_BleServerImpl.getClients(ForEach_Void) but will only return clients in any of the given states provided.
getClients(ForEach_Breakable<String>) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Overload of P_BleServerImpl.getClients(ForEach_Void) if you need to break out of the iteration at any point.
getClients(ForEach_Breakable<String>, BleServerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Overload of P_BleServerImpl.getClients(ForEach_Void, BleServerState) if you need to break out of the iteration at any point.
getClients(ForEach_Breakable<String>, BleServerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Same as P_BleServerImpl.getClients(ForEach_Breakable) but will only return clients in any of the given states provided.
getClients() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns all the clients connected or connecting (or previously so) to this server.
getClients(BleServerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns all the clients connected or connecting (or previously so) to this server.
getClients(BleServerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns all the clients connected or connecting (or previously so) to this server.
getClients() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
getClients_List() - Method in class com.idevicesinc.sweetblue.BleServer
Overload of BleServer.getClients() that returns a List for you.
getClients_List(BleServerState) - Method in class com.idevicesinc.sweetblue.BleServer
Overload of BleServer.getClients(BleServerState) that returns a List for you.
getClients_List(BleServerState...) - Method in class com.idevicesinc.sweetblue.BleServer
Overload of BleServer.getClients(BleServerState[]) that returns a List for you.
getClients_List() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Overload of P_BleServerImpl.getClients() that returns a List for you.
getClients_List(BleServerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Overload of P_BleServerImpl.getClients(BleServerState) that returns a List for you.
getClients_List(BleServerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Overload of P_BleServerImpl.getClients(BleServerState[]) that returns a List for you.
getColumnCount() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getColumnIndex(String) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getColumnIndex() - Method in enum com.idevicesinc.sweetblue.utils.HistoricalDataColumn
Gets the name of this database column - you can use this for example to help navigate the Cursor returned by BleNode.queryHistoricalData(String).
getColumnIndexOrThrow(String) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getColumnName(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getColumnName() - Method in enum com.idevicesinc.sweetblue.utils.HistoricalDataColumn
Gets the name of this database column - you can use this for example to do raw queries through BleNode.queryHistoricalData(String).
getColumnNames() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getConfig() - Method in class com.idevicesinc.sweetblue.BleDevice
Return the BleDeviceConfig this device is set to use.
getConfig() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getConfig() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Return the RxBleDeviceConfig this device is set to use.
getConfig() - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Returns an instance of BleManagerConfig.
getConfigClone() - Method in class com.idevicesinc.sweetblue.BleManager
 
getConfigClone() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getConfigClone() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
 
getConnectFailReason() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getConnectFailRetryCount() - Method in class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
 
getConnectionFailHistory(IBleDevice) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
getConnectionManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getConnectionOrdinal(BleDeviceState) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getConnectionPriority() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the connection priority value set by BleDevice.setConnectionPriority(BleConnectionPriority, ReadWriteListener), or BleNodeConfig.DEFAULT_MTU_SIZE if it was never set explicitly.
getConnectionPriority() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getConnectionPriority() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the connection priority value set by RxBleDevice.setConnectionPriority(BleConnectionPriority), or BleNodeConfig.DEFAULT_MTU_SIZE if it was never set explicitly.
getConnectionRetryCount() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the connection failure retry count during a retry loop.
getConnectionRetryCount() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getConnectionRetryCount() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the connection failure retry count during a retry loop.
getConnectionState(IBluetoothDevice, int) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getConnectionState(IBluetoothDevice, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getConnectionState(IBluetoothDevice, int) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns the connection state of this device.
getCount(String, UUID, EpochTimeRange) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
getCount(String, UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
getCount(EpochTimeRange) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
getCount(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
getCount() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getCount() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns the numbers of rows in the cursor.
getCrashResolver() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getCurrentTime() - Static method in class com.idevicesinc.sweetblue.utils.Utils_Time
Returns the current time as a byte array, useful for implementing BleServices.currentTime() for example.
getCursor(String, UUID, EpochTimeRange) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
getCursor(String, UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
getCursor(EpochTimeRange) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
getCursor(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
getData() - Method in class com.idevicesinc.sweetblue.BleOp
 
getData(MtuTestCallback.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getData() - Method in interface com.idevicesinc.sweetblue.utils.FutureData
Return the data that should (for example) be sent to a peripheral through BleDevice.write(UUID, FutureData).
getData() - Method in class com.idevicesinc.sweetblue.utils.PresentData
Returns the data sent into the constructor PresentData.PresentData(byte[])
getDefaultAddServiceListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultBondListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultDeviceConnectListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultDeviceReconnectFilter() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultDeviceStateListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultErrorMessage() - Method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.ErrorCode
 
getDefaultNotificationListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultReadWriteListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultServerConnectListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultServerIncomingListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultServerReconnectFilter() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultServerStateListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDefaultTaskStateListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDelayTime() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Returns the delay set via UnitTestBluetoothGatt.setDelayTime(Interval), or a random time range from 1-2000ms.
getDelta() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns the raw milliseconds between EpochTimeRange.from() and EpochTimeRange.to().
getDescription() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
 
getDescriptor(UUID) - Method in class com.idevicesinc.sweetblue.BleCharacteristic
Returns an instance of BleDescriptor that holds the native BluetoothGattDescriptor for the UUID requested.
getDescriptor() - Method in class com.idevicesinc.sweetblue.BleDescriptor
Returns the instance of BluetoothGattDescriptor held in this class.
getDescriptorFilter() - Method in class com.idevicesinc.sweetblue.BleOp
Returns the DescriptorFilter set for this operation.
getDescriptorForUUID(UUID) - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDescriptor
 
getDescriptors() - Method in class com.idevicesinc.sweetblue.BleCharacteristic
Returns a list of BleDescriptors held in this characteristic.
getDescriptorUuid() - Method in class com.idevicesinc.sweetblue.BleOp
Returns the UUID of the descriptor for this operation.
getDevice(String) - Method in class com.idevicesinc.sweetblue.BleManager
Gets a known BleDeviceState.DISCOVERED device by MAC address, or BleDevice.NULL if there is no such device.
getDevice(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
Returns the first device that is in the given state, or BleDevice.NULL if no match is found.
getDevice(Object...) - Method in class com.idevicesinc.sweetblue.BleManager
Returns the first device that matches the query, or BleDevice.NULL if no match is found.
getDevice(int) - Method in class com.idevicesinc.sweetblue.BleManager
Returns the first device which returns true for BleDevice.isAny(int), or BleDevice.NULL if no such device is found.
getDevice() - Method in class com.idevicesinc.sweetblue.BleTransaction
Returns the device this transaction is running on.
getDevice() - Method in class com.idevicesinc.sweetblue.compat.L_Util.ScanResult
 
getDevice() - Method in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
getDevice(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Gets a known BleDeviceState.DISCOVERED device by MAC address, or BleDevice.NULL if there is no such device.
getDevice(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the first device that is in the given state, or BleDevice.NULL if no match is found.
getDevice(Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the first device that matches the query, or BleDevice.NULL if no match is found.
getDevice(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the first device which returns true for BleDevice.isAny(int), or BleDevice.NULL if no such device is found.
getDevice(BleDeviceState) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
getDevice(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Rx-ified version of BleManager.getDevice(String).
getDevice(Object...) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Rx-ified version of BleManager.getDevice(Object...).
getDevice(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Rx-ified version of BleManager.getDevice(int).
getDevice() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Returns the device this transaction is running on.
getDeviceAddress() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
getDeviceCount() - Method in class com.idevicesinc.sweetblue.BleManager
Returns the total number of devices this manager is...managing.
getDeviceCount(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
Returns the number of devices that are in the current state.
getDeviceCount(Object...) - Method in class com.idevicesinc.sweetblue.BleManager
Returns the number of devices that match the given query.
getDeviceCount() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the total number of devices this manager is...managing.
getDeviceCount(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the number of devices that are in the current state.
getDeviceCount(Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the number of devices that match the given query.
getDeviceCount() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns the total number of devices this manager is...managing.
getDeviceCount(BleDeviceState) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns the number of devices that are in the current state.
getDeviceCount(Object...) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns the number of devices that match the given query.
getDeviceLayer(IBleDevice) - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Returns the current instance of IBluetoothDevice.
getDeviceListenerFactory() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDeviceManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDeviceManager_cache() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDeviceName(IBluetoothDevice, byte[]) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDeviceName() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
Returns the filter set the device name field of Bluetooth advertisement data.
getDevices(ForEach_Void<BleDevice>) - Method in class com.idevicesinc.sweetblue.BleManager
Offers a more "functional" means of iterating through the internal list of devices instead of using BleManager.getDevices() or BleManager.getDevices_List().
getDevices(ForEach_Void<BleDevice>, BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.getDevices(ForEach_Void) but will only return devices in the given state provided.
getDevices(ForEach_Breakable<BleDevice>) - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.getDevices(ForEach_Void) if you need to break out of the iteration at any point.
getDevices(ForEach_Breakable<BleDevice>, BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.getDevices(ForEach_Void, BleDeviceState) if you need to break out of the iteration at any point.
getDevices() - Method in class com.idevicesinc.sweetblue.BleManager
Returns all the devices managed by this class.
getDevices(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.getDevice(BleDeviceState) except returns all matching devices.
getDevices(Object...) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.getDevice(Object...) except returns all matching devices.
getDevices(int) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.getDevices() except filters using BleDevice.isAny(int).
getDevices(ForEach_Void<BleDevice>) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDevices(ForEach_Void<BleDevice>, BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Same as P_BleManagerImpl.getDevices(ForEach_Void) but will only return devices in the given state provided.
getDevices(ForEach_Breakable<BleDevice>) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Overload of P_BleManagerImpl.getDevices(ForEach_Void) if you need to break out of the iteration at any point.
getDevices(ForEach_Breakable<BleDevice>, BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Overload of P_BleManagerImpl.getDevices(ForEach_Void, BleDeviceState) if you need to break out of the iteration at any point.
getDevices() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns an Observable that emits all RxBleDevices managed by the library.
getDevices_bonded() - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to return a Set of currently bonded devices.
getDevices_bonded() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to return a Set of currently bonded devices.
getDevices_bonded() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Rx-ified version of BleManager.getDevices_bonded().
getDevices_List() - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.getDevices() that returns a List for you.
getDevices_List(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.getDevices(BleDeviceState) that returns a List for you.
getDevices_List(Object...) - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.getDevices(Object...) that returns a List for you.
getDevices_List(int) - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.getDevices(int) that returns a List for you.
getDevices_List() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDevices_List(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDevices_List(Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDevices_List(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDevices_List_sorted() - Method in class com.idevicesinc.sweetblue.BleManager
getDevices_List_sorted(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
getDevices_List_sorted(Object...) - Method in class com.idevicesinc.sweetblue.BleManager
getDevices_List_sorted(int) - Method in class com.idevicesinc.sweetblue.BleManager
getDevices_List_sorted() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getDevices_List_sorted(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getDevices_List_sorted(Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getDevices_List_sorted(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getDevices_previouslyConnected() - Method in class com.idevicesinc.sweetblue.BleManager
Returns the mac addresses of all devices that we know about from both current and previous app sessions.
getDevices_previouslyConnected() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the mac addresses of all devices that we know about from both current and previous app sessions.
getDevices_previouslyConnected() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns an Observable which emits the macAddresses of all devices that we know about from both current and previous app sessions.
getDevices_sorted() - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.getDevices(), but with the devices sorted using BleManagerConfig.defaultListComparator, which by default sorts by BleDevice.getName_debug().
getDevices_sorted() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns an Observable that emits all RxBleDevices managed by the library.
getDiscoveryListener() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
getDiskOptionsManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getDisplayType() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTCharacteristic
 
getDisplayType() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDescriptor
 
getDistance() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the approximate distance in meters based on BleDevice.getRssi() and BleDevice.getTxPower().
getDistance() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getDistance() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the approximate distance in meters based on RxBleDevice.getRssi() and RxBleDevice.getTxPower().
getDouble(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getEffectiveWriteMtuSize() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the effective MTU size for a write.
getEffectiveWriteMtuSize() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getEffectiveWriteMtuSize() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the effective MTU size for a write.
getEnabledPermissions() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.Result
Returns a list of permissions that were successfully enabled
getEpochTime() - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
Returns the timestamp passed into the constructor.
getEpochTime() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns the epoch time of the historical data as a long, equivalent to HistoricalData.getEpochTime() but raw long is used for performance reasons.
getEpochTime_date() - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
Convenience to return the timestamp as a Date instance.
getEpochTime_dateString(DateFormat) - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
Convenience to return the timestamp as a formatted string, for example pass new SimpleDateFormat("MM/dd/yyyy HH:mm:ss").
getEpochTime_millis() - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
Convenience to return the epoch time as milliseconds since 1970.
getErrorCode() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.Result
If BleSetupHelper.Result.getSuccessful() returned false, this will contain an error code indicating the reason.
getErrorMessage() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.Result
If BleSetupHelper.Result.getSuccessful() returned false, this will contain an error message describing the reason.
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.AdvertisingException
 
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.BondException
 
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.ConnectException
 
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.EventException
Returns the event instance holding information as to what went wrong.
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.NotifyEnableException
 
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.OutgoingException
 
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.ServerConnectException
 
getEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.ServiceAddException
 
getExponentValue() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
 
getExtras() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getFallbackString() - Method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.DefaultString
 
getFlags(BleScanRecord.Option[]) - Static method in enum com.idevicesinc.sweetblue.utils.BleScanRecord.Option
 
getFloat(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getForceReadTimeout() - Method in class com.idevicesinc.sweetblue.BleNotify
Get the forced read timeout set in this BleNotify.
getFormat() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTCharacteristic
 
getFormat() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDescriptor
 
getFromBleCharacteristic(BleCharacteristic, UUID) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
getFromQueue(IBleManager, Class<T>) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getFutureData(IncomingListener.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getFutureLocalTimeInfo() - Static method in class com.idevicesinc.sweetblue.utils.Utils_Time
getFutureTime() - Static method in class com.idevicesinc.sweetblue.utils.Utils_Time
getGatt() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
getGatt() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
getGatt() - Method in class com.idevicesinc.sweetblue.internal.android.P_GattHolder
 
getGatt() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Internal method which does nothing, and has no value when unit testing.
getGattLayer(IBleDevice) - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Returns the current instance of IBluetoothGatt.
getGattObject() - Method in class com.idevicesinc.sweetblue.internal.P_NativeGattObject
 
getGattStatus() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getHighestState() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getHistoricalData(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
getHistoricalData(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns an Observable which emits HistoricalData for each data item for the UUID given, and within the specified range.
getHistoricalData() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns the historical data at the current position.
getHistoricalData_atOffset(UUID, int) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.addHistoricalData(UUID, byte[], EpochTime) but returns the data from the chronological offset, i.e.
getHistoricalData_atOffset(UUID, EpochTimeRange, int) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.getHistoricalData_atOffset(java.util.UUID, int) but offset is relative to the time range provided.
getHistoricalData_atOffset(UUID, EpochTimeRange, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getHistoricalData_atOffset(UUID, int) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
getHistoricalData_atOffset(UUID, EpochTimeRange, int) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
getHistoricalData_cursor(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns a cursor capable of random access to the database-persisted historical data for this device.
getHistoricalData_cursor(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.getHistoricalData_cursor(UUID) but constrains the results to the given time range.
getHistoricalData_cursor(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getHistoricalData_forEach(UUID, ForEach_Void<HistoricalData>) - Method in class com.idevicesinc.sweetblue.BleDevice
Provides all historical data through the "for each" provided.
getHistoricalData_forEach(UUID, EpochTimeRange, ForEach_Void<HistoricalData>) - Method in class com.idevicesinc.sweetblue.BleDevice
Provides all historical data through the "for each" provided within the range provided.
getHistoricalData_forEach(UUID, ForEach_Breakable<HistoricalData>) - Method in class com.idevicesinc.sweetblue.BleDevice
Provides all historical data through the "for each" provided.
getHistoricalData_forEach(UUID, EpochTimeRange, ForEach_Breakable<HistoricalData>) - Method in class com.idevicesinc.sweetblue.BleDevice
Provides all historical data through the "for each" provided within the range provided.
getHistoricalData_forEach(UUID, EpochTimeRange, ForEach_Void<HistoricalData>) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getHistoricalData_forEach(UUID, EpochTimeRange, ForEach_Breakable<HistoricalData>) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getHistoricalData_iterator(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns an iterator that will iterate through all HistoricalData entries.
getHistoricalData_iterator(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns an iterator that will iterate through all HistoricalData entries within the range provided.
getHistoricalData_iterator(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getHistoricalData_latest(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the cached data from the latest successful read or notify received for a given uuid.
getHistoricalData_latest(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the cached data from the latest successful read or notify received for a given uuid.
getHistoricalDatabase() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getHistoricalDataCount(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the number of historical data entries that have been logged for the device's given characteristic.
getHistoricalDataCount(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the number of historical data entries that have been logged for the device's given characteristic within the range provided.
getHistoricalDataCount(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getHistoricalDataCount(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the number of historical data entries that have been logged for the device's given characteristic.
getHistoricalDataCount(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the number of historical data entries that have been logged for the device's given characteristic within the range provided.
getHistoricalDataLoadListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getHistoricalDataTableName(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the database table name for the underlying store of historical data for the given UUID.
getHistoricalDataTableName(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getIBleDevice(BleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getIBleManager(BleManager) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getIBleServer(BleServer) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getIBleTransaction(BleTransaction) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getIManager() - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getInitSweetBlueThreadHandler() - Static method in class com.idevicesinc.sweetblue.rx.plugins.RxSweetBluePlugins
Returns the current hook function.
getInstance() - Static method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
getInstanceId() - Method in class com.idevicesinc.sweetblue.BleCharacteristic
 
getInstanceId() - Method in class com.idevicesinc.sweetblue.BleService
 
getInstanceId() - Method in interface com.idevicesinc.sweetblue.utils.UsesInstanceId
 
getInt(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getInt(UUID) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
Parses the first 8 characters of the string representations of the given UUID as an integer hex string.
getIntent(T_State) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
Returns the intention behind the state change, or State.ChangeIntent.NULL if no state change for the given state occurred.
getInternalListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getInternalListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getInternalListener() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
getIsAttemptingLongTermReconnect() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getIsHalt() - Method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.State
 
getIsLocationRelated() - Method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.Permission
 
getIsUndiscoverAfter() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getIterator(EpochTimeRange) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
getIterator(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
getKey() - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Subclasses must implement this method and return a valid SweetBlue API key.
getLastDisconnectIntent() - Method in class com.idevicesinc.sweetblue.BleDevice
This enum gives you an indication of the last interaction with a device across app sessions or in-app BLE BleManagerState.OFF->BleManagerState.ON cycles or undiscovery->rediscovery, which basically means how it was last BleDeviceState.BLE_DISCONNECTED.
getLastDisconnectIntent() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getLastDisconnectIntent() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
This enum gives you an indication of the last interaction with a device across app sessions or in-app BLE BleManagerState.OFF->BleManagerState.ON cycles or undiscovery->rediscovery, which basically means how it was last BleDeviceState.BLE_DISCONNECTED.
getLastDiscoveryTime() - Method in class com.idevicesinc.sweetblue.BleDevice
getLastDiscoveryTime() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getLastDiscoveryTime() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
getLastLog() - Method in class com.idevicesinc.sweetblue.utils.DebugLogger
Returns the last log statement
getLastLogs(int) - Method in class com.idevicesinc.sweetblue.utils.DebugLogger
Return a List with the last count of log statements.
getLeastSignificantBits() - Method in class com.idevicesinc.sweetblue.utils.BleUuid
You shouldn't need to call this yourself, but it's left public for flexibility.
getLimit() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Returns the limit provided through BleNodeConfig.HistoricalDataLogFilter.Please.andLimitLogTo(long), or Long.MAX_VALUE if not applicable.
getListener_Advertise() - Method in class com.idevicesinc.sweetblue.BleServer
 
getListener_Advertise() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
getListener_Advertising() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getListener_Connect() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the current DeviceConnectListener being used (the top of the stack).
getListener_Connect() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getListener_Discovery() - Method in class com.idevicesinc.sweetblue.BleManager
Returns the discovery listener set with BleManager.setListener_Discovery(DiscoveryListener) or BleManagerConfig.defaultDiscoveryListener, or null if not set.
getListener_Discovery() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getListener_Incoming() - Method in class com.idevicesinc.sweetblue.BleServer
Returns the listener provided to BleServer.setListener_Incoming(IncomingListener).
getListener_Incoming() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
getListener_Notification() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the current NotificationListener being used (the top of the stack).
getListener_Notification() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getListener_Outgoing() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getListener_ReadWrite() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the current ReadWriteListener being used (the top of the stack).
getListener_ReadWrite() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getListener_Reconnect() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the current DeviceReconnectFilter being used (the top of the stack).
getListener_Reconnect() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getListener_State() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the current DeviceStateListener being used (the top of the stack).
getListener_State() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getListener_TaskState() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getListeners() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getLoadState() - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
getLoadState() - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
getLocalTimeInfo() - Static method in class com.idevicesinc.sweetblue.utils.Utils_Time
Returns the local time info as a byte array, useful for implementing BleServices.currentTime() for example.
getLogger() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getLogList() - Method in class com.idevicesinc.sweetblue.utils.DebugLogger
Returns a List of log statements.
getLogList_prettyString() - Method in class com.idevicesinc.sweetblue.utils.DebugLogger
This is a convenience method which calls DebugLogger.getLogList(), then runs it through Utils_String.prettyFormatLogList(List).
getLong(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getMacAddress() - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
getMacAddress() - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
getMacAddress() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the MAC address of this device, as retrieved from the native stack or provided through BleManager.newDevice(String) (or overloads thereof).
getMacAddress() - Method in class com.idevicesinc.sweetblue.BleNode
Returns the MAC address of the remote BleDevice or local BleServer.
getMacAddress() - Method in class com.idevicesinc.sweetblue.BleServer
Returns the local mac address provided by BluetoothAdapter.getAddress().
getMacAddress() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getMacAddress() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns the local mac address provided by BluetoothAdapter.getAddress().
getMacAddress() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the MAC address of this device, as retrieved from the native stack or provided through RxBleManager.newDevice(String) (or overloads thereof).
getMacAddress() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
getManager() - Method in class com.idevicesinc.sweetblue.BleNode
Returns this endpoint's manager.
getManager() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Returns the IBleManager instance held by this class.
getManagerLayer(IBleDevice) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getManagerLayer() - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Returns the current instance of IBluetoothManager.
getManagerListenerFactory() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getManufacturerData() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the manufacturer data, if any, parsed from BleDevice.getScanRecord().
getManufacturerData() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getManufacturerData() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the manufacturer data, if any, parsed from RxBleDevice.getScanRecord().
getManufacturerData() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Get the manufacturer data from this instance.
getManufacturerData() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
getManufacturerDataList() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns a List of all manufacturer data parsed in the scan record.
getManufacturerDataMask() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
getManufacturerId() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the manufacturer id, if any, parsed from BleDevice.getScanRecord() }.
getManufacturerId() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getManufacturerId() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the manufacturer id, if any, parsed from RxBleDevice.getScanRecord() }.
getManufacturerId() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Get the manufacturer Id from this BleScanRecord instance.
getManufacturerId() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
Returns the manufacturer id.
getMetadata() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.PermissionInstance
 
getModifiedStateBits(int, int, int) - Static method in class com.idevicesinc.sweetblue.utils.Utils_State
 
getMostSignificantBits() - Method in class com.idevicesinc.sweetblue.utils.BleUuid
You shouldn't need to call this yourself, but it's left public for flexibility.
getMtu() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the "maximum transmission unit" value set by BleDevice.negotiateMtu(int, ReadWriteListener), or BleNodeConfig.DEFAULT_MTU_SIZE if it was never set explicitly.
getMtu() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getMtu() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the "maximum transmission unit" value set by RxBleDevice.negotiateMtu(int), or BleNodeConfig.DEFAULT_MTU_SIZE if it was never set explicitly.
getName() - Method in class com.idevicesinc.sweetblue.BleServer
Returns the name this BleServer is using (and will be advertised as, if applicable).
getName() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
getName() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getName() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
getName() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getName() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns the name this BleServer is using (and will be advertised as, if applicable).
getName() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
getName() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Returns the name of the device
getName() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns the name of this manager/adaptor.
getName() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns the device name
getName() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTCharacteristic
 
getName() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDescriptor
 
getName_debug() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns a name useful for logging and debugging.
getName_debug() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getName_debug() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns a name useful for logging and debugging.
getName_native() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the raw, unmodified device name retrieved from the stack.
getName_native() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getName_native() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the raw, unmodified device name retrieved from the stack.
getName_normalized() - Method in class com.idevicesinc.sweetblue.BleDevice
The name retrieved from BleDevice.getName_native() can change arbitrarily, like the last 4 of the MAC address can get appended sometimes, and spaces might get changed to underscores or vice-versa, caps to lowercase, etc.
getName_normalized() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getName_normalized() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
The name retrieved from RxBleDevice.getName_native() can change arbitrarily, like the last 4 of the MAC address can get appended sometimes, and spaces might get changed to underscores or vice-versa, caps to lowercase, etc.
getName_override() - Method in class com.idevicesinc.sweetblue.BleDevice
By default returns the same value as BleDevice.getName_native().
getName_override() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getName_override() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
By default returns the same value as RxBleDevice.getName_native().
getNative() - Method in class com.idevicesinc.sweetblue.BleDevice
Provides just-in-case lower-level access to the native device instance.
getNative() - Method in class com.idevicesinc.sweetblue.BleManager
Returns the native manager.
getNative() - Method in class com.idevicesinc.sweetblue.BleServer
Provides just-in-case lower-level access to the native server instance.
getNative() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getNative() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the native manager.
getNative() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Provides just-in-case lower-level access to the native server instance.
getNative() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Provides just-in-case lower-level access to the native device instance.
getNative() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns the native manager.
getNative() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Provides just-in-case lower-level access to the native server instance.
getNativeAdapter() - Method in class com.idevicesinc.sweetblue.BleManager
Returns the native bluetooth adapter.
getNativeAdapter() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the native bluetooth adapter.
getNativeAdapter() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns the native bluetooth adapter.
getNativeAdaptor() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getNativeAdaptor() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getNativeAdaptor() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns null as the adaptor is mocked.
getNativeAdvertisingCallback() - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
getNativeBit(BleDeviceState) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getNativeBleCharacteristic(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns the native characteristic for the given UUID in case you need lower-level access.
getNativeBleCharacteristic(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeBleCharacteristic(UUID) for when you have characteristics with identical uuids under different services.
getNativeBleCharacteristic(UUID, UUID) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeBleCharacteristic(UUID, UUID, DescriptorFilter) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeBleDescriptor(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeBleDescriptor(UUID, UUID, UUID) that will return the first descriptor we find matching the given UUID.
getNativeBleDescriptor(UUID, UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns the BleDescriptor for the given UUID in case you need lower-level access.
getNativeBleDescriptor(UUID, UUID, UUID) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeBleDescriptor_inChar(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeBleDescriptor(UUID, UUID, UUID) that will return the first descriptor we find inside the given characteristic matching the given UUID.
getNativeBleDescriptor_inService(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeBleDescriptor(UUID, UUID, UUID) that will return the first descriptor we find inside the given service matching the given UUID.
getNativeBleService(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns the native service for the given UUID in case you need lower-level access.
getNativeBleService(UUID) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeBleServiceList() - Method in class com.idevicesinc.sweetblue.utils.GattDatabase
 
getNativeCallback() - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener
 
getNativeCharacteristic(UUID, UUID, DescriptorFilter) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeBleCharacteristic(UUID, UUID) for when you have characteristics with identical uuids within the same service.
getNativeCharacteristics(ForEach_Void<BleCharacteristic>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeCharacteristics() that uses a for each construct instead of returning an iterator.
getNativeCharacteristics(ForEach_Breakable<BleCharacteristic>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeCharacteristics() that uses a for each construct instead of returning an iterator.
getNativeCharacteristics(UUID, ForEach_Void<BleCharacteristic>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeCharacteristics(UUID) that uses a for each construct instead of returning an iterator.
getNativeCharacteristics(UUID, ForEach_Breakable<BleCharacteristic>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeCharacteristics(UUID) that uses a for each construct instead of returning an iterator.
getNativeCharacteristics() - Method in class com.idevicesinc.sweetblue.BleNode
Returns all BluetoothGattCharacteristic instances.
getNativeCharacteristics(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Same as BleNode.getNativeCharacteristics() but you can filter on the service UUID.
getNativeCharacteristics(UUID, ForEach_Void<BleCharacteristic>) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeCharacteristics(UUID, ForEach_Breakable<BleCharacteristic>) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeCharacteristics(UUID) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeCharacteristics_List() - Method in class com.idevicesinc.sweetblue.BleNode
Convenience overload of BleNode.getNativeCharacteristics() that returns a List.
getNativeCharacteristics_List(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Convenience overload of BleNode.getNativeCharacteristics(UUID) that returns a List.
getNativeCharacteristics_List(UUID) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeCode() - Method in enum com.idevicesinc.sweetblue.BleManagerState
Returns the analogous native code, if applicable.
getNativeData(BleScanRecord) - Static method in class com.idevicesinc.sweetblue.utils.P_Bridge_Utils
 
getNativeDescriptors() - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node.
getNativeDescriptors(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node in the given characteristic.
getNativeDescriptors(ForEach_Void<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors() using a for each construct.
getNativeDescriptors(ForEach_Breakable<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors() using a for each construct.
getNativeDescriptors(UUID, UUID, ForEach_Void<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors(UUID, UUID) using a for each construct.
getNativeDescriptors(UUID, UUID, ForEach_Breakable<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors(UUID, UUID) using a for each construct.
getNativeDescriptors(UUID, UUID) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeDescriptors(UUID, UUID, ForEach_Void<BleDescriptor>) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeDescriptors(UUID, UUID, ForEach_Breakable<BleDescriptor>) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeDescriptors_inChar(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node in the given characteristic.
getNativeDescriptors_inChar(UUID, ForEach_Void<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors_inChar(UUID) using a for each construct.
getNativeDescriptors_inChar(UUID, ForEach_Breakable<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors_inChar(UUID) using a for each construct.
getNativeDescriptors_inChar_List(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node in the given characteristic as a list.
getNativeDescriptors_inService(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node in the given service.
getNativeDescriptors_inService(UUID, ForEach_Void<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors_inService(UUID) using a for each construct.
getNativeDescriptors_inService(UUID, ForEach_Breakable<BleDescriptor>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeDescriptors_inService(UUID) using a for each construct.
getNativeDescriptors_inService_List(UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node in the given service as a list.
getNativeDescriptors_List() - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node as a list.
getNativeDescriptors_List(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleNode
Returns all descriptors on this node in the given characteristic as a list.
getNativeDescriptors_List(UUID, UUID) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeDevice() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
getNativeDevice() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
getNativeDevice() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
This will always return null, as when unit testing, we don't have any actual native devices.
getNativeGatt() - Method in class com.idevicesinc.sweetblue.BleDevice
See pertinent warning for BleDevice.getNative().
getNativeGatt() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getNativeGatt() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
See pertinent warning for RxBleDevice.getNative().
getNativeLayer() - Method in class com.idevicesinc.sweetblue.BleServer
Provides just-in-case access to the abstracted server instance.
getNativeLayer() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Provides just-in-case access to the abstracted server instance.
getNativeLayer() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Provides just-in-case access to the abstracted server instance.
getNativeListener(IBleDevice) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getNativeManager() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getNativeManager() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getNativeManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getNativeManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getNativeManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
getNativeManager() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns null as the manager is mocked.
getNativeMode() - Method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleAdvertisingMode
Returns one of the static final int members of AdvertiseSettings, or -1 for BleAdvertisingSettings.BleAdvertisingMode.AUTO.
getNativeMode() - Method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleTransmissionPower
Returns one of the static final int members of AdvertiseSettings
getNativeMode() - Method in enum com.idevicesinc.sweetblue.BleConnectionPriority
Returns one of the static final int members of BleConnectionPriority whose name starts with CONNECTION_PRIORITY_.
getNativeMode() - Method in enum com.idevicesinc.sweetblue.BleScanPower
 
getNativeScanCallback() - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
getNativeServer() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
getNativeServer() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
getNativeServer() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Returns null, as in unit tests it's mocked.
getNativeServiceList(LogFunction) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
getNativeServiceList(LogFunction) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
getNativeServiceList(LogFunction) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Returns a List of BleServices that represent the backing gatt database.
getNativeServiceList() - Method in class com.idevicesinc.sweetblue.utils.GattDatabase
Return the list of native BluetoothGattServices in this GattDatabase.
getNativeServices() - Method in class com.idevicesinc.sweetblue.BleNode
Returns all BluetoothGattService instances.
getNativeServices(ForEach_Void<BleService>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeServices() that uses a for each construct instead of returning an iterator.
getNativeServices(ForEach_Breakable<BleService>) - Method in class com.idevicesinc.sweetblue.BleNode
Overload of BleNode.getNativeServices() that uses a for each construct instead of returning an iterator.
getNativeServices() - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeServices(ForEach_Void<BleService>) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeServices(ForEach_Breakable<BleService>) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeServices_List() - Method in class com.idevicesinc.sweetblue.BleNode
Convenience overload of BleNode.getNativeServices() that returns a List.
getNativeServices_List() - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
getNativeSettings(BleScanRecord, BleAdvertisingSettings.BleAdvertisingMode, BleAdvertisingSettings.BleTransmissionPower, Interval) - Static method in class com.idevicesinc.sweetblue.utils.P_Bridge_Utils
 
getNativeStateMask() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the actual native state mask representation of the BleDeviceState for this device.
getNativeStateMask() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getNativeStateMask() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the actual native state mask representation of the BleDeviceState for this device.
getNativeStatus() - Method in enum com.idevicesinc.sweetblue.AdvertisingListener.Status
 
getNegotiatedMtuSize() - Method in class com.idevicesinc.sweetblue.MtuTestCallback.MtuTestEvent
The MTU size that was negotiated with the peripheral.
getNextInsertCounter() - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
getNotificationListener() - Method in class com.idevicesinc.sweetblue.BleNotify
Get the NotificationListener set in this instance of BleNotify.
getNotificationUri() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getOnSweetBlueThreadSchedulerHandler() - Static method in class com.idevicesinc.sweetblue.rx.plugins.RxSweetBluePlugins
Returns the current hook function.
getOrigin() - Method in class com.idevicesinc.sweetblue.BleDevice
How the device was originally created, either from scanning or explicit creation.
getOrigin() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getOrigin() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
How the device was originally created, either from scanning or explicit creation.
getOutgoingListener(IncomingListener.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getOverrideReadWritePriority() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getPauseTime() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
getPermission() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.PermissionInstance
 
getPersistanceLevel(BleNodeConfig.HistoricalDataLogFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getPhy_private() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getPhyOptions() - Method in enum com.idevicesinc.sweetblue.utils.Phy
 
getPollManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getPosition() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getPosition() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns the current position of the cursor in the row set.
getPositionInQueue(IBleManager, IBleDevice, String) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getPostLollipopCallback() - Method in interface com.idevicesinc.sweetblue.internal.android.IManagerListener
 
getPostManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getPreLollipopCallback() - Method in interface com.idevicesinc.sweetblue.internal.android.IManagerListener
 
getPriority(PA_Task) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getPriority() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getPriority() - Method in class com.idevicesinc.sweetblue.internal.P_Task_FactoryReset
 
getProperNotificationType(BleCharacteristic, NotificationListener.Type) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
getProperties(BleCharacteristic) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getQueueSize(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getRandomTime(int, int) - Static method in class com.idevicesinc.sweetblue.utils.Util_Unit
Returns a random amount of time wrapped in an Interval instance from the given range.
getRandomTime() - Static method in class com.idevicesinc.sweetblue.utils.Util_Unit
Overloads Util_Unit.getRandomTime(), using the range 50-500.
getRange() - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
getRange() - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
getRawValue() - Method in class com.idevicesinc.sweetblue.utils.Distance
 
getRawValue() - Method in class com.idevicesinc.sweetblue.utils.Interval
 
getRawValue() - Method in class com.idevicesinc.sweetblue.utils.Percent
 
getRawValue() - Method in class com.idevicesinc.sweetblue.utils.Unit
Subclasses must implement this to return their raw double value.
getReadWriteListener() - Method in class com.idevicesinc.sweetblue.BleOp
Returns the ReadWriteListener set for this operation.
getRecord() - Method in class com.idevicesinc.sweetblue.compat.L_Util.ScanResult
 
getReliableWriteManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getRemedy() - Method in enum com.idevicesinc.sweetblue.UhOhListener.UhOh
getRemoteDevice(String) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getRemoteDevice(String) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getRemoteDevice(String) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Default returns null.
getRequestCode() - Method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.Permission
 
getRetryCount() - Method in class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
 
getRssi() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the raw RSSI retrieved from when the device was discovered, rediscovered, or when you call BleDevice.readRssi() or BleDevice.startRssiPoll(Interval).
getRssi() - Method in class com.idevicesinc.sweetblue.compat.L_Util.ScanResult
 
getRssi() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getRssi() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the raw RSSI retrieved from when the device was discovered, rediscovered, or when you call RxBleDevice.readRssi() or RxBleDevice.startRssiPoll(Interval).
getRssiPercent() - Method in class com.idevicesinc.sweetblue.BleDevice
Raw RSSI from BleDevice.getRssi() is a little cryptic, so this gives you a friendly 0%-100% value for signal strength.
getRssiPercent() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getRssiPercent() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Raw RSSI from RxBleDevice.getRssi() is a little cryptic, so this gives you a friendly 0%-100% value for signal strength.
getRssiValue() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Returns a random rssi value based off BleDeviceConfig.rssi_min and BleDeviceConfig.rssi_max.
getRunningAverage() - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
 
getRunningAverageN() - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
 
getRxEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.EventException
 
getRxEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.HistoricalDataLoadException
 
getRxEvent() - Method in exception com.idevicesinc.sweetblue.rx.exception.ReadWriteException
 
getRxMask() - Method in enum com.idevicesinc.sweetblue.utils.Phy
 
getScanApi(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getScanFilter() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
getScanInfo() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the BleScanRecord instance held by this BleDevice.
getScanInfo() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getScanInfo() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the BleScanRecord instance held by this RxBleDevice.
getScanManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getScanPower(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getScanRecord() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the scan record from when we discovered the device.
getScanRecord() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getScanRecord() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the scan record from when we discovered the device.
getScanTime() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
getServer() - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.getServer(IncomingListener) without any initial set-up parameters.
getServer(IncomingListener) - Method in class com.idevicesinc.sweetblue.BleManager
Returns a BleServer instance.
getServer(GattDatabase) - Method in class com.idevicesinc.sweetblue.BleManager
getServer(GattDatabase, AddServiceListener) - Method in class com.idevicesinc.sweetblue.BleManager
getServer(IncomingListener, GattDatabase, AddServiceListener) - Method in class com.idevicesinc.sweetblue.BleManager
Returns a BleServer instance.
getServer() - Method in class com.idevicesinc.sweetblue.internal.android.P_ServerHolder
 
getServer() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Overload of BleManager.getServer(IncomingListener) without any initial set-up parameters.
getServer(IncomingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns a BleServer instance.
getServer(GattDatabase) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getServer(GattDatabase, AddServiceListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getServer(IncomingListener, GattDatabase, AddServiceListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns a BleServer instance.
getServer(IncomingListener, GattDatabase, AddServiceListener) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
getServer() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
getServerLayer(IBleManager, P_ServerHolder) - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Returns the current instance of IBluetoothServer.
getServerListenerFactory() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getServerServiceManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
getService() - Method in class com.idevicesinc.sweetblue.BleCharacteristic
Returns an instance of BleService that holds the native BluetoothGattService which this characteristic belongs to.
getService() - Method in class com.idevicesinc.sweetblue.BleService
Returns the instance of BluetoothGattService held in this class.
getService(UUID) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
getService(UUID) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
getService(UUID) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Returns a BleService instance which has the given UUID.
getServiceData() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns a Map of the service data in this instance.
getServiceData() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
getServiceDataMask() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
getServiceDataUuid() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
getServiceList() - Method in class com.idevicesinc.sweetblue.utils.GattDatabase
Return the list of BleServices in this GattDatabase.
getServiceManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getServices() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
getServices() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
getServices(Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getServices() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Returns a List of BleServices served by the BleServer instance.
getServiceUuid() - Method in class com.idevicesinc.sweetblue.BleOp
Returns the UUID of the service for this operation.
getServiceUuid(MtuTestCallback.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getServiceUuid() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
Returns the filter set on the service uuid.
getServiceUuidMask() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
getServiceUUIDS() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns a list of service UUIDs.
getShort(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getShortName() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
 
getSizeBits() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
 
getSizeBytes() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
 
getSkippedPermissions() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.Result
Returns a list of permissions that were not successfully enabled, but needed to be
getStage() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Returns the current BluetoothEnabler.BluetoothEnablerFilter.Stage the enabler is on
getState() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
getState() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
getState(int) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getState() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns the native state of the Bluetooth Adaptor
getStateMask() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the bitwise state mask representation of BleDeviceState for this device.
getStateMask() - Method in class com.idevicesinc.sweetblue.BleManager
Returns the abstracted bitwise state mask representation of BleManagerState for the manager instance.
getStateMask(String) - Method in class com.idevicesinc.sweetblue.BleServer
Returns the bitwise state mask representation of BleServerState for the given client mac address.
getStateMask() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getStateMask() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns the abstracted bitwise state mask representation of BleManagerState for the manager instance.
getStateMask(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns the bitwise state mask representation of BleServerState for the given client mac address.
getStateMask() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the bitwise state mask representation of BleDeviceState for this device.
getStateMask() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns the abstracted bitwise state mask representation of BleManagerState for the manager instance.
getStateMask(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns the bitwise state mask representation of BleServerState for the given client mac address.
getStateTracker() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getStateTracker() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getStepsCompleted() - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
 
getStepsRemaining() - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
 
getString(Activity, String) - Static method in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
getString(BleSetupHelper.DefaultString) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
This method is used by the enabler to obtain strings that will be shown to the user.
getString(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getStringId() - Method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.DefaultString
 
getStringValue(byte[], String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
getStringValue(byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
getSuccessful() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.Result
If true, the enabler was able to obtain all of the required permissions.
getTableName(String, UUID) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
getTableName(String, UUID) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
getTaskManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getTaskType() - Method in class com.idevicesinc.sweetblue.internal.P_Task_FactoryReset
 
getThread() - Method in interface com.idevicesinc.sweetblue.internal.P_SweetHandler
 
getThread() - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
 
getThreadLocalTransaction() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getThreadName(int) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
getTime() - Method in class com.idevicesinc.sweetblue.BleTransaction
Returns the total time that this transaction has been running.
getTime() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Returns the total time that this transaction has been running.
getTimeElapsed() - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
 
getTimeInState(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleDevice
If BleDevice.is(BleDeviceState) returns true for the given state (i.e.
getTimeInState(BleManagerState) - Method in class com.idevicesinc.sweetblue.BleManager
getTimeInState(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getTimeInState(BleManagerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
getTimeInState(BleDeviceState) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
If RxBleDevice.is(BleDeviceState) returns true for the given state (i.e.
getTimeInState(BleManagerState) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
getTimeout() - Method in class com.idevicesinc.sweetblue.BleAdvertisingSettings
Returns the timeout period.
getTimeout(TaskTimeoutRequestFilter.TaskTimeoutRequestEvent) - Static method in class com.idevicesinc.sweetblue.BleNodeConfig
 
getTimeRemaining() - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
 
getTimeSinceLastDiscovery() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getTiming() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getTotalAverage() - Method in class com.idevicesinc.sweetblue.utils.TimeEstimator
 
getTraceIndex() - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Should return the index of the current stack trace that contains the test method.
getTransitoryConnectionState(int) - Static method in enum com.idevicesinc.sweetblue.BleDeviceState
A convenience for UI purposes, this returns the "highest" connection state representing a transition from one state to another, so something with "ING" in the name (except BleDeviceState.PERFORMING_OTA).
getTransmissionPower() - Method in class com.idevicesinc.sweetblue.BleAdvertisingSettings
Returns the advertising transmission power specified with BleAdvertisingSettings.BleTransmissionPower
getTxMask() - Method in enum com.idevicesinc.sweetblue.utils.Phy
 
getTxnFailReason() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
getTxnManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getTxPower() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the calibrated transmission power of the device.
getTxPower() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
getTxPower() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns the calibrated transmission power of the device.
getTxPower() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Gets the Tx power
getType(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getUhOh() - Method in class com.idevicesinc.sweetblue.internal.P_NativeGattObject
Mostly used internally, but if there was a particular issue when retrieving a gatt object, it will have an UhOhListener.UhOh with a status of what went wrong.
getUpdateHandler(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
getUpdateHandler() - Static method in class com.idevicesinc.sweetblue.P_Bridge
 
getUpdateRate() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getUpdateRate(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
getUuid() - Method in class com.idevicesinc.sweetblue.BleCharacteristic
Forwards BluetoothGattCharacteristic.getUuid().
getUuid() - Method in class com.idevicesinc.sweetblue.BleDescriptor
Returns the UUID of this descriptor.
getUuid() - Method in class com.idevicesinc.sweetblue.BleService
Returns the UUID of thi service.
getUUID() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTCharacteristic
 
getUUID() - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDescriptor
 
getUuidBytes(UUID, BleUuid.UuidSize) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
Returns a byte[] from the given UUID, the size of which is controlled by BleUuid.UuidSize.
getUuidName(String) - Method in class com.idevicesinc.sweetblue.utils.BasicUuidNameMap
 
getUuidName(String) - Method in class com.idevicesinc.sweetblue.utils.ReflectionUuidNameMap
 
getUuidName(String) - Method in interface com.idevicesinc.sweetblue.utils.UuidNameMap
Returns the name of the UUID to be used for logging/debugging purposes, for example "BATTERY_LEVEL".
getUuidName(String) - Method in class com.idevicesinc.sweetblue.utils.UuidNameMap_ListWrapper
 
getValue() - Method in class com.idevicesinc.sweetblue.BleCharacteristic
Forwards BluetoothGattCharacteristic.getValue().
getValue() - Method in class com.idevicesinc.sweetblue.BleDescriptor
Returns this descriptor's current value.
getWakeLockManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
getWantsAllOnMoveCalls() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
getWriteType() - Method in class com.idevicesinc.sweetblue.BleWrite
 
getWriteType(MtuTestCallback.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
getWriteType_safe() - Method in class com.idevicesinc.sweetblue.BleWrite
This is almost the same as BleWrite.getWriteType(), only that this will never return null.
GLUCOSE_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
GLUCOSE_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
GLUCOSE_MEASUREMENT_CONTEXT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
GLUCOSE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids