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
 
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
 
binaryStringToBytes(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
Converts a binary string to a byte array
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
 
bits() - Method in enum com.idevicesinc.sweetblue.utils.State.ChangeIntent
 
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.
BleDeviceConfig_UnitTest - Class in com.idevicesinc.sweetblue
Convenience config class which sets BleDeviceConfig.gattFactory, and BleDeviceConfig.bluetoothDeviceFactory to the default unit testing equivalents.
BleDeviceConfig_UnitTest() - Constructor for class com.idevicesinc.sweetblue.BleDeviceConfig_UnitTest
 
BleDeviceConfig_UnitTest(GattDatabase) - Constructor for class com.idevicesinc.sweetblue.BleDeviceConfig_UnitTest
This constructor allows you to pass in a GattDatabase instance to be used for the default BleDeviceConfig.gattFactory instance.
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 BleDeviceConfig.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(BleManager, Activity, BleSetupHelper.BluetoothEnablerImpl, BleSetupHelper.ResultListener) - Constructor for class com.idevicesinc.sweetblue.utils.BleSetupHelper
Constructor for use when you want a result listener, and to provide your own implementation of the enabler, or add on to the implementation with custom permissions.
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.
blockingShutdown - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is false - This makes it so that BleManager.shutdown() is a blocking call.
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.BleDeviceConfig
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.BondEvent.Type - Enum in com.idevicesinc.sweetblue
 
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.
buildArray() - Method in class com.idevicesinc.sweetblue.BleDescriptorRead.Builder
 
buildArray() - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
 
buildArray() - Method in class com.idevicesinc.sweetblue.BleNotify.Builder
 
buildArray() - Method in class com.idevicesinc.sweetblue.BleRead.Builder
 
buildArray() - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
 
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.
byteSize() - Method in enum com.idevicesinc.sweetblue.utils.BleUuid.UuidSize
 
bytesToBinaryString(byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
Convert a byte array to a binary string
bytesToBinaryString(byte[], int) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
Convert a byte array to a binary string Also inserts spaces between every count bytes (for legibility)
bytesToHexString(byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
Convert a byte array to a hex string.
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.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.
clearGattOnOtaSuccess - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is false.
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.
clearShutdownSemaphore() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
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(BluetoothDevice, boolean, Context, BluetoothGattCallback, Handler) - 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 ObservableEmitter#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_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 BleDeviceConfig.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 BleDeviceConfig.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.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_BLEDEVICE_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.
equalOpportunityReadsWrites - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is false - SweetBlue tries to manage task priority for best performance.
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
 
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.
FutureChange - Annotation Type in com.idevicesinc.sweetblue.annotations
This annotation denotes things that will change in the future.
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.BleDeviceConfig
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 interface com.idevicesinc.sweetblue.P_Bridge_User.TransactionHolder
 
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.
getBleDeviceListFromScanIntent(Intent, IBleManager) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
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
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(Intent) - Method in class com.idevicesinc.sweetblue.BleManager
This is a convenience method to get an ArrayList of BleDevices from the Intent which was delivered as a result of calling BleManager.startScan(ScanOptions) when using a PendingIntent.
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(Intent) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
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
 
getIsForcedRemoteDisconnect() - 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
 
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
 
getPendingIntent() - 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
 
getPriority() - Method in class com.idevicesinc.sweetblue.internal.P_Task_Shutdown
 
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
 
getTaskType() - Method in class com.idevicesinc.sweetblue.internal.P_Task_Shutdown
 
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.
getTransactionType() - Method in class com.idevicesinc.sweetblue.BleTransaction.Auth
 
getTransactionType() - Method in class com.idevicesinc.sweetblue.BleTransaction
 
getTransactionType() - Method in class com.idevicesinc.sweetblue.BleTransaction.Init
 
getTransactionType() - Method in class com.idevicesinc.sweetblue.BleTransaction.Ota
 
getTransactionType() - Method in interface com.idevicesinc.sweetblue.P_ITransaction
 
getTransactionType() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
 
getTransactionType() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction.RxAuth
 
getTransactionType() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction.RxInit
 
getTransactionType() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction.RxOta
 
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
 
getUpdateHandler_Android(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
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
 
go() - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery
 
go(HistoricalDataQueryListener) - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery
 
gt(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
"greater than" comparison.
gt(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
"greater than" comparison.
gt(double) - Method in class com.idevicesinc.sweetblue.utils.Unit
"greater than" comparison.
gte(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
"greater than or equal" comparison.
gte(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
"greater than or equal" comparison.
gte(double) - Method in class com.idevicesinc.sweetblue.utils.Unit
"greater than or equal" comparison.
GUST_FACTOR - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 

H

handleUIResult(BleSetupHelper.PermissionInstance, boolean) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
HARDWARE_REVISION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
hasClient(BleServerState) - Method in class com.idevicesinc.sweetblue.BleServer
Returns true if this server has any clients in the given state.
hasClient(BleServerState...) - Method in class com.idevicesinc.sweetblue.BleServer
Returns true if this server has any clients in any of the given states.
hasClient(BleServerState) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns true if this server has any clients in the given state.
hasClient(BleServerState...) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns true if this server has any clients in any of the given states.
hasClients() - Method in class com.idevicesinc.sweetblue.BleServer
Returns true if this server has any connected or connecting clients (or previously so).
hasClients() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns true if this server has any connected or connecting clients (or previously so).
hasDevice(String) - Method in class com.idevicesinc.sweetblue.BleManager
Shortcut for checking if BleManager.getDevice(String) returns BleDevice.NULL.
hasDevice(BleDevice) - Method in class com.idevicesinc.sweetblue.BleManager
hasDevice(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if we have a device in the given state.
hasDevice(Object...) - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if we have a device that matches the given query.
hasDevice(int) - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if there is any BleDevice for which BleDevice.isAny(int) with the given mask returns true.
hasDevice(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Shortcut for checking if P_BleManagerImpl.getDevice(String) returns BleDevice.NULL.
hasDevice(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
hasDevice(Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns true if we have a device that matches the given query.
hasDevice(IBleManager, IBleDevice) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
hasDevice(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Shortcut for checking if RxBleManager.getDevice(String) returns BleDevice.NULL.
hasDevice(BleDevice) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
hasDevice(BleDeviceState) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if we have a device in the given state.
hasDevice(Object...) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if we have a device that matches the given query.
hasDevice(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if there is any BleDevice for which BleDevice.isAny(int) with the given mask returns true.
hasDevices() - Method in class com.idevicesinc.sweetblue.BleManager
Returns whether we have any devices.
hasDevices() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
hasDevices() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns whether we have any devices.
hashCode() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
hashCode() - Method in class com.idevicesinc.sweetblue.utils.BleUuid
 
hashCode() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
hashCode() - Method in class com.idevicesinc.sweetblue.utils.Unit
Hashes Unit.getRawValue() to an int using Double.hashCode().
hasHistoricalData() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if there is any historical data at all for this device.
hasHistoricalData(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if there is any historical data at all for this device within the given range.
hasHistoricalData(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if there is any historical data for the given uuid.
hasHistoricalData(UUID[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if there is any historical data for any of the given uuids.
hasHistoricalData(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if there is any historical data for the given uuid within the given range.
hasHistoricalData(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
hasHistoricalData() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if there is any historical data at all for this device.
hasHistoricalData(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if there is any historical data at all for this device within the given range.
hasHistoricalData(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if there is any historical data for the given uuid.
hasHistoricalData(UUID[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if there is any historical data for any of the given uuids.
hasHistoricalData(UUID, EpochTimeRange) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if there is any historical data for the given uuid within the given range.
hasManifestPermission(Context, String) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
hasNext() - Method in class com.idevicesinc.sweetblue.BleDeviceIterator
 
hasNext() - Method in class com.idevicesinc.sweetblue.utils.EmptyIterator
 
hasNext() - Method in class com.idevicesinc.sweetblue.utils.SingleElementIterator
 
hasPermission(Context, String) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
hasServerInstance() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
hasUhOh() - Method in class com.idevicesinc.sweetblue.internal.P_NativeGattObject
 
hasUuid(UUID) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns true if this advertising packet contains the uuid given.
haveMatchingIds(List<UUID>, Collection<UUID>) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
haveMatchingName(String, List<String>) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
HEALTH_THERMOMETER_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HEART_RATE_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HEART_RATE_MAX - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HEART_RATE_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HEART_RATE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HEAT_INDEX - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HEIGHT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
hexStringToBytes(String, Utils_String.HexOption...) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
Convert a hex string into a byte array.
hexStringToBytes(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
HID_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HID_INFORMATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
highestStateReached_latest() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
The highest state reached by the latest connection attempt.
highestStateReached_total() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
The highest state reached during the whole connection attempt cycle.
HIP_CIRCUMFERENCE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HISTORICAL_DATA_LIST - Static variable in class com.idevicesinc.sweetblue.backend.Backend_Modules
 
HISTORICAL_DATABASE - Static variable in class com.idevicesinc.sweetblue.backend.Backend_Modules
 
HistoricalData - Class in com.idevicesinc.sweetblue.utils
Simple struct wrapping arbitrary blob data as a byte array along with an epoch timestamp marking when the blob was originally created/collected.
HistoricalData(long, byte[]) - Constructor for class com.idevicesinc.sweetblue.utils.HistoricalData
 
HistoricalData(EpochTime, byte[]) - Constructor for class com.idevicesinc.sweetblue.utils.HistoricalData
 
HistoricalData(byte[], long) - Constructor for class com.idevicesinc.sweetblue.utils.HistoricalData
 
HistoricalData(byte[], EpochTime) - Constructor for class com.idevicesinc.sweetblue.utils.HistoricalData
 
HistoricalData(byte[]) - Constructor for class com.idevicesinc.sweetblue.utils.HistoricalData
 
HistoricalDataColumn - Enum in com.idevicesinc.sweetblue.utils
Enumeration/abstraction of database columns used to persist HistoricalData.
HistoricalDataCursor - Interface in com.idevicesinc.sweetblue.utils
This interface defines a wrapper around a database cursor (similar to Cursor) specific to a database representing a series of HistoricalData serializations.
historicalDataFactory - Variable in class com.idevicesinc.sweetblue.BleNodeConfig
Implement this to override the default behavior, which is simply to return an instance created with the constructor HistoricalData.HistoricalData(byte[], com.idevicesinc.sweetblue.utils.EpochTime).
HistoricalDataLoadException - Exception in com.idevicesinc.sweetblue.rx.exception
 
HistoricalDataLoadException(T) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.HistoricalDataLoadException
 
HistoricalDataLoadListener - Interface in com.idevicesinc.sweetblue
A callback that is used by various overloads of BleDevice.loadHistoricalData() that accept instances hereof.
HistoricalDataLoadListener.HistoricalDataLoadEvent - Class in com.idevicesinc.sweetblue
Event struct passed to GenericListener_Void.onEvent(Event) that provides further information about the status of a historical data load to memory using BleDevice.loadHistoricalData() (or overloads).
HistoricalDataLoadListener.Status - Enum in com.idevicesinc.sweetblue
Enumerates the status codes for operations kicked off from BleDevice.loadHistoricalData() (or overloads).
historicalDataLogFilter - Variable in class com.idevicesinc.sweetblue.BleNodeConfig
Default is an instance of BleNodeConfig.DefaultHistoricalDataLogFilter - set an implementation here to control how/if data is logged.
HistoricalDataQuery - Class in com.idevicesinc.sweetblue.utils
Class used to construct queries for BleNode.select().
HistoricalDataQuery.Part - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_AllowsFrom - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_AllowsSelectColumn - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_ClauseColumn - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_From - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_Function - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_Select - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_SelectColumn - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQuery.Part_Where - Class in com.idevicesinc.sweetblue.utils
 
HistoricalDataQueryEvent(BleNode, UUID, Cursor, HistoricalDataQueryListener.Status, String) - Constructor for class com.idevicesinc.sweetblue.HistoricalDataQueryListener.HistoricalDataQueryEvent
 
HistoricalDataQueryListener - Interface in com.idevicesinc.sweetblue
A callback that is used by BleNode.select() to listen for when a database query is done processing.
HistoricalDataQueryListener.HistoricalDataQueryEvent - Class in com.idevicesinc.sweetblue
Event struct passed to GenericListener_Void.onEvent(Event) that provides further information about the status of a historical data load to memory using BleDevice.loadHistoricalData() (or overloads).
HistoricalDataQueryListener.Status - Enum in com.idevicesinc.sweetblue
Enumerates the status codes for operations kicked off from BleNode.select().
history() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
Returns a chronologically-ordered list of all DeviceReconnectFilter.ConnectFailEvent instances returned through ReconnectFilter.onConnectFailed(ReconnectFilter.ConnectFailEvent) since the first call to BleDevice.connect(), including the current instance.
history() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
Returns a chronologically-ordered list of all ServerReconnectFilter.ConnectFailEvent instances returned through ReconnectFilter.onConnectFailed(ReconnectFilter.ConnectFailEvent) since the first call to BleDevice.connect(), including the current instance.
HotObservable - Annotation Type in com.idevicesinc.sweetblue.rx.annotations
Annotation used to dictate if a particular Observable, or Flowable is considered to be a hot observable.
HTTP_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HTTP_ENTITY_BODY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HTTP_HEADERS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HTTP_PROXY_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HTTP_STATUS_CODE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HTTPS_SECURITY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HUMAN_INTERFACE_DEVICE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HUMIDITY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
HUNDRED - Static variable in class com.idevicesinc.sweetblue.utils.Percent
Convenience value representing 100%.

I

i(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
i(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
i(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
i_native(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
i_native(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
i_native(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
IBleDevice - Interface in com.idevicesinc.sweetblue.internal
Interface which represents a Bluetooth Device (a peripheral)
IBleDevice.DefaultFactory - Class in com.idevicesinc.sweetblue.internal
 
IBleDevice.Factory - Interface in com.idevicesinc.sweetblue.internal
Factory interface used to create new instances of IBleDevice
IBleManager - Interface in com.idevicesinc.sweetblue.internal
Interface which defines the bluetooth manager.
IBleNode - Interface in com.idevicesinc.sweetblue.internal
Interface to define shared methods between classes which extend the node class (BleDevice, BleServer)
IBleServer - Interface in com.idevicesinc.sweetblue.internal
Interface which represents a Bluetooth Server (the android device acts as a bluetooth peripheral)
IBleServer.DefaultFactory - Class in com.idevicesinc.sweetblue.internal
 
IBleServer.Factory - Interface in com.idevicesinc.sweetblue.internal
Factory instance used to instantiate a new instance of IBleServer
IBleTransaction - Interface in com.idevicesinc.sweetblue.internal
Interface to define contract for methods in a transaction.
IBleTransaction.Callback - Interface in com.idevicesinc.sweetblue.internal
Interface to define contract for callback methods for a transaction.
IBleTransaction.DefaultFactory - Class in com.idevicesinc.sweetblue.internal
Default class to create a new instance of IBleTransaction (implemented via BleTransactionImpl)
IBleTransaction.Factory - Interface in com.idevicesinc.sweetblue.internal
Factory interface used to instantiate a new internal transaction class
IBluetoothDevice - Interface in com.idevicesinc.sweetblue.internal.android
Interface used to abstract away the android class BluetoothDevice.
IBluetoothDevice.DefaultFactory - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothDevice.Factory.
IBluetoothDevice.Factory - Interface in com.idevicesinc.sweetblue.internal.android
Interface used by the library to instantiate a new instance of IBluetoothDevice
IBluetoothGatt - Interface in com.idevicesinc.sweetblue.internal.android
Interface used to abstract away the android class BluetoothGatt.
IBluetoothGatt.DefaultFactory - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothGatt.Factory.
IBluetoothGatt.Factory - Interface in com.idevicesinc.sweetblue.internal.android
Interface used by the library to instantiate a new instance of IBluetoothGatt
IBluetoothManager - Interface in com.idevicesinc.sweetblue.internal.android
Interface used to abstract away the android classes BluetoothManager and BluetoothAdapter.
IBluetoothManager.DefaultFactory - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothManager.Factory.
IBluetoothManager.Factory - Interface in com.idevicesinc.sweetblue.internal.android
Interface used by the library to instantiate a new instance of IBluetoothManager
IBluetoothServer - Interface in com.idevicesinc.sweetblue.internal.android
Interface used to abstract away the android class BluetoothGattServer.
IBluetoothServer.DefaultFactory - Class in com.idevicesinc.sweetblue.internal.android
Default implementation of IBluetoothServer.Factory.
IBluetoothServer.Factory - Interface in com.idevicesinc.sweetblue.internal.android
Interface used by the library to instantiate a new instance of IBluetoothServer
idealMinScanTime - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is BleDeviceConfig.DEFAULT_MINIMUM_SCAN_TIME seconds - Minimum amount of time in seconds that the library strives to give to a scanning operation.
IDeviceListener - Interface in com.idevicesinc.sweetblue.internal.android
Interface to abstract away any native callbacks/listeners for devices -- BluetoothDevice.
IDeviceListener.Callback - Interface in com.idevicesinc.sweetblue.internal.android
Interface used to pipe native callbacks to the internal layer.
IDeviceListener.DefaultFactory - Class in com.idevicesinc.sweetblue.internal.android
 
IDeviceListener.Factory - Interface in com.idevicesinc.sweetblue.internal.android
 
idleUpdateRate - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is 0.5 seconds - The rate at which the library's internal update loop ticks, after BleManagerConfig.minTimeToIdle has elapsed.
IEE_REGULATORY_CERT_DATA_LIST - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ignore() - Static method in class com.idevicesinc.sweetblue.ScanFilter.Please
Return this from ScanFilter.onEvent(ScanEvent) to say no to the discovery.
ignoreIf(boolean) - Static method in class com.idevicesinc.sweetblue.ScanFilter.Please
Returns ScanFilter.Please.ignore() if the given condition holds true, ScanFilter.Please.acknowledge() otherwise.
IManagerListener - Interface in com.idevicesinc.sweetblue.internal.android
 
IManagerListener.Callback - Interface in com.idevicesinc.sweetblue.internal.android
 
IManagerListener.DefaultFactory - Class in com.idevicesinc.sweetblue.internal.android
 
IManagerListener.Factory - Interface in com.idevicesinc.sweetblue.internal.android
 
IMMEDIATE_ALERT_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
IMMEDIATE_TEMPERATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
Immutable - Annotation Type in com.idevicesinc.sweetblue.annotations
Classes marked with this Annotation have immutable internal state, or the apparent behavior of so.
includeOtaReadWriteTimesInAverage - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is false - BleDevice.getAverageReadTime() and BleDevice.getAverageWriteTime() can be skewed if the peripheral you are connecting to adjusts its maximum throughput for OTA firmware updates and the like.
includesDeviceName() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns whether the resulting advertising packet will have the device name included or not.
includesDisk(int) - Static method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
 
includesMemory(int) - Static method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
 
includesTxPowerLevel() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns whether the resulting advertising packet will have the TX Power level included or not.
IncomingListener - Interface in com.idevicesinc.sweetblue
IncomingListener.IncomingEvent - Class in com.idevicesinc.sweetblue
Struct passed to IncomingListener.onEvent(IncomingEvent)} that provides details about the client and what it wants from us, the server.
IncomingListener.Please - Class in com.idevicesinc.sweetblue
indicate() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
INDOOR_BIKE_DATA - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
INDOOR_POSITIONING_CONFIGURATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
INDOOR_POSITIONING_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
INFINITE - Static variable in class com.idevicesinc.sweetblue.utils.Interval
Use this special value to signify positive infinite.
infinitePauseInterval - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is BleManagerConfig.DEFAULT_SCAN_INFINITE_PAUSE_TIME - This is the amount of time SweetBlue will wait before resuming a scan.
infiniteScanInterval - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is BleManagerConfig.DEFAULT_SCAN_INFINITE_INTERVAL_TIME - When running an infinite scan, SweetBlue will pause the scan, and restart it again a short time later, defined by BleManagerConfig.infinitePauseInterval.
init(IBleManager) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
init(IBleManager) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
init(Backend_HistoricalDatabase, String, UUID, String, boolean) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
init(Backend_HistoricalDatabase, String, UUID, String, boolean) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
Init() - Constructor for class com.idevicesinc.sweetblue.BleTransaction.Init
 
init() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
init() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
init() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
This method is called internally.
initManager(BleManagerConfig) - Method in class com.idevicesinc.sweetblue.SweetUnitTest
Initializes the BleManager instance with the given BleManagerConfig instance.
initSweetBlueThreadScheduler(Callable<Scheduler>) - Static method in class com.idevicesinc.sweetblue.rx.plugins.RxSweetBluePlugins
 
initTaskTimeoutRequestEvent(TaskTimeoutRequestFilter.TaskTimeoutRequestEvent, BleManager, BleDevice, BleServer, BleTask, UUID, UUID) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
instant(EpochTime) - Static method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns a new instance representing an instant zero length time range.
integer(Integer, Integer) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
integer(Integer, Integer, int) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
integerOrDefault(Integer, int) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
integerOrZero(Integer) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
intent() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
Tells whether the bond was created through an explicit call through SweetBlue, or otherwise.
intent() - Method in class com.idevicesinc.sweetblue.rx.RxBondEvent
intentMask() - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
For each old->new bit difference, this mask will tell you if the transition was intentional.
INTERMEDIATE_CUFF_PRESSURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
internalPlease(ReconnectFilter.ConnectFailPlease) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
INTERNET_PROTOCOL_SUPPORT_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
interval(ReconnectFilter.ConnectionLostPlease) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
Interval - Class in com.idevicesinc.sweetblue.utils
Used to set time-based options in BleManagerConfig and BleDeviceConfig and for various methods and callbacks of BleManager and BleDevice.
interval(Interval, Interval) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
intervalOrDefault(Interval) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Config
 
INVALID - Static variable in class com.idevicesinc.sweetblue.BleRead
"Invalid" static instance used when reading things like RSSI, or setting connection parameters
INVALID - Static variable in class com.idevicesinc.sweetblue.BleWrite
"Invalid" static instance used when doing things like setting connection parameters
INVALID - Static variable in class com.idevicesinc.sweetblue.utils.Distance
Convenience value representing an invalid/impossible distance, arbitrarily chosen to be negative one meter.
INVALID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
A UUID instance composed of all zeros and used instead of null in various places.
INVALID_TX_POWER - Static variable in class com.idevicesinc.sweetblue.BleNodeConfig
Constant for an invalid or unknown transmission power.
invokeConnectListeners(ServerConnectListener.ConnectEvent) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
invokeNotificationCallback(NotificationListener, NotificationListener.NotificationEvent) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
invokeOutgoingListeners(OutgoingListener.OutgoingEvent, OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
invokeReadWriteCallback(ReadWriteListener, ReadWriteListener.ReadWriteEvent) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
IRRADIANCE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
is(BleDeviceState) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns whether the device is in the provided state.
is(Object...) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.is(BleDeviceState) and BleDevice.isAny(BleDeviceState...) but allows you to give a simple query made up of BleDeviceState and Boolean pairs.
is(BleManagerState) - Method in class com.idevicesinc.sweetblue.BleManager
Returns whether the manager is in the provided state.
is(String, BleServerState) - Method in class com.idevicesinc.sweetblue.BleServer
Returns true if the given client is in the state provided.
is(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
is(Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
is(BleManagerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns whether the manager is in the provided state.
is(String, BleServerState) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns true if the given client is in the state provided.
is(BleDeviceState) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns whether the device is in the provided state.
is(Object...) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Similar to RxBleDevice.is(BleDeviceState) and RxBleDevice.isAny(BleDeviceState...) but allows you to give a simple query made up of BleDeviceState and Boolean pairs.
is(BleManagerState) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns whether the manager is in the provided state.
is(String, BleServerState) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns true if the given client is in the state provided.
is_internal(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isAdvertising() - Method in class com.idevicesinc.sweetblue.BleServer
Checks to see if the device is currently advertising.
isAdvertising(UUID) - Method in class com.idevicesinc.sweetblue.BleServer
Checks to see if the device is currently advertising the given UUID.
isAdvertising() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Checks to see if the device is currently advertising.
isAdvertising(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Checks to see if the device is currently advertising the given UUID.
isAdvertising() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
isAdvertising(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Checks to see if the device is currently advertising the given UUID.
isAdvertisingSupported() - Method in class com.idevicesinc.sweetblue.BleManager
Checks to see if the device supports advertising BLE services.
isAdvertisingSupported() - Method in class com.idevicesinc.sweetblue.BleServer
Checks to see if the device supports advertising BLE services.
isAdvertisingSupported() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Checks to see if the device supports advertising BLE services.
isAdvertisingSupported() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Checks to see if the device supports advertising BLE services.
isAdvertisingSupported() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Checks to see if the device supports advertising BLE services.
isAdvertisingSupported() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Checks to see if the device supports advertising BLE services.
isAdvertisingSupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.BleManager
Checks to see if the device is running an Android OS which supports advertising.
isAdvertisingSupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.BleServer
Checks to see if the device is running an Android OS which supports advertising.
isAdvertisingSupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Checks to see if the device is running an Android OS which supports advertising.
isAdvertisingSupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
isAdvertisingSupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Checks to see if the device is running an Android OS which supports advertising.
isAdvertisingSupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Checks to see if the device is running an Android OS which supports advertising.
isAdvertisingSupportedByChipset() - Method in class com.idevicesinc.sweetblue.BleManager
Checks to see if the device supports advertising.
isAdvertisingSupportedByChipset() - Method in class com.idevicesinc.sweetblue.BleServer
Checks to see if the device supports advertising.
isAdvertisingSupportedByChipset(BluetoothAdapter) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
isAdvertisingSupportedByChipset() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Checks to see if the device supports advertising.
isAdvertisingSupportedByChipset() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Checks to see if the device supports advertising.
isAdvertisingSupportedByChipset() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Checks to see if the device supports advertising.
isAdvertisingSupportedByChipset() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Checks to see if the device supports advertising.
isAfterLast() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
isAfterLast() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns whether the cursor is pointing to the position after the last row.
isAll(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns whether the device is in all of the provided states.
isAll(int) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if there is complete bitwise overlap between the provided value and BleDevice.getStateMask().
isAll(BleManagerState...) - Method in class com.idevicesinc.sweetblue.BleManager
Returns whether the manager is in all of the provided states.
isAll(int) - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if there is complete bitwise overlap between the provided value and BleManager.getStateMask().
isAll(String, int) - Method in class com.idevicesinc.sweetblue.BleServer
Returns true if there is complete bitwise overlap between the provided value and BleServer.getStateMask(String).
isAll(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isAll(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isAll(BleManagerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns whether the manager is in all of the provided states.
isAll(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns true if there is complete bitwise overlap between the provided value and P_BleManagerImpl.getStateMask().
isAll(String, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns true if there is complete bitwise overlap between the provided value and P_BleServerImpl.getStateMask(String).
isAll(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns whether the device is in all of the provided states.
isAll(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if there is complete bitwise overlap between the provided value and RxBleDevice.getStateMask().
isAll(BleManagerState...) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns whether the manager is in all of the provided states.
isAll(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if there is complete bitwise overlap between the provided value and RxBleManager.getStateMask().
isAll(String, int) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns true if there is complete bitwise overlap between the provided value and RxBleServer.getStateMask(String).
isAndroid10() - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isAny(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns whether the device is in any of the provided states.
isAny(int) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if there is any bitwise overlap between the provided value and BleDevice.getStateMask().
isAny(BleManagerState...) - Method in class com.idevicesinc.sweetblue.BleManager
Returns whether the manager is in any of the provided states.
isAny(int) - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if there is partial bitwise overlap between the provided value and BleManager.getStateMask().
isAny(String, int) - Method in class com.idevicesinc.sweetblue.BleServer
Returns true if there is any bitwise overlap between the provided value and BleServer.getStateMask(String).
isAny(String, BleServerState...) - Method in class com.idevicesinc.sweetblue.BleServer
Returns true if the given client is in any of the states provided.
isAny(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isAny(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isAny(BleManagerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns whether the manager is in any of the provided states.
isAny(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns true if there is partial bitwise overlap between the provided value and P_BleManagerImpl.getStateMask().
isAny(String, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns true if there is any bitwise overlap between the provided value and P_BleServerImpl.getStateMask(String).
isAny(String, BleServerState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Returns true if the given client is in any of the states provided.
isAny(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns whether the device is in any of the provided states.
isAny(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if there is any bitwise overlap between the provided value and RxBleDevice.getStateMask().
isAny(BleManagerState...) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns whether the manager is in any of the provided states.
isAny(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if there is partial bitwise overlap between the provided value and RxBleManager.getStateMask().
isAny(String, int) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns true if there is any bitwise overlap between the provided value and RxBleServer.getStateMask(String).
isAny(String, BleServerState...) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Returns true if the given client is in any of the states provided.
isAny_internal(BleDeviceState...) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isBeforeFirst() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
isBeforeFirst() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns whether the cursor is pointing to the position before the first row.
isBetween_inclusive(EpochTime, EpochTime) - Method in class com.idevicesinc.sweetblue.utils.EpochTime
Does an inclusive check for this being in the given range.
isBetween_inclusive(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.utils.EpochTime
isBleSupported() - Method in class com.idevicesinc.sweetblue.BleManager
Checks the underlying stack to see if BLE is supported on the phone.
isBleSupported() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Checks the underlying stack to see if BLE is supported on the phone.
isBleSupported() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Checks the underlying stack to see if BLE is supported on the phone.
isBluetooth5HighSpeedSupported() - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if the android device supports the high speed feature of Bluetooth 5 (2x the speed of Bluetooth 4.x).
isBluetooth5HighSpeedSupported() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isBluetooth5HighSpeedSupported() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isBluetooth5HighSpeedSupported() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns true if the android device is running Oreo (8.0), and if the hardware supports Bluetooth 5's high speed feature.
isBluetooth5HighSpeedSupported() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if the android device supports the high speed feature of Bluetooth 5 (2x the speed of Bluetooth 4.x).
isBluetooth5HighSpeedSupported() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if bluetooth 5 high speed is supported.
isBluetooth5LongRangeSupported() - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if the android device supports the bluetooth 5 feature of long range (up to 4x the range of Bluetooth 4.x).
isBluetooth5LongRangeSupported() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isBluetooth5LongRangeSupported() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isBluetooth5LongRangeSupported() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns true if the android device is running Oreo (8.0), and if the hardware supports Bluetooth 5's long range feature.
isBluetooth5LongRangeSupported() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if the android device supports the bluetooth 5 feature of long range (up to 4x the range of Bluetooth 4.x).
isBluetooth5LongRangeSupported() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if bluetooth 5 long range is supported.
isBluetooth5Supported() - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to check if the android device supports bluetooth 5 in any way.
isBluetooth5Supported() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Convenience method to check if the android device supports bluetooth 5 in any way.
isBluetooth5SupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if the android device is running an android OS version which supports Bluetooth 5 features.
isBluetooth5SupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
isBluetooth5SupportedByAndroidVersion() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if the android device is running an android OS version which supports Bluetooth 5 features.
isBluetoothEnabled() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isBluetoothEnabled() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isBluetoothEnabled() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if the bluetooth radio is on.
isCanceled() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
isCancelled() - Method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Status
Deprecated.
 
isCharUuidValid() - Method in class com.idevicesinc.sweetblue.BleOp
 
isClosed() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
isClosed() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
return true if the cursor is closed
isConnectable() - Method in class com.idevicesinc.sweetblue.BleDevice
Convenience method to tell you whether a call to BleDevice.connect() (or overloads) has a chance of succeeding.
isConnectable() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isConnectable() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Convenience method to tell you whether a call to RxBleDevice.connect() (or overloads) has a chance of succeeding.
isConnectable() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns whether the resulting advertising packet will have the connectable flag set or not.
isConnected() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
isConnected() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
isConnected() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
This is used internally as a "hack" fix.
isContinuous() - Method in class com.idevicesinc.sweetblue.ScanOptions
Returns true if this instance is a periodic scan, or indefinite.
isCurrent(IBleManager, String) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
isCurrent(IBleManager, Class<? extends PA_Task>) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
isDeviceNull() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
isDeviceNull() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
isDeviceNull() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Returns true if the held device is null.
isDeviceSpecific() - Method in enum com.idevicesinc.sweetblue.BleTask
Returns whether this is associated with a BleDevice.
isDirect() - Method in class com.idevicesinc.sweetblue.BondRetryFilter.RetryEvent
Returns whether this bond attempt was from a direct bond call, from calling BleDevice.bond(BondListener), or BleDevice.bond().
isDisabled(Interval) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns true if the given Interval is either null or its value is less than or equal to zero.
isDisabled(Double) - Static method in class com.idevicesinc.sweetblue.utils.Interval
isDone() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
 
isDone() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
 
isEmpty(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
Returns true if the given String is null, or has a length of 0.
isEnabled() - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
isEnabled(BluetoothEnabler.BluetoothEnablerFilter.Stage) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns whether the passed BluetoothEnabler.BluetoothEnablerFilter.Stage is enabled.
isEnabled(BluetoothEnabler.BluetoothEnablerFilter.Stage) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Returns whether the passed BluetoothEnabler.BluetoothEnablerFilter.Stage has been enabled.
isEnabled(Interval) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns true if the given Interval is not null and its value is greater than zero.
isEnabled(double) - Static method in class com.idevicesinc.sweetblue.utils.Interval
IServerListener - Interface in com.idevicesinc.sweetblue.internal.android
Interface to strictly type callbacks for server instances (BluetoothGattServer).
IServerListener.Callback - Interface in com.idevicesinc.sweetblue.internal.android
 
IServerListener.DefaultFactory - Class in com.idevicesinc.sweetblue.internal.android
 
IServerListener.Factory - Interface in com.idevicesinc.sweetblue.internal.android
 
isExplicit() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
isFirst() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
isFirst() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns whether the cursor is pointing to the first row.
isFor(UUID) - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
Returns true if this event is associated with the given uuid.
isFor(UUID[]) - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
Returns true if this event is associated with any of the given uuids.
isFor(String) - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
 
isFor(UUID) - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
 
isFor(Object) - Method in class com.idevicesinc.sweetblue.rx.RxEvent
isFor(Object) - Method in class com.idevicesinc.sweetblue.utils.Event
More reader-friendly of Event.isForAll(Object...) or Event.isForAny(Object...) in the event you only have one parameter to match.
isFor(T_State) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
isForAll(Object...) - Method in class com.idevicesinc.sweetblue.rx.RxEvent
isForAll(Object...) - Method in class com.idevicesinc.sweetblue.utils.Event
Convenience query method to check if this event "is for"/relevant-to all of the supplied values.
isForAll(T_State...) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
isForAny(Object...) - Method in class com.idevicesinc.sweetblue.rx.RxEvent
isForAny(Object...) - Method in class com.idevicesinc.sweetblue.utils.Event
Convenience query method to check if this event "is for"/relevant-to any of the supplied values.
isForAny(T_State...) - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
isForceIndefinite() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
isForegrounded() - Method in class com.idevicesinc.sweetblue.BleManager
Returns this manager's knowledge of the app's foreground state.
isForegrounded() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns this manager's knowledge of the app's foreground state.
isForegrounded() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns this manager's knowledge of the app's foreground state.
isGattNull() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
isGattNull() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
isGattNull() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Returns true if the gatt instance is "null".
isHighestStateReachedHigherThan(int) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
isHighSpeedSupported(BluetoothAdapter) - Static method in class com.idevicesinc.sweetblue.compat.O_Util
 
isHistoricalDataLoaded() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if the historical data for all historical data for this device is loaded into memory.
isHistoricalDataLoaded(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if the historical data for a given uuid is loaded into memory.
isHistoricalDataLoaded(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isHistoricalDataLoaded() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if the historical data for all historical data for this device is loaded into memory.
isHistoricalDataLoaded(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if the historical data for a given uuid is loaded into memory.
isHistoricalDataLoading() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns whether the device is currently loading any historical data to memory, either through BleDevice.loadHistoricalData() (or overloads) or BleDevice.getHistoricalData_iterator(UUID) (or overloads).
isHistoricalDataLoading(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns whether the device is currently loading any historical data to memory for the given uuid, either through BleDevice.loadHistoricalData() (or overloads) or BleDevice.getHistoricalData_iterator(UUID) (or overloads).
isHistoricalDataLoading(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isHistoricalDataLoading() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns whether the device is currently loading any historical data to memory, either through RxBleDevice.loadHistoricalData() (or overloads) or RxBleDevice.getHistoricalData(UUID) (or overloads).
isHistoricalDataLoading(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns whether the device is currently loading any historical data to memory for the given uuid, either through RxBleDevice.loadHistoricalData() (or overloads) or RxBleDevice.getHistoricalData(UUID) (or overloads).
isInQueue(IBleManager, String) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
isInQueue(IBleManager, IBleDevice, String) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
isInQueue(IBleManager, Class<? extends PA_Task>) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
isInternal() - Method in enum com.idevicesinc.sweetblue.BleDeviceState
 
isInvalid() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns true if EpochTimeRange.from() is greater than EpochTimeRange.to().
isInvalidOrZero() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
isKitKat() - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isLast() - Method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Stage
Deprecated.
 
isLast() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
isLast() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Returns whether the cursor is pointing to the last row.
isLocationEnabledForScanning() - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if location is enabled to a degree that allows scanning on Build.VERSION_CODES.M and above.
isLocationEnabledForScanning() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isLocationEnabledForScanning() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isLocationEnabledForScanning() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
isLocationEnabledForScanning() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if location is enabled to a degree that allows scanning on Build.VERSION_CODES.M and above.
isLocationEnabledForScanning() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if location services have been enabled.
isLocationEnabledForScanning(Context, boolean) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isLocationEnabledForScanning_byManifestPermissions() - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if you're either pre-Android-M, or app has permission for either Manifest.permission.ACCESS_COARSE_LOCATION or Manifest.permission.ACCESS_FINE_LOCATION in your AndroidManifest.xml, false otherwise.
isLocationEnabledForScanning_byManifestPermissions() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
isLocationEnabledForScanning_byManifestPermissions() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if you're either pre-Android-M, or app has permission for either Manifest.permission.ACCESS_COARSE_LOCATION or Manifest.permission.ACCESS_FINE_LOCATION in your AndroidManifest.xml, false otherwise.
isLocationEnabledForScanning_byManifestPermissions(Context) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isLocationEnabledForScanning_byOsServices() - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if you're either pre-Android-M, or location services are enabled, the same is if you go to the Android Settings app and manually toggle Location ON/OFF.
isLocationEnabledForScanning_byOsServices() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isLocationEnabledForScanning_byOsServices() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isLocationEnabledForScanning_byOsServices() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
isLocationEnabledForScanning_byOsServices() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if you're either pre-Android-M, or location services are enabled, the same is if you go to the Android Settings app and manually toggle Location ON/OFF.
isLocationEnabledForScanning_byOsServices() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if location services are supported by the OS.
isLocationEnabledForScanning_byOsServices(Context) - Static method in class com.idevicesinc.sweetblue.utils.Utils
Adapted from http://stackoverflow.com/a/22980843/4248895.
isLocationEnabledForScanning_byRuntimePermissions() - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if you're either pre-Android-M, or app has runtime permissions enabled by checking * See more information at https://developer.android.com/training/permissions/index.html.
isLocationEnabledForScanning_byRuntimePermissions() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isLocationEnabledForScanning_byRuntimePermissions() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isLocationEnabledForScanning_byRuntimePermissions() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
isLocationEnabledForScanning_byRuntimePermissions() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if you're either pre-Android-M, or app has runtime permissions enabled by checking ContextCompat.checkSelfPermission(android.content.Context, java.lang.String) See more information at https://developer.android.com/training/permissions/index.html.
isLocationEnabledForScanning_byRuntimePermissions() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if location service permissions have been granted.
isLocationEnabledForScanning_byRuntimePermissions(Context, boolean) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isLocationRelated() - Method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Stage
Deprecated.
 
isLollipop() - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isLongRangeSupported(BluetoothAdapter) - Static method in class com.idevicesinc.sweetblue.compat.O_Util
 
isLongTerm() - Method in enum com.idevicesinc.sweetblue.ReconnectFilter.Type
isManagerNull() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isManagerNull() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isManagerNull() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if the manager instance is "null" (this is all just mocked)
isManagerSpecific() - Method in enum com.idevicesinc.sweetblue.BleTask
Returns whether this is associated with BleManager.
isManufacturer(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isMarshmallow() - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isMultipleAdvertisementSupported() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
isMultipleAdvertisementSupported() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
isMultipleAdvertisementSupported() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Returns true if multiple advertisement is supported (using an android device to advertise to other bluetooth controllers).
isNativeNotification() - Method in enum com.idevicesinc.sweetblue.NotificationListener.Type
isNotificationOrIndication() - Method in enum com.idevicesinc.sweetblue.ExchangeListener.Type
isNotify() - Method in class com.idevicesinc.sweetblue.BleOp
 
isNotifyEnabled(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if notifications are enabled for the given uuid.
isNotifyEnabled(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isNotifyEnabled(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if notifications are enabled for the given uuid.
isNotifyEnabling(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if SweetBlue is in the process of enabling notifications for the given uuid.
isNotifyEnabling(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isNotifyEnabling(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns true if SweetBlue is in the process of enabling notifications for the given uuid.
isNougat() - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isNull() - Method in enum com.idevicesinc.sweetblue.AddServiceListener.Status
 
isNull() - Method in class com.idevicesinc.sweetblue.AdvertisingListener.AdvertisingEvent
 
isNull() - Method in enum com.idevicesinc.sweetblue.AdvertisingListener.Status
 
isNull() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns true if this is referentially equal to BleDevice.NULL.
isNull() - Method in enum com.idevicesinc.sweetblue.BleDeviceState
 
isNull() - Method in enum com.idevicesinc.sweetblue.BleManagerState
 
isNull() - Method in enum com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Source
isNull() - Method in class com.idevicesinc.sweetblue.BleServer
 
isNull() - Method in enum com.idevicesinc.sweetblue.BleServerState
 
isNull() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
 
isNull() - Method in enum com.idevicesinc.sweetblue.BondListener.Status
 
isNull() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
Returns whether this DeviceReconnectFilter.ConnectFailEvent instance is a "dummy" value.
isNull() - Method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Status
 
isNull() - Method in enum com.idevicesinc.sweetblue.HistoricalDataLoadListener.Status
isNull() - Method in enum com.idevicesinc.sweetblue.HistoricalDataQueryListener.Status
isNull() - Method in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
isNull() - Method in class com.idevicesinc.sweetblue.internal.android.P_GattHolder
 
isNull() - Method in class com.idevicesinc.sweetblue.internal.android.P_ServerHolder
 
isNull() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
isNull() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
isNull() - Method in class com.idevicesinc.sweetblue.internal.P_NativeGattObject
Returns true if the gatt object held in this class is null or not.
isNull() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
isNull() - Method in enum com.idevicesinc.sweetblue.NotificationListener.Status
 
isNull() - Method in enum com.idevicesinc.sweetblue.NotificationListener.Type
 
isNull() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
Will return true in certain early-out cases when there is no issue and the response can continue.
isNull() - Method in enum com.idevicesinc.sweetblue.OutgoingListener.Status
Returns true if this== OutgoingListener.Status.NULL.
isNull() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
isNull() - Method in enum com.idevicesinc.sweetblue.ReadWriteListener.Status
 
isNull() - Method in enum com.idevicesinc.sweetblue.ReadWriteListener.Target
 
isNull() - Method in enum com.idevicesinc.sweetblue.ReadWriteListener.Type
 
isNull() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
As you should never get an instance of this class which is null, use this method to see if the device is considered to be null or not.
isNull() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
isNull() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
isNull() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
Returns whether this ServerReconnectFilter.ConnectFailEvent instance is a "dummy" value.
isNull() - Method in enum com.idevicesinc.sweetblue.ServerReconnectFilter.Status
 
isNull() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns true if this instance is considered null.
isNull() - Method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Stage
Deprecated.
 
isNull() - Method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Status
Deprecated.
isNull(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
isNull() - Method in class com.idevicesinc.sweetblue.utils.EpochTime
Returns true if this is referentially equal to EpochTime.NULL.
isNull() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns true if this is referentially equal to EpochTimeRange.NULL.
isNull() - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
Checks if this is referentially equal to HistoricalData.NULL.
isNull() - Method in interface com.idevicesinc.sweetblue.utils.State
Returns true if this state is meant to stand in for Java's built-in null.
isNull() - Method in interface com.idevicesinc.sweetblue.utils.UsesCustomNull
Returns true if the object's state represents what would otherwise be Java's built-in null.
isOnMainThread() - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isOreo() - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isPerformingSystemCall() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
 
isPeriodic() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
isPostLollipopScan(P_ScanManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
isPriorityScan() - Method in class com.idevicesinc.sweetblue.ScanOptions
 
isProduct(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isRead() - Method in class com.idevicesinc.sweetblue.BleOp
 
isRead() - Method in enum com.idevicesinc.sweetblue.ExchangeListener.Type
Shorthand for checking if this equals ExchangeListener.Type.READ.
isRead() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
isRead() - Method in enum com.idevicesinc.sweetblue.ReadWriteListener.Type
isRead() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
isRetry(ReconnectFilter.ConnectFailPlease) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
isRetry() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailPlease
Returns true for everything except ReconnectFilter.ConnectFailPlease.doNotRetry().
isRetrying() - Method in class com.idevicesinc.sweetblue.DeviceConnectListener.ConnectEvent
Returns true if the library will be retrying the connection after this failure.
isRetrying() - Method in class com.idevicesinc.sweetblue.rx.RxConnectEvent
isRetrying() - Method in class com.idevicesinc.sweetblue.rx.RxDeviceConnectEvent
isRetrying() - Method in class com.idevicesinc.sweetblue.rx.RxServerConnectEvent
isRetrying() - Method in class com.idevicesinc.sweetblue.ServerConnectListener.ConnectEvent
Convenience method to check if this connection is going to be retried or not.
isRogueDisconnect() - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
isRunning() - Method in class com.idevicesinc.sweetblue.BleTransaction
Returns whether the transaction is currently running.
isRunning() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Returns whether the transaction is currently running.
isScanning() - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method which reports true if the BleManager is in any of the following states:

BleManagerState.SCANNING, BleManagerState.SCANNING_PAUSED, BleManagerState.BOOST_SCANNING, or BleManagerState.STARTING_SCAN
isScanning() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method which reports true if the BleManager is in any of the following states:

BleManagerState.SCANNING, BleManagerState.SCANNING_PAUSED, BleManagerState.BOOST_SCANNING, or BleManagerState.STARTING_SCAN
isScanning() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Convenience method which reports true if the BleManager is in any of the following states:

BleManagerState.SCANNING, BleManagerState.SCANNING_PAUSED, BleManagerState.BOOST_SCANNING, or BleManagerState.STARTING_SCAN
isScanningReady() - Method in class com.idevicesinc.sweetblue.BleManager
Tells you whether a call to BleManager.startScan() (or overloads), will succeed or not.
isScanningReady() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
isScanningReady() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Tells you whether a call to RxBleManager.scan(ScanOptions), will succeed or not.
isServerNull() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
isServerNull() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
isServerNull() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Returns true if the server instance is null.
isServerSpecific() - Method in enum com.idevicesinc.sweetblue.BleTask
Returns whether this is associated with a BleServer.
isServiceUuidValid() - Method in class com.idevicesinc.sweetblue.BleOp
 
isShortName() - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Returns whether the name is a shortened version or not.
isShortTerm() - Method in enum com.idevicesinc.sweetblue.ReconnectFilter.Type
isShouldContinue() - Method in enum com.idevicesinc.sweetblue.ReconnectFilter.Type
isShouldTryAgain() - Method in enum com.idevicesinc.sweetblue.ReconnectFilter.Type
isSimple() - Method in class com.idevicesinc.sweetblue.DeviceStateListener.StateEvent
Returns true if any of the simple states have changed.
isSimple() - Method in class com.idevicesinc.sweetblue.rx.RxDeviceStateEvent
isSuccess(int) - Static method in class com.idevicesinc.sweetblue.utils.Utils
 
isUnitTest(BleManagerConfig) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
isValid() - Method in class com.idevicesinc.sweetblue.BleDescriptorOp
 
isValid() - Method in class com.idevicesinc.sweetblue.BleNotify
 
isValid() - Method in class com.idevicesinc.sweetblue.BleOp
Returns true if the minimum values have been set for this operation
isValid() - Method in class com.idevicesinc.sweetblue.BleRead
 
isValid() - Method in class com.idevicesinc.sweetblue.BleWrite
 
isValid() - Method in class com.idevicesinc.sweetblue.utils.Distance
Returns true if Distance.meters() is >= 0.
isValid() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns true if EpochTimeRange.from() is less than or equal to EpochTimeRange.to().
isValid(UUID) - Static method in class com.idevicesinc.sweetblue.utils.Uuids
 
isWrite() - Method in class com.idevicesinc.sweetblue.BleOp
 
isWrite() - Method in enum com.idevicesinc.sweetblue.ExchangeListener.Type
Shorthand for checking if this equals ExchangeListener.Type.WRITE or ExchangeListener.Type.PREPARED_WRITE.
isWrite() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
isWrite() - Method in enum com.idevicesinc.sweetblue.ReadWriteListener.Type
isWrite() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
isZero() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns true if EpochTimeRange.from() and EpochTimeRange.to() are equal.

K

K_Util - Class in com.idevicesinc.sweetblue.compat
 

L

L_Util - Class in com.idevicesinc.sweetblue.compat
 
L_Util.AdvertisingCallback - Interface in com.idevicesinc.sweetblue.compat
 
L_Util.ScanCallback - Interface in com.idevicesinc.sweetblue.compat
 
L_Util.ScanResult - Class in com.idevicesinc.sweetblue.compat
 
Lambda - Annotation Type in com.idevicesinc.sweetblue.annotations
Used to denote interface declarations whose implementations can essentially act like lambdas (i.e.
LANGUAGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LAST_NAME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
lastConnectDisconnectIntent() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
lastDisconnectIntent() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
lastDisconnectWasBecauseOfBleTurnOff() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
LATITUDE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
level(int) - Static method in class com.idevicesinc.sweetblue.utils.DebugLogger
 
lifeCycle() - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
The discovery DiscoveryListener.LifeCycle that the device has undergone.
lifeCycle() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
LINK_LOSS_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LN_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LN_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
load(String, UUID, EpochTimeRange, ForEach_Void<HistoricalData>) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
load(String, UUID, EpochTimeRange, ForEach_Void<HistoricalData>) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
load(Backend_HistoricalDataList.AsyncLoadCallback) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
load(Backend_HistoricalDataList.AsyncLoadCallback) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList_Default
 
LOAD_STATE__LOADED - Static variable in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
LOAD_STATE__LOADING - Static variable in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
LOAD_STATE__NOT_LOADED - Static variable in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList
 
loadHistoricalData() - Method in class com.idevicesinc.sweetblue.BleDevice
Loads all historical data to memory for this device.
loadHistoricalData(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Loads all historical data to memory for this device for the given UUID.
loadHistoricalData(HistoricalDataLoadListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Loads all historical data to memory for this device with a callback for when it's complete.
loadHistoricalData(UUID, HistoricalDataLoadListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Loads all historical data to memory for this device for the given UUID.
loadHistoricalData(UUID, HistoricalDataLoadListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
loadHistoricalData() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Loads all historical data to memory for this device.
loadHistoricalData(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Loads all historical data to memory for this device for the given UUID.
LOCAL_EAST_COORDINATE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LOCAL_NORTH_COORDINATE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LOCAL_TIME_INFORMATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LOCATION_AND_NAVIGATION_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LOCATION_AND_SPEED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LOCATION_NAME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
LOCATION_PERMISSION_TOAST - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
LOCATION_SERVICES_NEEDS_ENABLING - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
LOCATION_SERVICES_TOAST - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
log(int, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
log(int, String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
log_conn_status_native(String, int) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
log_conn_status_native(String, int, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
log_native(int, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
log_native(int, String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
log_status_native(String, int) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
log_status_native(String, int, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
logE(IBleManager, String) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
LogFunction - Interface in com.idevicesinc.sweetblue.utils
Interface used internally to record log entries where classes don't have access to the logger.
logger - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is DefaultLogger - which prints the log statements to Android's logcat.
loggingEnabled(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
loggingOptions - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is LogOptions.OFF - There are 3 static instances you can use for convenience - LogOptions.OFF, LogOptions.ON, and LogOptions.ALL_ON.
LogOptions - Class in com.idevicesinc.sweetblue
Class used to specify the logging options in SweetBlue.
LogOptions() - Constructor for class com.idevicesinc.sweetblue.LogOptions
 
LogOptions(LogOptions.LogLevel, LogOptions.LogLevel) - Constructor for class com.idevicesinc.sweetblue.LogOptions
 
LogOptions.LogLevel - Enum in com.idevicesinc.sweetblue
Enumeration for setting the log level of SweetBlue's logger.
logToDisk() - Static method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Will log the data to disk only, currently through SQLite.
logToMemory() - Static method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
Will log the data to current app memory only.
logToMemoryAndDisk() - Static method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Please
LONG_TERM_ATTEMPT_RATE - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
LONG_TERM_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
LONGITUDE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
loop() - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
If you are running SweetBlue's update logic in your own thread, you must remember to call this method inside of the Runnable for the your Thread.
lt(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
"less than" comparison.
lt(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
"less than" comparison.
lt(double) - Method in class com.idevicesinc.sweetblue.utils.Unit
"less than" comparison.
lte(EpochTimeRange) - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
"less than or equal" comparison.
lte(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
"less than or equal" comparison.
lte(double) - Method in class com.idevicesinc.sweetblue.utils.Unit
"less than or equal" comparison.

M

m_activity - Variable in class com.idevicesinc.sweetblue.SweetUnitTest
 
m_config - Variable in class com.idevicesinc.sweetblue.SweetUnitTest
 
m_data - Variable in class com.idevicesinc.sweetblue.utils.ManufacturerData
Manufacturer data for the manufacturer id stored in ManufacturerData.m_id
m_gattDatabase - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig_UnitTest
 
m_gattDatabase - Variable in class com.idevicesinc.sweetblue.BleManagerConfig_UnitTest
 
m_id - Variable in class com.idevicesinc.sweetblue.utils.ManufacturerData
The manufacturer id
m_manager - Variable in class com.idevicesinc.sweetblue.SweetUnitTest
 
m_metadata - Variable in class com.idevicesinc.sweetblue.utils.BleSetupHelper.PermissionInstance
 
m_permission - Variable in class com.idevicesinc.sweetblue.utils.BleSetupHelper.PermissionInstance
 
m_query - Variable in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part
 
m_running - Variable in class com.idevicesinc.sweetblue.internal.ThreadHandler
 
M_Util - Class in com.idevicesinc.sweetblue.compat
 
macAddress() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
The device or server client in question.
macAddress() - Method in class com.idevicesinc.sweetblue.BondFilter.CharacteristicEvent
Convience to return the mac address of BondFilter.CharacteristicEvent.device().
macAddress() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
Convience to return the mac address of BondListener.BondEvent.device().
macAddress() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
Convience to return the mac address of DeviceReconnectFilter.ConnectFailEvent.device().
macAddress() - Method in class com.idevicesinc.sweetblue.DeviceStateListener.StateEvent
Convience to return the mac address of DeviceStateListener.StateEvent.device().
macAddress() - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
Convience to return the mac address of DiscoveryListener.DiscoveryEvent.device().
macAddress() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
Returns the mac address of the client peripheral that we are exchanging data with.
macAddress() - Method in class com.idevicesinc.sweetblue.HistoricalDataLoadListener.HistoricalDataLoadEvent
The mac address that the data is being queried for.
macAddress() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Convience to return the mac address of NotificationListener.NotificationEvent.device().
macAddress() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Convience to return the mac address of ReadWriteListener.ReadWriteEvent.device().
macAddress() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
Convience to return the mac address of ReconnectFilter.ConnectionLostEvent.device() or the client being reconnected to the ReconnectFilter.ConnectionLostEvent.server().
macAddress() - Method in class com.idevicesinc.sweetblue.rx.RxBondEvent
macAddress() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
macAddress() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
macAddress() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
macAddress() - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
macAddress() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
Returns the mac address of the discovered device.
macAddress() - Method in class com.idevicesinc.sweetblue.ServerConnectListener.ConnectEvent
 
macAddress() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
Returns the mac address of the client that's undergoing the state change with this ServerReconnectFilter.ConnectFailEvent.server().
macAddress() - Method in class com.idevicesinc.sweetblue.ServerStateListener.StateEvent
Returns the mac address of the client that's undergoing the state change with this ServerStateListener.StateEvent.server().
macAddress() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
Convience to return the mac address of TaskTimeoutRequestFilter.TaskTimeoutRequestEvent.device().
MAGNETIC_DECLINATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
MAGNETIC_FLUX_DENSITY_2D - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
MAGNETIC_FLUX_DENSITY_3D - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
makeComparator(Comparator<? super E>) - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
makeStateString(State[], int) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
makeString(Object...) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
manageCpuWakeLock - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is true - requires the Manifest.permission.WAKE_LOCK permission in your app's manifest file.
manageLastDisconnectOnDisk - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - controls whether the State.ChangeIntent behind a device going BleDeviceState.BLE_DISCONNECTED is saved to and loaded from disk so that it can be restored across app sessions, undiscoveries, and BLE BleManagerState.OFF->BleManagerState.ON cycles.
manageLastUhOhOnDisk - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is true - This allows SweetBlue to store the last Uh Oh time to disk.
manager() - Method in class com.idevicesinc.sweetblue.AssertListener.AssertEvent
The BleManager instance for your application.
manager() - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
The BleManager which is currently BleManagerState.SCANNING.
manager() - Method in class com.idevicesinc.sweetblue.ManagerStateListener.StateEvent
The singleton manager undergoing the state change.
manager() - Method in class com.idevicesinc.sweetblue.ResetListener.ResetEvent
The BleManager the reset was applied to.
manager() - Method in class com.idevicesinc.sweetblue.rx.RxManagerEvent
 
manager() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
Returns the manager.
manager() - Method in class com.idevicesinc.sweetblue.UhOhListener.UhOhEvent
The manager associated with the UhOhListener.UhOhEvent
managerLayer() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
ManagerStateListener - Interface in com.idevicesinc.sweetblue
Provide an implementation to BleManager.setListener_State(ManagerStateListener) to receive callbacks when the BleManager undergoes a BleManagerState change.
ManagerStateListener.StateEvent - Class in com.idevicesinc.sweetblue
Subclass that adds the manager field.
manuallySetState(int) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Allows you to manually set the native state of this manager/adaptor.
MANUFACTURER_NAME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
manufacturerData() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
 
ManufacturerData - Class in com.idevicesinc.sweetblue.utils
POJO to hold the manufacturer id, and manufacturer data parsed from a device's scan record.
ManufacturerData() - Constructor for class com.idevicesinc.sweetblue.utils.ManufacturerData
 
manufacturerDataList() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
Returns the manufacturer-specific data, if any, parsed from ScanFilter.ScanEvent.scanRecord().
manufacturerId() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
 
MAX - Static variable in class com.idevicesinc.sweetblue.utils.EpochTime
Convenience instance using Long.MAX_VALUE.
max(HistoricalDataColumn) - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_AllowsSelectColumn
 
MAX_CLASSIC_SCAN_TIME - Static variable in class com.idevicesinc.sweetblue.BleManagerConfig
Maximum amount of time for a classic scan to run.
MAX_DELAY_TIME - Static variable in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
 
maxConnectionFailHistorySize - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.DEFAULT_MAX_CONNECTION_FAIL_HISTORY_SIZE - This sets the size of the list that tracks the history of ReconnectFilter.ConnectFailEvents.
MAXIMUM_RECOMMENDED_HEART_RATE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
mBluetoothManager - Variable in class com.idevicesinc.sweetblue.SweetUnitTest
 
mBluetoothServer - Variable in class com.idevicesinc.sweetblue.SweetUnitTest
 
MEASUREMENT_INTERVAL - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
mEnabler - Variable in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
 
message() - Method in class com.idevicesinc.sweetblue.AssertListener.AssertEvent
Message associated with the assert, or an empty string.
message() - Method in class com.idevicesinc.sweetblue.rx.RxAssertEvent
meters() - Method in class com.idevicesinc.sweetblue.utils.Distance
Returns the value of this distance in meters.
meters(double) - Static method in class com.idevicesinc.sweetblue.utils.Distance
Creates a new value in meters.
millis() - Method in class com.idevicesinc.sweetblue.utils.Interval
Returns the value of this interval in milliseconds.
millis(long) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns a new Interval representing the given number of milliseconds.
MIN - Static variable in class com.idevicesinc.sweetblue.utils.EpochTime
Convenience instance using Long.MIN_VALUE.
min(HistoricalDataColumn) - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery.Part_AllowsSelectColumn
 
MIN_DELAY_TIME - Static variable in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
 
mins(int) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns a new Interval representing the given number of minutes.
minScanTimeNeededForUndiscovery - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.DEFAULT_MINIMUM_SCAN_TIME seconds - Undiscovery of devices must be approximated by checking when the last time was that we discovered a device, and if this time is greater than BleDeviceConfig.undiscoveryKeepAlive then the device is undiscovered.
mInsertCounter - Variable in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
minTimeToIdle - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is 20.0 seconds - This is the amount of time the library will wait with no tasks before lowering the update loop tick to BleManagerConfig.idleUpdateRate.
minus(EpochTime) - Method in class com.idevicesinc.sweetblue.utils.EpochTime
Returns the delta resulting from this-epochTime.
minus(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
Returns a new instance that is the result of doing this - other.
MODEL_NUMBER - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
move(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
move(int) - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Move the cursor by a relative amount, forward or backward, from the current position.
moveToFirst() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
moveToFirst() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Move the cursor to the first row.
moveToLast() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
moveToLast() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Move the cursor to the last row.
moveToNext() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
moveToNext() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Move the cursor to the next row.
moveToPosition(int) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
moveToPosition(int) - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Move the cursor to an absolute position.
moveToPrevious() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
moveToPrevious() - Method in interface com.idevicesinc.sweetblue.utils.HistoricalDataCursor
Move the cursor to the previous row.
mPQ - Variable in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
mtu() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
This value gets set as a result of a BleDevice.negotiateMtu(int, ReadWriteListener) call.
mtu() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
mtuTestCallback - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is null - This callback is used after calling BleDevice.negotiateMtu(int, ReadWriteListener) or BleDevice.negotiateMtu(int), if the negotiation was successful, and provides a way to know if the test failed/succeeded.
MtuTestCallback - Interface in com.idevicesinc.sweetblue
Callback used to test out an MTU size adjustment.
MtuTestCallback.MtuTestEvent - Class in com.idevicesinc.sweetblue
Class passed in to MtuTestCallback.onTestRequest(MtuTestEvent) when an MTU has been successfully negotiated to see if SweetBlue should now test it to make sure it works as it's supposed to.
MtuTestCallback.Please - Class in com.idevicesinc.sweetblue
Please class used to tell SweetBlue if it should test the new MTU size, and if so, which service uuid, and char uuid to use, and the data to write (the data should be the size of the MTU size requested to properly test).
MtuTestCallback.TestResult - Class in com.idevicesinc.sweetblue
Enumeration reporting the result of an MTU test.
MtuTestCallback.TestResult.Result - Enum in com.idevicesinc.sweetblue
 

N

name_native() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
The unaltered device name retrieved from the native bluetooth stack.
name_normalized() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
See BleDevice.getName_normalized() for an explanation.
nativeBit() - Method in enum com.idevicesinc.sweetblue.LogOptions.LogLevel
 
nativeDevice() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
Returns the native bluetooth device object representing the client making the request.
nativeDevice() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
The native BluetoothDevice client this ServerReconnectFilter.ConnectFailEvent is for.
nativeEnabled() - Method in class com.idevicesinc.sweetblue.LogOptions
 
nativeEnabled(int) - Method in class com.idevicesinc.sweetblue.LogOptions
 
nativeInstance() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
Other parameters are probably enough to make a decision but this native instance is provided just in case.
nativeManager() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
NativeScanFilter - Class in com.idevicesinc.sweetblue.utils
This class is essentially a clone of ScanFilter.
NativeScanFilter.Builder - Class in com.idevicesinc.sweetblue.utils
Builder class for NativeScanFilter.
NAVIGATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
negotiateMtu(int) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.negotiateMtu(int, ReadWriteListener), which passes null for the listener, if you don't care about the result, or are using a global listener via BleDevice.setListener_ReadWrite(ReadWriteListener), or BleManager.setListener_Read_Write(ReadWriteListener).
negotiateMtu(int, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Wrapper for BluetoothGatt.requestMtu(int) which attempts to change the "maximum transmission unit" for a given connection.
negotiateMtu(int) - Method in class com.idevicesinc.sweetblue.BleTransaction
negotiateMtu(int, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
negotiateMtu(int, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
negotiateMtu(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Wrapper for BluetoothGatt.requestMtu(int) which attempts to change the "maximum transmission unit" for a given connection.
negotiateMtuToDefault() - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.negotiateMtuToDefault(ReadWriteListener) but use this method when you don't much care when/if the "maximum transmission unit" is actually updated.
negotiateMtuToDefault(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.negotiateMtu(int, ReadWriteListener) that returns the "maximum transmission unit" to the default.
negotiateMtuToDefault() - Method in class com.idevicesinc.sweetblue.BleTransaction
negotiateMtuToDefault(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
negotiateMtuToDefault(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
negotiateMtuToDefault() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Overload of RxBleDevice.negotiateMtu(int) that returns the "maximum transmission unit" to the default.
NEW_ALERT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
newAdvertisingEvent(BleServer, AdvertisingListener.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newAssertEvent(IBleManager, String, StackTraceElement[]) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newAuthTxn() - Method in interface com.idevicesinc.sweetblue.BleDeviceConfig.AuthTransactionFactory
 
newAuthTxn() - Method in interface com.idevicesinc.sweetblue.rx.RxAuthFactory
 
newBondCharEvent(BleDevice, UUID, BondFilter.CharacteristicEventType) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newBondConnectionBugEvent(BleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newBondEvent(BleDevice, BondListener.BondEvent.Type, BondListener.Status, int, State.ChangeIntent) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newBondEventNULL(BleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newBondRetryEvent(BleDevice, int, int, boolean, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newCharacteristic(UUID) - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
newConnectEvent(BleDevice, DeviceReconnectFilter.ConnectFailEvent, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newConnectEvent(BleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newConnectFailEARLYOUT(BleDevice, DeviceReconnectFilter.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newConnectFailEvent(BleDevice, int, P_DisconnectReason, BleDeviceState, Interval, Interval) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newConnectFailNULL(IBleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newConnectLostEvent(BleNode, String, int, Interval, Interval, ReconnectFilter.ConnectFailEvent, ReconnectFilter.Type) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newDescriptor(UUID) - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Calls DescriptorBuilder.build(), then creates a new BleDescriptor to add to the same BleCharacteristic.
newDescriptorEvent(BluetoothGattService, BluetoothGattCharacteristic, BluetoothGattDescriptor, FutureData) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newDevice(String) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.newDevice(String, String, BleDeviceConfig) but uses an empty string for the name and passes a null BleDeviceConfig, which results in inherited options from BleManagerConfig.
newDevice(BluetoothDevice) - Method in class com.idevicesinc.sweetblue.BleManager
Similar to BleManager.newDevice(String), but this method accepts a native BluetoothDevice as an argument.
newDevice(BluetoothDevice, BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.newDevice(BluetoothDevice), but allows passing in a BleDeviceConfig as well.
newDevice(String, String) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.newDevice(String) but allows a custom name also.
newDevice(String, BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.newDevice(String) but passes a BleDeviceConfig to be used as well.
newDevice(String, String, BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.BleManager
newDevice(String, String, byte[], BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.BleManager
Creates a new BleDevice or returns an existing one if the macAddress matches.
newDevice(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Same as P_BleManagerImpl.newDevice(String, String, BleDeviceConfig) but uses an empty string for the name and passes a null BleDeviceConfig, which results in inherited options from BleManagerConfig.
newDevice(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Same as P_BleManagerImpl.newDevice(String) but allows a custom name also.
newDevice(String, BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Same as P_BleManagerImpl.newDevice(String) but passes a BleDeviceConfig to be used as well.
newDevice(String, String, BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Creates a new BleDevice or returns an existing one if the macAddress matches.
newDevice(String, String, byte[], BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
newDevice(IBleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newDevice(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Rx-ified version of BleManager.newDevice(String).
newDevice(String, String) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
newDevice(String, BleManagerConfig) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
newDevice(String, String, BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
newDevice_NULL() - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
newDeviceLayer(IBleManager, IBleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newDeviceStateEvent(BleDevice, int, int, int, int) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newDisconnectReason(int, DeviceReconnectFilter.Timing) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
newDiscoveryEvent(BleDevice, DiscoveryListener.LifeCycle) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newEmptyFilterList() - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
newGattHolder(BluetoothGatt) - Static method in class com.idevicesinc.sweetblue.internal.android.P_Bridge_Native
 
newGattLayer(BleDeviceConfig, BleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newHistoricalData(byte[], EpochTime) - Method in class com.idevicesinc.sweetblue.BleManager
Returns a new HistoricalData instance using BleNodeConfig.historicalDataFactory if available.
newHistoricalData(byte[], EpochTime, String) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.newHistoricalData(byte[], EpochTime) but tries to use BleNode.newHistoricalData(byte[], EpochTime) if we have a device matching the given mac address.
newHistoricalData(byte[], EpochTime) - Method in class com.idevicesinc.sweetblue.BleNode
Returns a new HistoricalData instance using BleNodeConfig.historicalDataFactory if available.
newHistoricalData(byte[], EpochTime) - Method in interface com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataFactory
Return a new subclass of HistoricalData that for example implements a custom interface for another library that handles graphing or analytics.
newHistoricalData(byte[], EpochTime) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
newHistoricalData(byte[], EpochTime) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns a new HistoricalData instance using BleNodeConfig.historicalDataFactory if available.
newHistoricalData(byte[], EpochTime, String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Same as P_BleManagerImpl.newHistoricalData(byte[], EpochTime) but tries to use BleNode.newHistoricalData(byte[], EpochTime) if we have a device matching the given mac address.
newHistoricalData(byte[], EpochTime) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a new HistoricalData instance using BleNodeConfig.historicalDataFactory if available.
newHistoricalData(byte[], EpochTime, String) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Same as RxBleManager.newHistoricalData(byte[], EpochTime) but tries to use BleNode.newHistoricalData(byte[], EpochTime) if we have a device matching the given mac address.
newHistoricalDataLoadEvent(BleNode, String, UUID, EpochTimeRange, HistoricalDataLoadListener.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newHistoricalDataLogEvent(BleNode, String, UUID, byte[], EpochTime, BleNodeConfig.HistoricalDataLogFilter.Source) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newHistoricalDataQueryEvent(BleNode, UUID, Cursor, HistoricalDataQueryListener.Status, String) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newHolder(BluetoothDevice) - Static method in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
newHolder(Intent) - Static method in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
newHolder(BluetoothDevice, String) - Static method in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
newHolder(BluetoothGattServer) - Static method in class com.idevicesinc.sweetblue.internal.android.P_ServerHolder
 
newIncomingEvent(BleServer, P_DeviceHolder, UUID, UUID, UUID, ExchangeListener.Type, ExchangeListener.Target, byte[], int, int, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newInitTxn() - Method in interface com.idevicesinc.sweetblue.BleDeviceConfig.InitTransactionFactory
 
newInitTxn() - Method in interface com.idevicesinc.sweetblue.rx.RxInitFactory
 
newInstance(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.android.IBluetoothDevice.DefaultFactory
 
newInstance(IBleDevice) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice.Factory
 
newInstance(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.android.IBluetoothGatt.DefaultFactory
 
newInstance(IBleDevice) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt.Factory
 
newInstance() - Method in class com.idevicesinc.sweetblue.internal.android.IBluetoothManager.DefaultFactory
 
newInstance() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager.Factory
 
newInstance(IBleManager, P_ServerHolder) - Method in class com.idevicesinc.sweetblue.internal.android.IBluetoothServer.DefaultFactory
 
newInstance(IBleManager, P_ServerHolder) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer.Factory
 
newInstance(IDeviceListener.Callback) - Method in class com.idevicesinc.sweetblue.internal.android.IDeviceListener.DefaultFactory
 
newInstance(IDeviceListener.Callback) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Factory
 
newInstance(IManagerListener.Callback) - Method in class com.idevicesinc.sweetblue.internal.android.IManagerListener.DefaultFactory
 
newInstance(IManagerListener.Callback) - Method in interface com.idevicesinc.sweetblue.internal.android.IManagerListener.Factory
 
newInstance(IServerListener.Callback) - Method in class com.idevicesinc.sweetblue.internal.android.IServerListener.DefaultFactory
 
newInstance(IServerListener.Callback) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Factory
 
newInstance(IBleManager, IBluetoothDevice, String, String, BleDeviceOrigin, BleDeviceConfig, boolean) - Method in class com.idevicesinc.sweetblue.internal.IBleDevice.DefaultFactory
 
newInstance(IBleManager, IBluetoothDevice, String, String, BleDeviceOrigin, BleDeviceConfig, boolean) - Method in interface com.idevicesinc.sweetblue.internal.IBleDevice.Factory
 
newInstance(IBleManager, boolean) - Method in class com.idevicesinc.sweetblue.internal.IBleServer.DefaultFactory
 
newInstance(IBleManager, boolean) - Method in interface com.idevicesinc.sweetblue.internal.IBleServer.Factory
 
newInstance(IBleTransaction.Callback) - Method in class com.idevicesinc.sweetblue.internal.IBleTransaction.DefaultFactory
 
newInstance(IBleTransaction.Callback) - Method in interface com.idevicesinc.sweetblue.internal.IBleTransaction.Factory
 
newInstance(double) - Method in class com.idevicesinc.sweetblue.utils.Distance
 
newInstance(double) - Method in class com.idevicesinc.sweetblue.utils.Interval
 
newInstance(double) - Method in class com.idevicesinc.sweetblue.utils.Percent
 
newInstance(double) - Method in class com.idevicesinc.sweetblue.utils.Unit
Subclasses must override this so that arithmetic "operators" can create new instances.
newManager(Context, BleManagerConfig, String) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
newManagerStateEvent(BleManager, int, int, int) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newMtuTestEvent(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newNativeDevice(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
newNotificationEvent(BleDevice, BleNotify, NotificationListener.Type, NotificationListener.Status, int, double, double, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newNulled() - Static method in class com.idevicesinc.sweetblue.BleDeviceConfig
Convenience method that returns a nulled out BleDeviceConfig, which is useful when using BleDevice.setConfig(BleDeviceConfig) to only override a few options from BleManagerConfig passed to BleManager.get(Context, BleManagerConfig) or BleManager.setConfig(BleManagerConfig).
newNulled() - Static method in class com.idevicesinc.sweetblue.BleNodeConfig
Convenience method that returns a nulled out BleNodeConfig, which is useful when using BleServer.setConfig(BleNodeConfig) to only override a few options from BleManagerConfig passed to BleManager.get(Context, BleManagerConfig) or BleManager.setConfig(BleManagerConfig).
newNullHolder(String) - Static method in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
newOutgoingEarlyOut(BleServer, P_DeviceHolder, UUID, UUID, FutureData, OutgoingListener.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newOutgoingEvent(BleServer, P_DeviceHolder, UUID, UUID, UUID, ExchangeListener.Type, ExchangeListener.Target, byte[], byte[], int, int, boolean, OutgoingListener.Status, int, int, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newOutgoingEvent(IncomingListener.IncomingEvent, byte[], OutgoingListener.Status, int, int) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newReadWriteEvent(BleDevice, BleOp, ReadWriteListener.Type, ReadWriteListener.Target, ReadWriteListener.Status, int, double, double, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newReadWriteEventConnectionPriority(BleDevice, BleConnectionPriority, ReadWriteListener.Status, int, double, double, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newReadWriteEventMtu(BleDevice, int, ReadWriteListener.Status, int, double, double, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newReadWriteEventNULL(BleDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newReadWriteEventPhy(BleDevice, ReadWriteListener.Status, int, Phy, double, double, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newReadWriteEventRssi(BleDevice, ReadWriteListener.Type, int, ReadWriteListener.Status, int, double, double, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newResetEvent(BleManager, ResetListener.Progress) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newScanEventFromRecord(BluetoothDevice, String, String, int, State.ChangeIntent, byte[]) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newScanRecord(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
Create the byte[] scanRecord from the given name (the record will only contain the name you provide here).
newScanRecord(String, UUID) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
Create the byte[] scanRecord from the given name, and serviceUuid.
newScanRecord(String, UUID, byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
Create the byte[] scanRecord from the given name, serviceUuid, and serviceData.
newScanRecord(String, UUID, byte[], Short, byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
Create the byte[] scanRecord from the given name, serviceUuid, serviceData, manufacturerId, and manufacturerData
newScanRecord(Byte, Map<BleUuid, byte[]>, String, boolean, Byte, Short, byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
Create the byte[] scanRecord from the given advertising flags, serviceUuid, serviceData, device name, txPower level, manufacturerID, and manufacturerData
newScanRecord(Byte, Map<BleUuid, byte[]>, boolean, String, boolean, Byte, List<ManufacturerData>) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
 
newScanRecord(Byte, Map<BleUuid, byte[]>, boolean, String, boolean, Byte, Short, byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
Create the byte[] scanRecord from the given advertising flags, serviceUuid, serviceData, device name, txPower level, manufacturerID, and manufacturerData
newServer(IBleServer) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newServerConnectEvent(BleServer, String, ServerReconnectFilter.ConnectFailEvent) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newServerConnectFailEvent(BleServer, BluetoothDevice, ServerReconnectFilter.Status, int, Interval, Interval, int, ReconnectFilter.AutoConnectUsage, ArrayList<ServerReconnectFilter.ConnectFailEvent>) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newServerEarlyOut(BleServer, BluetoothDevice, ServerReconnectFilter.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newServerStateEvent(BleServer, String, int, int, int, int) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newService(UUID) - Method in class com.idevicesinc.sweetblue.utils.ServiceBuilder
Complete this service, and create a new one to be entered into the database.
newServiceAddEvent(BleServer, BluetoothGattService, AddServiceListener.Status, int, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newServiceAddEvent_EARLY_OUT(BleServer, BluetoothGattService, AddServiceListener.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newServiceAddEvent_NULL(BleServer, BluetoothGattService) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newStateBits() - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
The new and now current bitwise representation of a BleDevice or BleManager.
newStateChangeEvent(BleDevice, int, int, int, int) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newTestResult(BleDevice, MtuTestCallback.TestResult.Result, ReadWriteListener.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newTransaction(IBleTransaction, P_ITransaction.Type, P_Bridge_User.TransactionHolder) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newUhOhEvent(BleManager, UhOhListener.UhOh) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
newWithLogging() - Static method in class com.idevicesinc.sweetblue.BleManagerConfig
Returns a new constructor that populates BleManagerConfig.uuidNameMaps with Uuids using ReflectionUuidNameMap to help with readable logging.
next() - Method in class com.idevicesinc.sweetblue.BleDeviceIterator
 
next() - Static method in class com.idevicesinc.sweetblue.BleWriteTransaction.FailListener.Please
Tells the transaction to proceed to the next write in the queue, and ignore the one that failed.
next() - Method in class com.idevicesinc.sweetblue.utils.EmptyIterator
 
next(T) - Method in interface com.idevicesinc.sweetblue.utils.ForEach_Breakable
 
next(int) - Method in interface com.idevicesinc.sweetblue.utils.ForEach_Returning
 
next(T) - Method in interface com.idevicesinc.sweetblue.utils.ForEach_Void
 
next() - Method in class com.idevicesinc.sweetblue.utils.SingleElementIterator
 
NEXT_DST_CHANGE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
nextStage() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns the BluetoothEnabler.BluetoothEnablerFilter.Stage following the Stage for this event.
nForAverageRunningReadTime - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
nForAverageRunningWriteTime - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.DEFAULT_RUNNING_AVERAGE_N - The number of historical write times that the library should keep track of when calculating average time.
node() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
The node that is currently trying to reconnect.
node() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
The node that is currently trying to reconnect.
NON_APPLICABLE_REQUEST_ID - Static variable in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
NON_APPLICABLE_UUID - Static variable in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
NON_APPLICABLE_UUID - Static variable in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Value used in place of null.
NON_APPLICABLE_UUID - Static variable in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
NoReconnectFilter - Class in com.idevicesinc.sweetblue.defaults
Convenience class to use if you do not want SweetBlue to do ANY reconnection attempts (either on initial connection, or when a connection is lost).
NoReconnectFilter() - Constructor for class com.idevicesinc.sweetblue.defaults.NoReconnectFilter
 
normalizeDeviceName(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
normalizeMacAddress(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
normalizeMacAddress_replaceDelimiters(String) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
NotificationListener - Interface in com.idevicesinc.sweetblue
Convenience interface for listening for Notifications/Indications only.
NotificationListener.NotificationEvent - Class in com.idevicesinc.sweetblue
Provides a bunch of information about a notification.
NotificationListener.Status - Enum in com.idevicesinc.sweetblue
A value returned to GenericListener_Void.onEvent(Event) by way of NotificationListener.NotificationEvent.status() that indicates success of the operation or the reason for its failure.
NotificationListener.Type - Enum in com.idevicesinc.sweetblue
The type of operation for a ReadWriteListener.ReadWriteEvent - read, write, poll, etc.
notify_prop() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
notifyCharacteristicChanged(P_DeviceHolder, BleCharacteristic, boolean) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
notifyCharacteristicChanged(P_DeviceHolder, BleCharacteristic, boolean) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
notifyCharacteristicChanged(P_DeviceHolder, BleCharacteristic, boolean) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called by the system to say that a notification has changed.
NotifyEnableException - Exception in com.idevicesinc.sweetblue.rx.exception
Exception class which holds the NotificationListener.NotificationEvent of the enable/disable notification operation for more information about what went wrong.
NotifyEnableException(NotificationListener.NotificationEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.NotifyEnableException
 
notifyOfPossibleImplicitBondingAttempt() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
now() - Static method in class com.idevicesinc.sweetblue.utils.EpochTime
Simply a more readable version of the default constructor EpochTime.EpochTime().
nukeBle() - Method in class com.idevicesinc.sweetblue.BleManager
Similar to BleManager.reset(), only this also calls the factoryReset method hidden in BluetoothAdapter after turning off BLE, and running the crash resolver.
nukeBle(ResetListener) - Method in class com.idevicesinc.sweetblue.BleManager
Similar to BleManager.reset(ResetListener), only this also calls the factoryReset method hidden in BluetoothAdapter after turning off BLE, and running the crash resolver.
nukeBle() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Similar to BleManager.reset(), only this also calls the factoryReset method hidden in BluetoothAdapter after turning off BLE, and running the crash resolver.
nukeBle(ResetListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Similar to BleManager.reset(ResetListener), only this also calls the factoryReset method hidden in BluetoothAdapter after turning off BLE, and running the crash resolver.
nukeBle() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Similar to BleManager.reset(), only this also calls the factoryReset method hidden in BluetoothAdapter after turning off BLE, and running the crash resolver.
nukeBle(ResetListener) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Similar to BleManager.reset(ResetListener), only this also calls the factoryReset method hidden in BluetoothAdapter after turning off BLE, and running the crash resolver.
NULL - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
NULL - Static variable in class com.idevicesinc.sweetblue.BleDescriptor
 
NULL - Static variable in class com.idevicesinc.sweetblue.BleDevice
Special value that is used in place of Java's built-in null.
NULL - Static variable in class com.idevicesinc.sweetblue.BleServer
Special value that is used in place of Java's built-in null.
NULL - Static variable in class com.idevicesinc.sweetblue.BleService
 
NULL - Static variable in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
NULL - Static variable in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
Null instance of the IBluetoothDevice interface (rather than instantiating each time it's used).
NULL - Static variable in class com.idevicesinc.sweetblue.internal.android.P_DeviceHolder
 
NULL - Static variable in class com.idevicesinc.sweetblue.internal.android.P_GattHolder
 
NULL - Static variable in class com.idevicesinc.sweetblue.internal.android.P_ServerHolder
 
NULL - Static variable in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
Special value that is used in place of Java's built-in null.
NULL - Static variable in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Special value that is used in place of Java's built-in null.
NULL - Static variable in class com.idevicesinc.sweetblue.utils.BleScanRecord
 
NULL - Static variable in class com.idevicesinc.sweetblue.utils.EpochTime
Fulfills the soft contract of UsesCustomNull - used for EpochTime.isNull().
NULL - Static variable in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Fulfills the soft contract of UsesCustomNull - used for EpochTimeRange.isNull().
NULL - Static variable in class com.idevicesinc.sweetblue.utils.HistoricalData
Special value that replaces Java's built-int null and is used everywhere Java's would otherwise be used.
NULL_DEVICE() - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
NULL_MAC - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
Spells out "Decaff Coffee"...clever, right? I figure all zeros or something would actually have a higher chance of collision in a dev environment.
NULL_SERVER() - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
NULL_STRING - Static variable in class com.idevicesinc.sweetblue.utils.P_Const
 
Nullable - Annotation Type in com.idevicesinc.sweetblue.annotations
This annotation is used to tag methods and parameters to give extra information on how they handle null.
Nullable.Prevalence - Enum in com.idevicesinc.sweetblue.annotations
Generally used for ElementType.METHOD to hint at how often it should return null.
nullConfig() - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
nullOut() - Method in class com.idevicesinc.sweetblue.BleNodeConfig
Sets all Nullable options in BleNodeConfig, BleDeviceConfig, BleManagerConfig to null so for example it's easier to cherry-pick just a few options to override from BleManagerConfig when using BleDevice.setConfig(BleDeviceConfig).
nullOut(T, Class<? extends T>) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Reflection
 
NUMBER_OF_DIGITALS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 

O

O_Util - Class in com.idevicesinc.sweetblue.compat
 
O_Util() - Constructor for class com.idevicesinc.sweetblue.compat.O_Util
 
OBJECT_ACTION_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_CHANGED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_FIRST_CREATED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_ID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_LAST_MODIFIED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_LIST_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_LIST_FILTER - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_NAME - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_PROPERTIES - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_SIZE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_TRANSFER_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OBJECT_TYPE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
objectToByteArray(Object) - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
 
objectToJSON(Object) - Static method in class com.idevicesinc.sweetblue.utils.P_JSONUtil
 
observeAdvertisingEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxAdvertisingEvent when any AdvertisingListener.AdvertisingEvents are posted by the library.
observeAdvertisingEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
observeAssertEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxAssertEvent when any AssertListener.AssertEvents are posted by the library.
observeBondEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns a Flowable which emits RxBondEvent when any bonding events happen for this device.
observeBondEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxBondEvent when any BondListener.BondEvents for all RxBleDevices are posted by the library.
observeDeviceConnectEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxDeviceConnectEvent when any RxBleDevice gets connected (or fails to).
observeDeviceStateEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits DeviceStateListener.StateEvent when any RxBleDevice's state changes.
observeDiscoveryEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
observeHistoricalDataLoadEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns a Flowable which emits RxHistoricalDataLoadEvent when any HistoricalDataLoadListener.HistoricalDataLoadEvent is posted for this device.
observeHistoricalDataLoadEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxHistoricalDataLoadEvent when any HistoricalDataLoadListener.HistoricalDataLoadEvents for all RxBleDevices are posted by the library.
observeMgrStateEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits ManagerStateListener.StateEvent when RxBleManager's state changes.
observeNotificationEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxNotificationEvent when any NotificationListener.NotificationEvents for all RxBleDevices are posted by the library.
observeNotifyEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns a Flowable which emits RxNotificationEvent when any notifications are received for this RxBleDevice.
observeOutgoingEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxOutgoingEvent when any OutgoingListener.OutgoingEvents are posted by the library.
observeOutgoingEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
observeReadWriteEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns a Flowable which emits RxReadWriteEvent when any read, or write operation completes for this device.
observeReadWriteEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxReadWriteEvent when any ReadWriteListener.ReadWriteEvents for all RxBleDevices are posted by the library.
observeServerStateEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxServerStateEvent when any ServerStateListener.StateEvents are posted by the library.
observeServiceAddEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxServiceAddEvent when any AddServiceListener.ServiceAddEvents are posted by the library.
observeServiceAddEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
observeStateEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns a Flowable which emits RxDeviceStateEvent when this RxBleDevice changes state.
observeStateEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
observeUhOhEvents() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which emits RxUhOhEvent when any UhOhListener.UhOhs are posted by the library.
OFF - Static variable in class com.idevicesinc.sweetblue.LogOptions
Static instance for conveniently shutting off all logging.
offer(E) - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
offset() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The offset forwarded from the native stack.
OK - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
oldStateBits() - Method in class com.idevicesinc.sweetblue.utils.State.ChangeEvent
The bitwise representation of the BleDevice or BleManager before the event took place.
ON - Static variable in class com.idevicesinc.sweetblue.LogOptions
Static instance for turning on most logging.
onActivityOrPermissionResult(int) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
A potentially-required method to be placed in your activity's Activity.onRequestPermissionsResult(int, String[], int[]) and Activity.onActivityResult(int, int, Intent) methods.
onActivityOrPermissionResult_static(int) - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Static equivalent of BluetoothEnabler.onActivityOrPermissionResult(int) that you can use to call down into the singleton created by BluetoothEnabler.start(Activity, BluetoothEnablerFilter) (or overloads).
onAdvertiseStarted(BleScanRecord, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
onAdvertiseStartFailed(AdvertisingListener.Status, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
onBatchScanResult(int, List<L_Util.ScanResult>) - Method in interface com.idevicesinc.sweetblue.internal.android.IManagerListener.Callback
 
onBatchScanResults(List<L_Util.ScanResult>) - Method in interface com.idevicesinc.sweetblue.compat.L_Util.ScanCallback
 
onCharacteristicChanged(P_GattHolder, BleCharacteristic) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onCharacteristicChanged(IBleDevice, P_GattHolder, BleCharacteristic) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onCharacteristicRead(P_GattHolder, BleCharacteristic, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onCharacteristicRead(IBleDevice, P_GattHolder, BleCharacteristic, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onCharacteristicReadRequesst(IBleServer, P_DeviceHolder, int, int, BleCharacteristic) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleServer
 
onCharacteristicReadRequest(P_DeviceHolder, int, int, BleCharacteristic) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onCharacteristicWrite(P_GattHolder, BleCharacteristic, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onCharacteristicWrite(IBleDevice, P_GattHolder, BleCharacteristic, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onCharacteristicWriteRequest(P_DeviceHolder, int, BleCharacteristic, boolean, boolean, int, byte[]) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onCharacteristicWriteRequest(IBleServer, P_DeviceHolder, int, BleCharacteristic, boolean, boolean, int, byte[]) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleServer
 
onClassicDiscoveryFinished(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
onConnectFailed(DeviceReconnectFilter.ConnectFailEvent) - Method in class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
 
onConnectFailed(ReconnectFilter.ConnectFailEvent) - Method in class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
onConnectFailed(ServerReconnectFilter.ConnectFailEvent) - Method in class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
 
onConnectFailed(DeviceReconnectFilter.ConnectFailEvent) - Method in class com.idevicesinc.sweetblue.defaults.NoReconnectFilter
 
onConnectFailed(ReconnectFilter.ConnectFailEvent) - Method in class com.idevicesinc.sweetblue.ReconnectFilter.DefaultNullReconnectFilter
 
onConnectFailed(T) - Method in interface com.idevicesinc.sweetblue.ReconnectFilter
This is called when connecting to a previously unconnected device fails.
onConnecting(boolean, boolean, Object[], boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onConnectionLost(ReconnectFilter.ConnectionLostEvent) - Method in class com.idevicesinc.sweetblue.defaults.DefaultDeviceReconnectFilter
 
onConnectionLost(ReconnectFilter.ConnectionLostEvent) - Method in class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
onConnectionLost(ReconnectFilter.ConnectionLostEvent) - Method in class com.idevicesinc.sweetblue.defaults.DefaultServerReconnectFilter
 
onConnectionLost(ReconnectFilter.ConnectionLostEvent) - Method in class com.idevicesinc.sweetblue.defaults.NoReconnectFilter
 
onConnectionLost(ReconnectFilter.ConnectionLostEvent) - Method in class com.idevicesinc.sweetblue.ReconnectFilter.DefaultNullReconnectFilter
 
onConnectionLost(ReconnectFilter.ConnectionLostEvent) - Method in interface com.idevicesinc.sweetblue.ReconnectFilter
This is called when a connected device loses it's connection, outside of you calling BleDevice.disconnect()
onConnectionStateChange(P_GattHolder, int, int, boolean, Boolean) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onConnectionStateChange(P_DeviceHolder, int, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onConnectionStateChange(IBleDevice, P_GattHolder, int, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onConnectionStateChange(IBleServer, P_DeviceHolder, int, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleServer
 
onCustomPermissionRequestComplete() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
This method is only used if you are implementing custom permissions in a subclass.
onDescriptorRead(P_GattHolder, BleDescriptor, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onDescriptorRead(IBleDevice, P_GattHolder, BleDescriptor, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onDescriptorReadRequest(P_DeviceHolder, int, int, BleDescriptor) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onDescriptorWrite(P_GattHolder, BleDescriptor, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onDescriptorWrite(IBleDevice, P_GattHolder, BleDescriptor, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onDescriptorWriteRequest(P_DeviceHolder, int, BleDescriptor, boolean, boolean, int, byte[]) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onDiscovered_fromRogueAutoConnect(IBleDevice, boolean, List<UUID>, byte[], int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
onDiscoveredFromNativeStack(List<P_ScanManager.DiscoveryEntry>) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
onDone() - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDataList.AsyncLoadCallback
 
ONE_SEC - Static variable in class com.idevicesinc.sweetblue.utils.Interval
Convenience value representing one second.
onEnd(BleTransaction.EndReason) - Method in class com.idevicesinc.sweetblue.BleTransaction
Called when a transaction ends, either due to the transaction itself finishing itself through BleTransaction.fail() or BleTransaction.succeed(), or from the library implicitly ending the transaction, for example if BleTransaction.getDevice() becomes BleDeviceState.BLE_DISCONNECTED.
onEnd(BleTransaction.EndReason) - Method in interface com.idevicesinc.sweetblue.P_Bridge_User.TransactionHolder
 
onEnd(BleTransaction.EndReason) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Called when a transaction ends, either due to the transaction itself finishing itself through RxBleTransaction.fail() or RxBleTransaction.succeed(), or from the library implicitly ending the transaction, for example if RxBleTransaction.getDevice() becomes BleDeviceState.BLE_DISCONNECTED.
onEndTxn(BleDevice, BleTransaction.EndReason) - Method in interface com.idevicesinc.sweetblue.internal.IBleTransaction.Callback
 
onEvent(AddServiceListener.ServiceAddEvent) - Method in interface com.idevicesinc.sweetblue.AddServiceListener
Called when a service has finished being added or failed to be added.
onEvent(AdvertisingListener.AdvertisingEvent) - Method in interface com.idevicesinc.sweetblue.AdvertisingListener
Called upon the m_status of calling BleServer.startAdvertising(BleScanRecord)
onEvent(AssertListener.AssertEvent) - Method in interface com.idevicesinc.sweetblue.AssertListener
Provides additional info about the circumstances surrounding the assert.
onEvent(BondFilter.StateChangeEvent) - Method in class com.idevicesinc.sweetblue.BleDeviceConfig.DefaultBondFilter
 
onEvent(BondFilter.CharacteristicEvent) - Method in class com.idevicesinc.sweetblue.BleDeviceConfig.DefaultBondFilter
 
onEvent(BondFilter.ConnectionBugEvent) - Method in class com.idevicesinc.sweetblue.BleDeviceConfig.DefaultBondFilter
 
onEvent(BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent) - Method in class com.idevicesinc.sweetblue.BleNodeConfig.DefaultHistoricalDataLogFilter
 
onEvent(TaskTimeoutRequestFilter.TaskTimeoutRequestEvent) - Method in class com.idevicesinc.sweetblue.BleNodeConfig.DefaultTaskTimeoutRequestFilter
 
onEvent(BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent) - Method in interface com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter
Implement this method to be notified of when the library requests whether historical data should be written to a log, and to respond with your preference of if/how this data should be written.
onEvent(BondFilter.StateChangeEvent) - Method in interface com.idevicesinc.sweetblue.BondFilter
Called after a device undergoes a change in its BleDeviceState.
onEvent(BondFilter.CharacteristicEvent) - Method in interface com.idevicesinc.sweetblue.BondFilter
Called immediately before reading, writing, or enabling notification on a characteristic.
onEvent(BondFilter.ConnectionBugEvent) - Method in interface com.idevicesinc.sweetblue.BondFilter
Called after bonding to a device, and the state reports as being disconnected, but the connection is still actually alive.
onEvent(BondListener.BondEvent) - Method in interface com.idevicesinc.sweetblue.BondListener
Called after a call to BleDevice.bond(BondListener) (or overloads), or when bonding through another app or the operating system settings.
onEvent(BondRetryFilter.RetryEvent) - Method in class com.idevicesinc.sweetblue.BondRetryFilter.DefaultBondRetryFilter
 
onEvent(BondRetryFilter.RetryEvent) - Method in interface com.idevicesinc.sweetblue.BondRetryFilter
 
onEvent(ScanFilter.ScanEvent) - Method in class com.idevicesinc.sweetblue.defaults.DefaultScanFilter
Acknowledges the discovery if there's an overlap between the given advertisedServices and the Collection passed into the constructor of DefaultScanFilter, OR the name given by BleDevice.getName_native() contains any of the names given from DefaultScanFilter.DefaultScanFilter(String...), DefaultScanFilter.DefaultScanFilter(UUID, String), or DefaultScanFilter.DefaultScanFilter(Collection, String...).
onEvent(DescriptorFilter.DescriptorEvent) - Method in interface com.idevicesinc.sweetblue.DescriptorFilter
Method called when trying to determine which BluetoothGattCharacteristic to perform the operation on.
onEvent(DeviceStateListener.StateEvent) - Method in interface com.idevicesinc.sweetblue.DeviceStateListener
 
onEvent(DiscoveryListener.DiscoveryEvent) - Method in interface com.idevicesinc.sweetblue.DiscoveryListener
 
onEvent(IncomingListener.IncomingEvent) - Method in interface com.idevicesinc.sweetblue.IncomingListener
Called when a read or write from the client is requested.
onEvent(ManagerStateListener.StateEvent) - Method in interface com.idevicesinc.sweetblue.ManagerStateListener
 
onEvent(OutgoingListener.OutgoingEvent) - Method in interface com.idevicesinc.sweetblue.OutgoingListener
Called when a notification or a response to a request is fulfilled or failed.
onEvent(ResetListener.ResetEvent) - Method in interface com.idevicesinc.sweetblue.ResetListener
The reset event, for now only fired when the reset is completed.
onEvent(ScanFilter.ScanEvent) - Method in interface com.idevicesinc.sweetblue.ScanFilter
Return ScanFilter.Please.acknowledge() to acknowledge the discovery, in which case DiscoveryListener.onEvent(DiscoveryListener.DiscoveryEvent) will be called shortly.
onEvent(ServerStateListener.StateEvent) - Method in interface com.idevicesinc.sweetblue.ServerStateListener
Called when a server's bitwise BleServerState changes.
onEvent(TaskTimeoutRequestFilter.TaskTimeoutRequestEvent) - Method in interface com.idevicesinc.sweetblue.TaskTimeoutRequestFilter
Implement this to have fine-grained control over BleTask timeout behavior.
onEvent(UhOhListener.UhOhEvent) - Method in interface com.idevicesinc.sweetblue.UhOhListener
This method is called when an UhOhListener.UhOh happens.
onEvent(BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent) - Method in interface com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter
Deprecated.
Called after moving to the next BluetoothEnabler.BluetoothEnablerFilter.Stage
onEvent(BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.DefaultBluetoothEnablerFilter
Deprecated.
 
onEvent(T_Event) - Method in interface com.idevicesinc.sweetblue.utils.GenericListener_T
 
onEvent(T_Event) - Method in interface com.idevicesinc.sweetblue.utils.GenericListener_Void
 
onExecuteWrite(P_DeviceHolder, int, boolean) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onFinished(BleSetupHelper.Result) - Method in interface com.idevicesinc.sweetblue.utils.BleSetupHelper.ResultListener
This method will be invoked on the listener whenever the enabler finishes.
onFullyInitialized(int, Object...) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onLog(int, String) - Method in interface com.idevicesinc.sweetblue.utils.LogFunction
 
onLogEntry(int, String, String) - Method in class com.idevicesinc.sweetblue.defaults.DefaultLogger
 
onLogEntry(int, String, String) - Method in interface com.idevicesinc.sweetblue.SweetLogger
 
onLogEntry(int, String, String) - Method in class com.idevicesinc.sweetblue.UnitTestLogger
 
onLogEntry(String) - Method in interface com.idevicesinc.sweetblue.utils.DebugLogger.LogEvent
 
onLogEntry(int, String, String) - Method in class com.idevicesinc.sweetblue.utils.DebugLogger
 
onLongTermReconnectTimeOut() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onMtuChanged(P_GattHolder, int, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onMtuChanged(P_DeviceHolder, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onMtuChanged() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onMtuChanged(IBleDevice, P_GattHolder, int, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onNativeBleStateChangeFromBroadcastReceiver(IBleManager, Context, Intent) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
onNativeBondStateChanged(IBleManager, IBluetoothDevice, int, int, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
onNativeConnect(boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onNativeConnect(String, boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
onNativeConnectFail(PE_TaskState, int, ReconnectFilter.AutoConnectUsage) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onNativeConnectFail(P_DeviceHolder, ServerReconnectFilter.Status, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
onNativeConnecting_implicit(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
onNativeDisconnect(boolean, int, boolean, boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onNativeDisconnect(String, boolean, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
onNewlyDiscovered(IBluetoothDevice, ScanFilter.ScanEvent, int, byte[], BleDeviceOrigin) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onNotificationSent(P_DeviceHolder, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onPause() - Method in class com.idevicesinc.sweetblue.BleManager
This method is automatically called for you, if BleManagerConfig.autoPauseResumeDetection is set to true, which is the default.
onPause() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
It's generally recommended to call this in your override of Activity.onPause() for each Activity in your application.
onPause() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
It's generally recommended to call this in your override of Activity.onPause() for each Activity in your application.
onPhyRead(P_GattHolder, int, int, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onPhyRead(P_DeviceHolder, int, int, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onPhyRead(IBleDevice, P_GattHolder, int, int, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onPhyUpdate(P_GattHolder, int, int, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onPhyUpdate(P_DeviceHolder, int, int, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onPhyUpdate(IBleDevice, P_GattHolder, int, int, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onReadRemoteRssi(P_GattHolder, int, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onReadRemoteRssi(IBleDevice, P_GattHolder, int, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onReconnectingLongTerm() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onReconnectingShortTerm() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onRediscovered(IBluetoothDevice, ScanFilter.ScanEvent, int, byte[], BleDeviceOrigin) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onReliableWriteCompleted(P_GattHolder, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onReliableWriteCompleted(IBleDevice, P_GattHolder, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onRemove() - Method in class com.idevicesinc.sweetblue.utils.SingleElementIterator
Optionally override this method to implement remove logic.
onResult(MtuTestCallback.TestResult) - Method in interface com.idevicesinc.sweetblue.MtuTestCallback
This gets called if the MTU test succeeds, or fails.
onResume() - Method in class com.idevicesinc.sweetblue.BleManager
This method is automatically called for you, if BleManagerConfig.autoPauseResumeDetection is set to true, which is the default.
onResume() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Opposite of P_BleManagerImpl.onPause(), to be called from your override of Activity.onResume() for each Activity in your application.
onResume() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Opposite of RxBleManager.onPause(), to be called from your override of Activity.onResume() for each Activity in your application.
onScanFailed(int) - Method in interface com.idevicesinc.sweetblue.compat.L_Util.ScanCallback
 
onScanFailed(int) - Method in interface com.idevicesinc.sweetblue.internal.android.IManagerListener.Callback
 
onScanResult(int, L_Util.ScanResult) - Method in interface com.idevicesinc.sweetblue.compat.L_Util.ScanCallback
 
onScanResult(int, L_Util.ScanResult) - Method in interface com.idevicesinc.sweetblue.internal.android.IManagerListener.Callback
 
onServiceAdded(int, BleService) - Method in interface com.idevicesinc.sweetblue.internal.android.IServerListener.Callback
 
onServiceAdded(IBleServer, int, BleService) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleServer
 
onServicesDiscovered(P_GattHolder, int) - Method in interface com.idevicesinc.sweetblue.internal.android.IDeviceListener.Callback
 
onServicesDiscovered() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onServicesDiscovered(IBleDevice, P_GattHolder, int) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleDevice
 
onStartFailure(int) - Method in interface com.idevicesinc.sweetblue.compat.L_Util.AdvertisingCallback
 
onStartSuccess(BleAdvertisingSettings) - Method in interface com.idevicesinc.sweetblue.compat.L_Util.AdvertisingCallback
 
onSweetBlueThreadScheduler(Scheduler) - Static method in class com.idevicesinc.sweetblue.rx.plugins.RxSweetBluePlugins
 
onTestRequest(MtuTestCallback.MtuTestEvent) - Method in interface com.idevicesinc.sweetblue.MtuTestCallback
This gets called after BleDevice.negotiateMtu(int, ReadWriteListener) or any of it's overloads is called, and it returns a success.
onUndiscovered(PA_StateTracker.E_Intent) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
onUpdate(double) - Method in interface com.idevicesinc.sweetblue.UpdateCallback
Gives you the amount of time that has passed in seconds since the last callback.
onWriteComplete(ReadWriteListener.ReadWriteEvent) - Method in interface com.idevicesinc.sweetblue.BleWriteTransaction.WriteQueueListener
 
onWriteFail(ReadWriteListener.ReadWriteEvent) - Method in interface com.idevicesinc.sweetblue.BleWriteTransaction.FailListener
 
openGattServer(Context, IServerListener) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
openGattServer(Context, IServerListener) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
openGattServer(Context, IServerListener) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called by the library when a BleServer is getting created.
or(BitwiseEnum) - Method in enum com.idevicesinc.sweetblue.BleCharacteristicPermission
 
or(BitwiseEnum) - Method in enum com.idevicesinc.sweetblue.BleCharacteristicProperty
 
or(BitwiseEnum) - Method in enum com.idevicesinc.sweetblue.BleDescriptorPermission
 
or(BitwiseEnum) - Method in enum com.idevicesinc.sweetblue.BleDeviceState
 
or(BitwiseEnum) - Method in enum com.idevicesinc.sweetblue.BleManagerState
 
or(BitwiseEnum) - Method in enum com.idevicesinc.sweetblue.BleServerState
 
or(BitwiseEnum) - Method in enum com.idevicesinc.sweetblue.utils.BleScanRecord.Option
 
Ota() - Constructor for class com.idevicesinc.sweetblue.BleTransaction.Ota
 
OtaDefaultBleManagerConfig - Class in com.idevicesinc.sweetblue.defaults
Default instance of BleManagerConfig with some options set for optimal OTA performance.
OtaDefaultBleManagerConfig() - Constructor for class com.idevicesinc.sweetblue.defaults.OtaDefaultBleManagerConfig
 
OTS_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
OutgoingException - Exception in com.idevicesinc.sweetblue.rx.exception
 
OutgoingException(OutgoingListener.OutgoingEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.OutgoingException
 
OutgoingListener - Interface in com.idevicesinc.sweetblue
OutgoingListener.OutgoingEvent - Class in com.idevicesinc.sweetblue
Struct passed to OutgoingListener.onEvent(OutgoingEvent) that provides details of what was sent to the client and if it succeeded.
OutgoingListener.Status - Enum in com.idevicesinc.sweetblue
Enumeration of the various success and error statuses possible for an outgoing message.
outgoingNULL(BleServer, P_DeviceHolder, UUID, UUID) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.BleCharacteristicPermission
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.BleCharacteristicProperty
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.BleDescriptorPermission
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.BleDeviceState
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.BleManagerState
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.BleServerState
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.utils.AdvertisingFlag
 
overlaps(int) - Method in enum com.idevicesinc.sweetblue.utils.BleScanRecord.Option
 

P

P_ApiManager - Class in com.idevicesinc.sweetblue.api
 
P_BleDeviceImpl - Class in com.idevicesinc.sweetblue.internal
 
P_BleManagerImpl - Class in com.idevicesinc.sweetblue.internal
 
P_BleServerImpl - Class in com.idevicesinc.sweetblue.internal
 
P_Bridge - Class in com.idevicesinc.sweetblue
Bridge class used by SweetBlueSchedulers to setup the scheduler.
P_Bridge_BleDevice - Class in com.idevicesinc.sweetblue.internal
 
P_Bridge_BleManager - Class in com.idevicesinc.sweetblue.internal
 
P_Bridge_BleServer - Class in com.idevicesinc.sweetblue.internal
 
P_Bridge_Compat - Class in com.idevicesinc.sweetblue.compat
 
P_Bridge_Compat() - Constructor for class com.idevicesinc.sweetblue.compat.P_Bridge_Compat
 
P_Bridge_Internal - Class in com.idevicesinc.sweetblue.internal
 
P_Bridge_Native - Class in com.idevicesinc.sweetblue.internal.android
 
P_Bridge_User - Class in com.idevicesinc.sweetblue
 
P_Bridge_User.TransactionHolder - Interface in com.idevicesinc.sweetblue
 
P_Bridge_Utils - Class in com.idevicesinc.sweetblue.utils
 
P_ConnectFailPlease - Enum in com.idevicesinc.sweetblue.internal
 
P_Const - Class in com.idevicesinc.sweetblue.utils
Class which simply houses static final empty constructs which are used throughout the library (rather than instantiating new ones every time)
P_Const() - Constructor for class com.idevicesinc.sweetblue.utils.P_Const
 
P_DeviceHolder - Class in com.idevicesinc.sweetblue.internal.android
Class used to temporarily hold an instance of BluetoothDevice.
P_DisconnectReason - Class in com.idevicesinc.sweetblue.internal
Class used to hold various objects related to disconnecting.
P_GattHolder - Class in com.idevicesinc.sweetblue.internal.android
Class used internally to hold an instance of BluetoothGatt.
P_ITransaction - Interface in com.idevicesinc.sweetblue
 
P_ITransaction.Type - Enum in com.idevicesinc.sweetblue
 
P_JSONUtil - Class in com.idevicesinc.sweetblue.utils
 
P_JSONUtil() - Constructor for class com.idevicesinc.sweetblue.utils.P_JSONUtil
 
P_JSONUtil.JSONApplier - Interface in com.idevicesinc.sweetblue.utils
 
P_JSONUtil.JSONExtractor - Interface in com.idevicesinc.sweetblue.utils
 
P_Logger - Class in com.idevicesinc.sweetblue.internal
 
P_Logger(IBleManager, String[], List<UuidNameMap>, LogOptions, SweetLogger) - Constructor for class com.idevicesinc.sweetblue.internal.P_Logger
 
P_NativeGattObject<T> - Class in com.idevicesinc.sweetblue.internal
 
P_NativeGattObject() - Constructor for class com.idevicesinc.sweetblue.internal.P_NativeGattObject
 
P_NativeGattObject(T) - Constructor for class com.idevicesinc.sweetblue.internal.P_NativeGattObject
 
P_NativeGattObject(UhOhListener.UhOh) - Constructor for class com.idevicesinc.sweetblue.internal.P_NativeGattObject
 
P_NativeGattObject(T, UhOhListener.UhOh) - Constructor for class com.idevicesinc.sweetblue.internal.P_NativeGattObject
 
P_ServerHolder - Class in com.idevicesinc.sweetblue.internal.android
Class used to temporarily hold an instance of BluetoothGattServer.
P_StringHandler - Class in com.idevicesinc.sweetblue.internal
 
P_StringHandler() - Constructor for class com.idevicesinc.sweetblue.internal.P_StringHandler
 
P_SweetHandler - Interface in com.idevicesinc.sweetblue.internal
 
P_Task_FactoryReset - Class in com.idevicesinc.sweetblue.internal
 
P_Task_FactoryReset(IBleManager, PA_Task.I_StateListener) - Constructor for class com.idevicesinc.sweetblue.internal.P_Task_FactoryReset
 
P_Task_Shutdown - Class in com.idevicesinc.sweetblue.internal
 
P_Task_Shutdown(IBleManager, PA_Task.I_StateListener) - Constructor for class com.idevicesinc.sweetblue.internal.P_Task_Shutdown
 
P_TaskQueue - Class in com.idevicesinc.sweetblue.internal
 
P_TaskQueue(IBleManager) - Constructor for class com.idevicesinc.sweetblue.internal.P_TaskQueue
 
parseName(byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
 
parseScanRecord(byte[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_ScanRecord
 
pause() - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
Pause the enabler.
pauseOrResumeConnectStack(boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
pauseOrResumeStateStack(boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
peek() - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
Percent - Class in com.idevicesinc.sweetblue.utils
Wrapper for a percentage value, generally from 0-100%;
percent(int, int, int) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Rssi
 
performOta(BleTransaction.Ota) - Method in class com.idevicesinc.sweetblue.BleDevice
Kicks off an "over the air" long-term transaction if it's not already taking place and the device is BleDeviceState.INITIALIZED.
performOta(BleTransaction.Ota) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
performOta(RxBleTransaction.RxOta) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Kicks off an "over the air" long-term transaction if it's not already taking place and the device is BleDeviceState.INITIALIZED.
performTransaction(BleTransaction) - Method in class com.idevicesinc.sweetblue.BleDevice
Allows you to perform an arbitrary transaction that is not associated with any BleDeviceState like BleDeviceState.PERFORMING_OTA, BleDeviceState.AUTHENTICATING or BleDeviceState.INITIALIZING.
performTransaction(BleTransaction) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
performTransaction(RxBleTransaction) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Allows you to perform an arbitrary transaction that is not associated with any BleDeviceState like BleDeviceState.PERFORMING_OTA, BleDeviceState.AUTHENTICATING or BleDeviceState.INITIALIZING.
PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
PERIPHERAL_PRIVACY_FLAG - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
PermissionInstance(BleSetupHelper.Permission) - Constructor for class com.idevicesinc.sweetblue.utils.BleSetupHelper.PermissionInstance
 
PermissionInstance(BleSetupHelper.Permission, Object) - Constructor for class com.idevicesinc.sweetblue.utils.BleSetupHelper.PermissionInstance
 
Permissions<T extends Permissions> - Class in com.idevicesinc.sweetblue.utils
 
Permissions() - Constructor for class com.idevicesinc.sweetblue.utils.Permissions
 
PermissionsCompat - Class in com.idevicesinc.sweetblue.compat
 
persist() - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
PersistenceLevel_BOTH - Static variable in interface com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter
 
PersistenceLevel_DISK - Static variable in interface com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter
 
PersistenceLevel_MEMORY - Static variable in interface com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter
 
PersistenceLevel_NONE - Static variable in interface com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter
 
persistIf(boolean) - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
PHONE_ALERT_STATUS_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
phoneHasBondingIssues() - Method in class com.idevicesinc.sweetblue.BleDeviceConfig.DefaultBondFilter
phoneHasBondingIssues() - Static method in class com.idevicesinc.sweetblue.utils.Utils
Returns true for certain products, which may have problems managing bonding state and so this method is used in BleDeviceConfig.DefaultBondFilter.
phy() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
 
phy() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
Phy - Enum in com.idevicesinc.sweetblue.utils
Enumeration used to specify which Bluetooth 5 features to use.
phyOptions - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is Phy.DEFAULT.
plus(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
Returns a new instance that is the result of doing this + other.
PLX_CONTINUOUS_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
PLX_FEATURES - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
PLX_SPOT_CHECK_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
PNP_ID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
Pointer<T> - Class in com.idevicesinc.sweetblue.utils
Provides a way to be able to change a value declared in the outer scope of an anonymous inline class.
Pointer(T) - Constructor for class com.idevicesinc.sweetblue.utils.Pointer
 
Pointer() - Constructor for class com.idevicesinc.sweetblue.utils.Pointer
 
poll() - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
POLLEN_CONCENTRATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
popListener_Connect() - Method in class com.idevicesinc.sweetblue.BleDevice
Pop the current DeviceConnectListener out of the stack of listeners.
popListener_Connect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.popListener_Connect(), only this method allows you to pass in the DeviceConnectListener you'd like to "pop" from the stack.
popListener_Connect() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_Connect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_Notification() - Method in class com.idevicesinc.sweetblue.BleDevice
Pops the current NotificationListener off the stack of listeners.
popListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.popListener_Notification(), only this method allows you to pass in the NotificationListener you'd like to "pop" from the stack.
popListener_Notification() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_ReadWrite() - Method in class com.idevicesinc.sweetblue.BleDevice
Pops the current ReadWriteListener off the stack of listeners.
popListener_ReadWrite(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.popListener_ReadWrite(), only this method allows you to pass in the ReadWriteListener you'd like to "pop" from the stack.
popListener_ReadWrite() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_ReadWrite(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_Reconnect() - Method in class com.idevicesinc.sweetblue.BleDevice
Pops the current DeviceReconnectFilter off the stack of listeners.
popListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.popListener_Reconnect(), only this method allows you to pass in the DeviceReconnectFilter you'd like to "pop" from the stack.
popListener_Reconnect() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_Reconnect() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Pops the current DeviceReconnectFilter off the stack of listeners.
popListener_State() - Method in class com.idevicesinc.sweetblue.BleDevice
Pop the current DeviceStateListener out of the stack of listeners.
popListener_State(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.popListener_State(), only this method allows you to pass in the DeviceStateListener you'd like to "pop" from the stack.
popListener_State() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popListener_State(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
popWakeLock() - Method in class com.idevicesinc.sweetblue.BleManager
Opposite of BleManager.pushWakeLock(), eventually calls PowerManager.WakeLock.release().
popWakeLock() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Opposite of P_BleManagerImpl.pushWakeLock(), eventually calls PowerManager.WakeLock.release().
popWakeLock() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Opposite of RxBleManager.pushWakeLock(), eventually calls PowerManager.WakeLock.release().
POSITION_QUALITY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
possibleRetry() - Method in class com.idevicesinc.sweetblue.BondRetryFilter.RetryEvent
This is a best guess on our part.
post(Runnable) - Method in interface com.idevicesinc.sweetblue.internal.P_SweetHandler
 
post(Runnable) - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
Post a Runnable to be executed by the Thread backing this handler.
postCallback(IBleManager, Runnable) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
postCallback(BleSetupHelper.Result) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
postCallbacksToMainThread - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is true - whether all callbacks are posted to the main thread or from SweetBlue's internal thread.
postDelayed(Runnable, long) - Method in interface com.idevicesinc.sweetblue.internal.P_SweetHandler
 
postDelayed(Runnable, long, Object) - Method in interface com.idevicesinc.sweetblue.internal.P_SweetHandler
 
postDelayed(Runnable, long) - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
Post a Runnable to be executed by the Thread backing this handler, delayed by the amount given.
postDelayed(Runnable, long, Object) - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
Post a Runnable to be executed by the Thread backing this handler, delayed by the amount given, with the given tag to identify this action.
postEvent(GenericListener_Void, Event) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
postEventAsCallback(GenericListener_Void, Event) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
postMainDelayed(IBleManager, Runnable, long) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
postUpdateDelayed(IBleManager, Runnable, long) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
postUpdateDelayed(IBleManager, Runnable, long) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
preDisconnect() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Sends the "native" callback to set the state to DISCONNECTED
PresentData - Class in com.idevicesinc.sweetblue.utils
Simple dummy implementation of FutureData that just returns whatever is passed into the constructor.
PresentData(byte[]) - Constructor for class com.idevicesinc.sweetblue.utils.PresentData
The data sent to this constructor will simply be returned by PresentData.getData().
PRESSURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
prettyFormatLogList(List<String>) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
previousDelay() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
The previous Interval returned through ReconnectFilter.ConnectionLostPlease.retryIn(Interval), or Interval.ZERO for the first invocation.
previousStage() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns the BluetoothEnabler.BluetoothEnablerFilter.Stage following the Stage for this event.
primary() - Method in class com.idevicesinc.sweetblue.utils.ServiceBuilder
Set this service to the type BluetoothGattService.SERVICE_TYPE_PRIMARY.
print() - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
printBuildInfo() - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
printState() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns a string of all the states this BleDevice is currently in.
printState() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
printState() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Returns a string of all the states this RxBleDevice is currently in.
proceed() - Static method in class com.idevicesinc.sweetblue.BleWriteTransaction.WriteQueueListener.Please
Proceed to the next write in the queue.
PROFILE_GATT - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates a GATT profile Maps to BluetoothProfile.GATT
ProfileConst - Class in com.idevicesinc.sweetblue.internal.android
Class used to hold values from BluetoothProfile
progress() - Method in class com.idevicesinc.sweetblue.ResetListener.ResetEvent
The progress of the reset.
Properties - Class in com.idevicesinc.sweetblue.utils
 
PROPERTY_INDICATE - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
PROPERTY_NOTIFY - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
PROPERTY_READ - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
PROPERTY_SIGNED_WRITE - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
PROPERTY_WRITE - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
PROPERTY_WRITE_NO_RESPONSE - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
PROTOCOL_MODE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
PULSE_OXIMETER_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
pushListener_Connect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Push a new DeviceConnectListener onto the stack.
pushListener_Connect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
pushListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Pushes the provided NotificationListener on to the top of the stack of listeners.
pushListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
pushListener_ReadWrite(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Pushes the provided ReadWriteListener on to the top of the stack of listeners.
pushListener_ReadWrite(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
pushListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleDevice
Pushes the provided DeviceReconnectFilter on to the top of the stack of listeners.
pushListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
pushListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Pushes the provided DeviceReconnectFilter on to the top of the stack of listeners.
pushListener_State(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Push a new DeviceStateListener onto the stack.
pushListener_State(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
pushWakeLock() - Method in class com.idevicesinc.sweetblue.BleManager
Requires the Manifest.permission.WAKE_LOCK permission.
pushWakeLock() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Requires the Manifest.permission.WAKE_LOCK permission.
pushWakeLock() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Requires the Manifest.permission.WAKE_LOCK permission.

Q

Q_Util - Class in com.idevicesinc.sweetblue.compat
 
Q_Util() - Constructor for class com.idevicesinc.sweetblue.compat.Q_Util
 
query(String) - Method in interface com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase
 
query(String) - Method in class com.idevicesinc.sweetblue.backend.historical.Backend_HistoricalDatabase_Default
 
query(int, Object...) - Static method in class com.idevicesinc.sweetblue.utils.Utils_State
 
queryHistoricalData(String) - Method in class com.idevicesinc.sweetblue.BleNode
Provides a means to perform a raw SQL query on the database storing the historical data for this node.
queryHistoricalData(String, HistoricalDataQueryListener) - Method in class com.idevicesinc.sweetblue.BleNode
Same as BleNode.queryHistoricalData(String) but performs the query on a background thread and returns the result back on the main thread through the provided HistoricalDataQueryListener.
queryHistoricalData(String) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
queryHistoricalData(String, HistoricalDataQueryListener) - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
quit() - Method in interface com.idevicesinc.sweetblue.internal.P_SweetHandler
 
quit() - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
 

R

RAINFALL - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
random() - Static method in class com.idevicesinc.sweetblue.utils.Uuids
 
randomBytes(int) - Static method in class com.idevicesinc.sweetblue.utils.Util_Unit
Returns a random byte array of the given size
randomMacAddress() - Static method in class com.idevicesinc.sweetblue.utils.Util_Unit
Returns a random mac address
randomPriority(Random) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
randomRssi() - Static method in class com.idevicesinc.sweetblue.utils.Util_Unit
Returns a random RSSI value within the range BleDeviceConfig.DEFAULT_RSSI_MIN and BleDeviceConfig.DEFAULT_RSSI_MAX
range() - Method in class com.idevicesinc.sweetblue.HistoricalDataLoadListener.HistoricalDataLoadEvent
The resulting time range spanning all of the data loaded to memory, or EpochTimeRange.NULL if not applicable.
range() - Method in class com.idevicesinc.sweetblue.rx.RxHistoricalDataLoadEvent
rawQuery() - Method in class com.idevicesinc.sweetblue.HistoricalDataQueryListener.HistoricalDataQueryEvent
The raw query given to the database.
read(BleDescriptorRead) - Method in class com.idevicesinc.sweetblue.BleDevice
Reads a descriptor from the device with a callback, if one is set in the provided BleRead.
read(UUID[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.readMany(BleRead[]) instead.
read(UUID[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.readMany(BleRead[]) instead.
read(Iterable<UUID>) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.readMany(Iterable) instead.
read(Iterable<UUID>, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.readMany(Iterable) instead.
read(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(UUID, DescriptorFilter) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(UUID, DescriptorFilter, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(UUID, UUID, DescriptorFilter) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(UUID, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(UUID, UUID, DescriptorFilter, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleRead) instead.
read(BleRead) - Method in class com.idevicesinc.sweetblue.BleDevice
Reads a characteristic from the device.
read(BleRead) - Method in class com.idevicesinc.sweetblue.BleTransaction
read(BleDescriptorRead) - Method in class com.idevicesinc.sweetblue.BleTransaction
read(BleRead) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
read(BleDescriptorRead) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
read(BleRead) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Perform a BLE read on this device.
read(BleDescriptorRead) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
read(BleRead) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
read(BleDescriptorRead) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
read() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
read() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
read_encrypted() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
read_encrypted_mitm() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
read_internal(ReadWriteListener.Type, BleOp) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
readBatteryLevel(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Read the battery level of this device.
readBatteryLevel(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
readCharacteristic(BleCharacteristic) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
readCharacteristic(BleCharacteristic) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
readCharacteristic(BleCharacteristic) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called when the system is trying to read a characteristic.
readDescError(BleDevice, BleDescriptor, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.readDescError(BleDevice, BleDescriptor, int, long) which delays the callback by 50ms.
readDescError(BleDevice, BleDescriptor, int, long) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a descriptor read failed with the given gattStatus, and delays the callback by the amount specified.
readDescriptor(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleDescriptorRead) instead.
readDescriptor(UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleDescriptorRead) instead.
readDescriptor(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleDescriptorRead) instead.
readDescriptor(UUID, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleDescriptorRead) instead.
readDescriptor(UUID, UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleDescriptorRead) instead.
readDescriptor(UUID, UUID, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
- This will be removed in v3.1. Please use BleDevice.read(BleDescriptorRead) instead.
readDescriptor(BleDescriptor) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
readDescriptor(BleDescriptor) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
readDescriptor(BleDescriptor) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called by the system when trying to read a descriptor.
readDescSuccess(BleDevice, BleDescriptor, byte[]) - Static method in class com.idevicesinc.sweetblue.Util_Native
readDescSuccess(BleDevice, BleDescriptor, byte[], Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a descriptor read was successful, with the data to return, and delays the callback by the amount specified.
readError(BleDevice, BleCharacteristic, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.readError(BleDevice, BleCharacteristic, int, Interval) which delays the callback by 50ms.
readError(BleDevice, BleCharacteristic, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a read has failed, with the gattStatus provided, for instance BleStatuses.GATT_ERROR, which delays the callback by the amount specified.
readFromServer(BleServer, String, UUID, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
readJSON(JSONObject) - Method in class com.idevicesinc.sweetblue.BleNodeConfig
Accepts a JSON object that represents a set of configuration options.
readMany(BleRead[]) - Method in class com.idevicesinc.sweetblue.BleDevice
readMany(Iterable<BleRead>) - Method in class com.idevicesinc.sweetblue.BleDevice
readMany(BleRead[]) - Method in class com.idevicesinc.sweetblue.BleTransaction
readMany(Iterable<BleRead>) - Method in class com.idevicesinc.sweetblue.BleTransaction
readMany(BleRead[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Overload for RxBleDevice.read(BleRead) for many writes.
readMany(Iterable<BleRead>) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Overload for RxBleDevice.read(BleRead) for many writes.
readMany(BleRead[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
readMany(Iterable<BleRead>) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
readPhy() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
readPhy() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
readPhy() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Read the PHY of the device.
readPhyFailure(BleDevice, Phy, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.readPhyFailure(BleDevice, Phy, int, Interval) , which has a delay of 50ms.
readPhyFailure(BleDevice, Phy, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that says a request to read the physical layer (bluetooth 5 feature) failed with the given gatt status code
readPhyLayer(BluetoothGatt) - Static method in class com.idevicesinc.sweetblue.compat.O_Util
 
readPhyOptions() - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.readPhyOptions(ReadWriteListener), which passes no listener.
readPhyOptions(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Method to get the current "phy options" (physical layer), or current bluetooth 5 feature.
readPhyOptions() - Method in class com.idevicesinc.sweetblue.BleTransaction
readPhyOptions(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
readPhyOptions(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
readPhyOptions() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Method to get the current "phy options" (physical layer), or current bluetooth 5 feature.
readPhyOptions() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
readPhySuccess(BleDevice, Phy, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that says a request to read the physical layer (bluetooth 5 feature) was successful, with the given Phy, and the amount of time to delay before the callback is sent.
readRemoteRssi() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
readRemoteRssi() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
readRemoteRssi() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called by the system when trying to read the rssi from the device.
readRssi() - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.readRssi(ReadWriteListener) but use this method when you don't much care when/if the RSSI is actually updated.
readRssi(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Wrapper for BluetoothGatt.readRemoteRssi().
readRssi() - Method in class com.idevicesinc.sweetblue.BleTransaction
readRssi(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
readRssi(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
readRssi() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Wrapper for BluetoothGatt.readRemoteRssi().
readRssi() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
readRssi_internal(ReadWriteListener.Type, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
readSuccess(BleDevice, BleCharacteristic, byte[]) - Static method in class com.idevicesinc.sweetblue.Util_Native
readSuccess(BleDevice, BleCharacteristic, byte[], Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a read was successful, with the data to send back from the read, and delays the callback by the amount specified.
readWrite() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
readWrite() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
ReadWriteException - Exception in com.idevicesinc.sweetblue.rx.exception
Exception class which holds an instance of ReadWriteListener.ReadWriteEvent, which gives more information about what went wrong with a read/write.
ReadWriteException(RxReadWriteEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.ReadWriteException
 
ReadWriteFailBluetoothGatt - Class in com.idevicesinc.sweetblue
Basic sub-class of UnitTestBluetoothGatt which will fail all reads/writes.
ReadWriteFailBluetoothGatt(IBleDevice, GattDatabase) - Constructor for class com.idevicesinc.sweetblue.ReadWriteFailBluetoothGatt
 
ReadWriteFailBluetoothGatt(IBleDevice, GattDatabase, ReadWriteFailBluetoothGatt.FailType) - Constructor for class com.idevicesinc.sweetblue.ReadWriteFailBluetoothGatt
 
ReadWriteFailBluetoothGatt(IBleDevice, GattDatabase, ReadWriteFailBluetoothGatt.FailType, Interval) - Constructor for class com.idevicesinc.sweetblue.ReadWriteFailBluetoothGatt
 
ReadWriteFailBluetoothGatt.FailType - Enum in com.idevicesinc.sweetblue
Enumeration used to specify the type of failure.
readWriteIndicate() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
ReadWriteListener - Interface in com.idevicesinc.sweetblue
ReadWriteListener.ReadWriteEvent - Class in com.idevicesinc.sweetblue
Provides a bunch of information about a completed read or write.
ReadWriteListener.Status - Enum in com.idevicesinc.sweetblue
A value returned to GenericListener_Void.onEvent(Event) by way of ReadWriteListener.ReadWriteEvent.status() that indicates success of the operation or the reason for its failure.
ReadWriteListener.Target - Enum in com.idevicesinc.sweetblue
The type of GATT "object", provided by ReadWriteListener.ReadWriteEvent.target().
ReadWriteListener.Type - Enum in com.idevicesinc.sweetblue
The type of operation for a ReadWriteListener.ReadWriteEvent - read, write, poll, etc.
readWriteNotify() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
ready() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
reconnectFilter - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is an instance of DefaultReconnectFilter using the timings that are public static final members thereof - set your own implementation here to have fine-grain control over reconnect behavior while a device is BleDeviceState.RECONNECTING_LONG_TERM or BleDeviceState.RECONNECTING_SHORT_TERM.
reconnectFilter - Variable in class com.idevicesinc.sweetblue.BleNodeConfig
Default is an instance of DefaultReconnectFilter using the timings that are public static final members thereof - set your own implementation here to have fine-grain control over reconnect behavior while a device is BleDeviceState.RECONNECTING_LONG_TERM or BleDeviceState.RECONNECTING_SHORT_TERM.
ReconnectFilter<T extends ReconnectFilter.ConnectFailEvent> - Interface in com.idevicesinc.sweetblue
An optional interface you can implement on BleNodeConfig.reconnectFilter to control reconnection behavior.
ReconnectFilter.AutoConnectUsage - Enum in com.idevicesinc.sweetblue
Describes usage of the autoConnect parameter for either BluetoothDevice.connectGatt(Context, boolean, android.bluetooth.BluetoothGattCallback) or BluetoothGattServer.connect(BluetoothDevice, boolean).
ReconnectFilter.ConnectFailEvent - Class in com.idevicesinc.sweetblue
Abstract base class for structures passed to ReconnectFilter.onConnectFailed(ConnectFailEvent) and ReconnectFilter.onConnectFailed(ConnectFailEvent) to provide more info about how/why a connection failed.
ReconnectFilter.ConnectFailPlease - Class in com.idevicesinc.sweetblue
ReconnectFilter.ConnectionLostEvent - Class in com.idevicesinc.sweetblue
Struct passed to ReconnectFilter.onConnectionLost(ConnectionLostEvent) to aid in making a decision.
ReconnectFilter.ConnectionLostPlease - Class in com.idevicesinc.sweetblue
ReconnectFilter.DefaultNullReconnectFilter - Class in com.idevicesinc.sweetblue
 
ReconnectFilter.Type - Enum in com.idevicesinc.sweetblue
An enum provided through ReconnectFilter.ConnectionLostEvent.type() that describes what reconnect stage we're at.
RECONNECTION_ADDRESS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
reconnectMngr() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
RECORD_ACCESS_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
REFERENCE_TIME_INFORMATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
REFERENCE_TIME_UPDATE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ReflectionUuidNameMap - Class in com.idevicesinc.sweetblue.utils
Convenience implementation of UuidNameMap that takes a Class object and through reflection attempts to parse out all the static UUID members, for example on Uuids.
ReflectionUuidNameMap(Class<?>) - Constructor for class com.idevicesinc.sweetblue.utils.ReflectionUuidNameMap
 
refreshGatt() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
refreshGatt() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
refreshGatt() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
This method doesn't really make any sense in a unit testing environment as everything is mocked.
refreshGatt(BluetoothGatt) - Static method in class com.idevicesinc.sweetblue.utils.Utils
Utility method used to refresh the GATT database.
refreshGattDatabase() - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.refreshGattDatabase(Interval) which uses the default gatt refresh delay of BleDeviceConfig.DEFAULT_GATT_REFRESH_DELAY.
refreshGattDatabase(Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
This only applies to a device which is BleDeviceState.BLE_CONNECTED.
refreshGattDatabase(Interval) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
refreshGattDatabase() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Overload of RxBleDevice.refreshGattDatabase(Interval) which uses the default gatt refresh delay of BleDeviceConfig.DEFAULT_GATT_REFRESH_DELAY.
refreshGattDatabase(Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
This only applies to a device which is BleDeviceState.BLE_CONNECTED.
registerContentObserver(ContentObserver) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
registerDataSetObserver(DataSetObserver) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
reliableWrite_abort() - Method in class com.idevicesinc.sweetblue.BleDevice
Wrapper for BluetoothGatt.abortReliableWrite() - will return an event such that ReadWriteListener.ReadWriteEvent.isNull() will return false if there are no problems.
reliableWrite_abort() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
reliableWrite_abort() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Wrapper for BluetoothGatt.abortReliableWrite() - will return an event such that RxReadWriteEvent.isNull() will return false if there are no problems.
reliableWrite_begin(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Wrapper for BluetoothGatt.beginReliableWrite() - will return an event such that ReadWriteListener.ReadWriteEvent.isNull() will return false if there are no problems.
reliableWrite_begin(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
reliableWrite_begin() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Wrapper for BluetoothGatt.beginReliableWrite() - will return an Observable which emits RxReadWriteEvents.
reliableWrite_execute() - Method in class com.idevicesinc.sweetblue.BleDevice
Wrapper for BluetoothGatt.abortReliableWrite() - will return an event such that ReadWriteListener.ReadWriteEvent.isNull() will return false if there are no problems.
reliableWrite_execute() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
reliableWrite_execute() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Wrapper for BluetoothGatt.abortReliableWrite() - will return an event such that RxReadWriteEvent.isNull() will return false if there are no problems.
remaining() - Method in class com.idevicesinc.sweetblue.BleWriteTransaction
Returns how many write operations are left in the queue.
remedy() - Method in class com.idevicesinc.sweetblue.rx.RxUhOhEvent
remedy() - Method in class com.idevicesinc.sweetblue.UhOhListener.UhOhEvent
remoteRssiError(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.remoteRssiError(BleDevice, int, Interval) which delays the callback by 50ms.
remoteRssiError(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a remote rssi read has failed with the given gattStatus, and delay the callback by the amount specified.
remoteRssiSuccess(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.remoteRssiSuccess(BleDevice, int, Interval) which delays the callback by 50ms.
remoteRssiSuccess(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a read remote rssi succeeded with the given rssi value, and delay the callback by the amount specified.
remove() - Method in class com.idevicesinc.sweetblue.BleDeviceIterator
Calls BleManager.undiscover(BleDevice), removing it from the BleManager singleton's internal list.
remove() - Method in class com.idevicesinc.sweetblue.utils.EmptyIterator
 
remove() - Method in class com.idevicesinc.sweetblue.utils.SingleElementIterator
 
remove(Object) - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
removeAllDevicesFromCache() - Method in class com.idevicesinc.sweetblue.BleManager
Removes all BleDevices from SweetBlue's internal device cache list.
removeAllDevicesFromCache() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Removes all BleDevices from SweetBlue's internal device cache list.
removeAllDevicesFromCache() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Removes all RxBleDevices from SweetBlue's internal device cache list.
removeAllServices() - Method in class com.idevicesinc.sweetblue.BleServer
Convenience to remove all services previously added with BleServer.addService(BleService, AddServiceListener) (or overloads).
removeAllServices() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Convenience to remove all services previously added with P_BleServerImpl.addService(BleService, AddServiceListener) (or overloads).
removeAllServices() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
removeBleService(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
removeBond() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
removeBond() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
removeBond() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Removes the bond to this device.
removeBondedDevice(BleDevice) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when a device is no longer bonded.
removeCallbacks(Runnable) - Method in interface com.idevicesinc.sweetblue.internal.P_SweetHandler
 
removeCallbacks(Object) - Method in interface com.idevicesinc.sweetblue.internal.P_SweetHandler
 
removeCallbacks(Runnable) - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
Remove a Runnable from the handler.
removeCallbacks(Object) - Method in class com.idevicesinc.sweetblue.internal.ThreadHandler
 
removeDeviceFromCache(BleDevice) - Method in class com.idevicesinc.sweetblue.BleManager
Removes the given BleDevice from SweetBlue's internal device cache list.
removeDeviceFromCache(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Removes the given BleDevice from SweetBlue's internal device cache list.
removeDeviceFromCache(RxBleDevice) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Removes the given RxBleDevice from SweetBlue's internal device cache list.
removeService(UUID) - Method in class com.idevicesinc.sweetblue.BleServer
Remove any service previously provided to BleServer.addService(BleService, AddServiceListener) or overloads.
removeService(BleService) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
removeService(BleService) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
removeService(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
removeService(UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
removeService(BleService) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called by the library when removing a BleService.
REPORT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
REPORT_MAP - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
REPORT_REFERENCE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
requery() - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
requestBackgroundOperation - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is false.
requestConnectionPriority(BluetoothGatt, int) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
requestConnectionPriority(BleConnectionPriority) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
requestConnectionPriority(BleConnectionPriority) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
requestConnectionPriority(BleConnectionPriority) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called by the system when trying to request a change in connection priority.
requestCustomPermission(Object) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
This method implements the actual logic required to request a permission from the user.
requestId() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The request id forwarded from the native stack.
requestMtu(BluetoothGatt, int) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
requestMtu(int) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
requestMtu(int) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
requestMtu(int) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called when the system wants to request a new MTU size.
requestMTUError(BleDevice, int, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.requestMTUError(BleDevice, int, int, Interval) which delays the callback by 50ms.
requestMTUError(BleDevice, int, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that says an MTU request failed, with the given gattStatus, and delay the callback by the amount specified.
requestMTUSuccess(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.requestMTUSuccess(BleDevice, int, Interval) which delays the callback by 50ms.
requestMTUSuccess(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that says an MTU request was successful, with the newly negotiated mtu size, and delay the callback by the amount specified.
requestNextPermission() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
requestPermission(BleSetupHelper.PermissionInstance) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
requestPermissions(Activity, int) - Static method in class com.idevicesinc.sweetblue.compat.M_Util
 
requestPermissions(Activity, int, boolean) - Static method in class com.idevicesinc.sweetblue.compat.PermissionsCompat
Safely wraps Activity.requestPermissions(String[], int) behind API level checks Android 8 - 9 use Manifest.permission.ACCESS_COARSE_LOCATION, whereas Android 10 and above use Manifest.permission.ACCESS_FINE_LOCATION.
requestPermissions(Activity, int, boolean) - Static method in class com.idevicesinc.sweetblue.compat.Q_Util
 
REQUIRES_LOCATION_PERMISSION - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
REQUIRES_LOCATION_PERMISSION_AND_SERVICES - Static variable in class com.idevicesinc.sweetblue.internal.P_StringHandler
 
reset() - Method in class com.idevicesinc.sweetblue.BleManager
This is essentially a big red reset button for the Bluetooth stack.
reset(ResetListener) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.reset() but with a convenience callback for when the reset is completed and the native BLE stack is (should be) back to normal.
reset() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
This is essentially a big red reset button for the Bluetooth stack.
reset(ResetListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Same as P_BleManagerImpl.reset() but with a convenience callback for when the reset is completed and the native BLE stack is (should be) back to normal.
reset() - Static method in class com.idevicesinc.sweetblue.rx.plugins.RxSweetBluePlugins
Removes all handlers and resets the default behavior.
reset() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
This is essentially a big red reset button for the Bluetooth stack.
reset(ResetListener) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Same as RxBleManager.reset() but with a convenience callback for when the reset is completed and the native BLE stack is (should be) back to normal.
reset() - Static method in class com.idevicesinc.sweetblue.rx.schedulers.SweetBlueSchedulers
Reset the current handler/scheduler instances to null.
resetAdaptorName() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
ResetListener - Interface in com.idevicesinc.sweetblue
Provide an implementation to BleManager.reset(ResetListener) to be notified when a reset operation is complete.
ResetListener.Progress - Enum in com.idevicesinc.sweetblue
Enumeration of the progress of the reset.
ResetListener.ResetEvent - Class in com.idevicesinc.sweetblue
resetManager(Context) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
resetManager(Context) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
resetManager(Context) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called by the library when it needs to instantiate the bluetooth manager.
RESOLVABLE_PRIVATE_ADDRESS_ONLY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
respond(IncomingListener.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
respond(Bundle) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
respondWithError(int) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Send an error/status code back to the client.
respondWithError(int, OutgoingListener) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Same as IncomingListener.Please.respondWithError(int) but allows you to provide a listener specific to this response.
respondWithSuccess(FutureData) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Overload of IncomingListener.Please.respondWithSuccess(byte[]) - see FutureData for why/when you would want to use this.
respondWithSuccess(FutureData, OutgoingListener) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Overload of IncomingListener.Please.respondWithSuccess(byte[], OutgoingListener) - see FutureData for why/when you would want to use this.
respondWithSuccess(byte[]) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Use this as the return value of IncomingListener.onEvent(IncomingEvent) when ExchangeListener.ExchangeEvent.type() ExchangeListener.Type.isRead() is true and you can respect the read request and respond with data.
respondWithSuccess(byte[], OutgoingListener) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Same as IncomingListener.Please.respondWithSuccess(byte[]) but allows you to provide a listener specific to this response.
respondWithSuccess() - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
respondWithSuccess(OutgoingListener) - Static method in class com.idevicesinc.sweetblue.IncomingListener.Please
Same as IncomingListener.Please.respondWithSuccess() but allows you to provide a listener specific to this response.
responseNeeded() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
Dictates whether a response is needed.
RESTING_HEART_RATE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
result() - Method in class com.idevicesinc.sweetblue.MtuTestCallback.TestResult
The result of the MTU test -- you can also just call MtuTestCallback.TestResult.wasSuccess() if you only care if it worked or not.
Result() - Constructor for class com.idevicesinc.sweetblue.utils.BleSetupHelper.Result
 
resume(BluetoothEnabler.BluetoothEnablerFilter.Please) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Resume the enabler with the given Please.
resume_static(BluetoothEnabler.BluetoothEnablerFilter.Please) - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Static equivalent of BluetoothEnabler.resume(BluetoothEnablerFilter.Please) that you can use to call down into the singleton created by BluetoothEnabler.start(Activity, BluetoothEnablerFilter) (or overloads).
retainDeviceWhenBleTurnsOff - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - controls whether BleManager will keep a device in active memory when it goes BleManagerState.OFF.
retry() - Static method in class com.idevicesinc.sweetblue.BleWriteTransaction.FailListener.Please
Tells the transaction to retry the failed write again.
retry() - Static method in class com.idevicesinc.sweetblue.BondRetryFilter.Please
Tell SweetBlue to retry bonding to the device.
retry() - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailPlease
Return this to retry the connection, continuing the connection fail retry loop.
retryAttempts() - Method in class com.idevicesinc.sweetblue.BondRetryFilter.RetryEvent
Returns how many times SweetBlue has retried bonding on the BondRetryFilter.RetryEvent.device().
retryIf(boolean) - Static method in class com.idevicesinc.sweetblue.BondRetryFilter.Please
Tell SweetBlue to retry bonding to the device, if the provided condition is true.
retryIf(boolean) - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailPlease
retryIn(Interval) - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
Return this from ReconnectFilter.onConnectionLost(ConnectionLostEvent) to retry after the given amount of time.
retryInstantly() - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
retryInstantlyWithTimeout(Interval) - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
retryWithAutoConnectFalse() - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailPlease
retryWithAutoConnectTrue() - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectFailPlease
Same as ReconnectFilter.ConnectFailPlease.retry(), but autoConnect=true will be passed to BluetoothDevice.connectGatt(Context, boolean, android.bluetooth.BluetoothGattCallback).
retryWithTimeout(Interval, Interval) - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
Return this from ReconnectFilter.onConnectionLost(ConnectionLostEvent) to retry after the given amount of time, and to keep retrying until the given timeout has expired.
revertToClassicDiscoveryIfNeeded - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is true - SweetBlue uses BluetoothAdapter.startLeScan(BluetoothAdapter.LeScanCallback) by default but for unknown reasons this can fail sometimes.
RINGER_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
RINGER_SETTING - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ROWER_DATA - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
RSC_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
RSC_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
rssi() - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
rssi() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
This value gets updated as a result of a BleDevice.readRssi(ReadWriteListener) call.
rssi() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
rssi() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
rssi() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
The RSSI received when the device was discovered.
rssi_max - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.DEFAULT_RSSI_MAX - the estimated maximum value for BleDevice.getRssi().
rssi_min - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.DEFAULT_RSSI_MIN - the estimated minimum value for BleDevice.getRssi().
rssi_percent() - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
rssi_percent() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
rssiAutoPollRate - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is BleDeviceConfig.DEFAULT_RSSI_AUTO_POLL_RATE - The rate at which a BleDevice will automatically poll for its BleDevice.getRssi() value after it's BleDeviceState.BLE_CONNECTED.
runEnabler(BleManager, Activity, BleSetupHelper.ResultListener) - Static method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
This function handles the creation and startup of the enabler using default options.
RUNNING_SPEED_AND_CADENCE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
RxAdvertisingEvent - Class in com.idevicesinc.sweetblue.rx
 
RxAssertEvent - Class in com.idevicesinc.sweetblue.rx
 
RxAuth() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleTransaction.RxAuth
 
RxAuthFactory<T extends RxBleTransaction.RxAuth> - Interface in com.idevicesinc.sweetblue.rx
 
RxBleDevice - Class in com.idevicesinc.sweetblue.rx
 
RxBleDeviceConfig - Class in com.idevicesinc.sweetblue.rx
 
RxBleDeviceConfig() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleDeviceConfig
 
RxBleDeviceTransformer - Class in com.idevicesinc.sweetblue.rx
Built in transformation for converting a BleDevice to RxBleDevice.
RxBleDeviceTransformer() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleDeviceTransformer
 
RxBleManager - Class in com.idevicesinc.sweetblue.rx
Main entry point for the Rx module.
RxBleManagerConfig - Class in com.idevicesinc.sweetblue.rx
 
RxBleManagerConfig() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleManagerConfig
 
RxBleServer - Class in com.idevicesinc.sweetblue.rx
 
RxBleServerTransformer - Class in com.idevicesinc.sweetblue.rx
Transformation class to convert a BleServer to an RxBleServer.
RxBleServerTransformer() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleServerTransformer
 
RxBleTransaction - Class in com.idevicesinc.sweetblue.rx
 
RxBleTransaction() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleTransaction
 
RxBleTransaction.RxAuth - Class in com.idevicesinc.sweetblue.rx
 
RxBleTransaction.RxInit - Class in com.idevicesinc.sweetblue.rx
 
RxBleTransaction.RxOta - Class in com.idevicesinc.sweetblue.rx
 
RxBondEvent - Class in com.idevicesinc.sweetblue.rx
 
RxConnectEvent - Class in com.idevicesinc.sweetblue.rx
 
RxDeviceConnectEvent - Class in com.idevicesinc.sweetblue.rx
 
RxDeviceEvent<T extends Event> - Class in com.idevicesinc.sweetblue.rx
 
RxDeviceEvent(T) - Constructor for class com.idevicesinc.sweetblue.rx.RxDeviceEvent
 
RxDeviceStateEvent - Class in com.idevicesinc.sweetblue.rx
 
RxDiscoveryEvent - Class in com.idevicesinc.sweetblue.rx
Convenience class used when scanning with RxBleManager.scan(ScanOptions).
RxEvent<T extends Event> - Class in com.idevicesinc.sweetblue.rx
Base interface used for all Rx event classes.
RxEvent(T) - Constructor for class com.idevicesinc.sweetblue.rx.RxEvent
 
RxHistoricalDataLoadEvent - Class in com.idevicesinc.sweetblue.rx
 
RxInit() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleTransaction.RxInit
 
RxInitFactory<T extends RxBleTransaction.RxInit> - Interface in com.idevicesinc.sweetblue.rx
 
RxManagerEvent<T extends Event> - Class in com.idevicesinc.sweetblue.rx
 
RxManagerEvent(RxBleManager, T) - Constructor for class com.idevicesinc.sweetblue.rx.RxManagerEvent
 
RxManagerStateEvent - Class in com.idevicesinc.sweetblue.rx
 
RxNotificationEvent - Class in com.idevicesinc.sweetblue.rx
 
RxOta() - Constructor for class com.idevicesinc.sweetblue.rx.RxBleTransaction.RxOta
 
RxOutgoingEvent - Class in com.idevicesinc.sweetblue.rx
 
RxReadWriteEvent - Class in com.idevicesinc.sweetblue.rx
 
RxServerConnectEvent - Class in com.idevicesinc.sweetblue.rx
 
RxServerConnectEvent(ServerConnectListener.ConnectEvent) - Constructor for class com.idevicesinc.sweetblue.rx.RxServerConnectEvent
 
RxServerEvent<T extends Event> - Class in com.idevicesinc.sweetblue.rx
 
RxServerEvent(T) - Constructor for class com.idevicesinc.sweetblue.rx.RxServerEvent
 
RxServerStateEvent - Class in com.idevicesinc.sweetblue.rx
 
RxServiceAddEvent - Class in com.idevicesinc.sweetblue.rx
 
RxSweetBluePlugins - Class in com.idevicesinc.sweetblue.rx.plugins
 
RxUhOhEvent - Class in com.idevicesinc.sweetblue.rx
 

S

saveNameChangesToDisk - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - controls whether changes to a device's name through BleDevice.setName(String) are remembered on disk through SharedPreferences.
SC_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
scan() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Overload of RxBleManager.scan(ScanOptions), which uses a default instance of ScanOptions.
scan(ScanOptions) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns an Observable which kicks off a scan using the provided ScanOptions once subscribed to.
SCAN_CALLBACK_TYPE_POST_LOLLIPOP - Static variable in interface com.idevicesinc.sweetblue.internal.android.IManagerListener
 
SCAN_CALLBACK_TYPE_PRE_LOLLIPOP - Static variable in interface com.idevicesinc.sweetblue.internal.android.IManagerListener
 
SCAN_INTERVAL_WINDOW - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
scan_onlyNew(ScanOptions) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns a Flowable which kicks off a scan using the provided ScanOptions once subscribed to.
SCAN_PARAMETERS_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SCAN_REFRESH - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
scanApi - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is BleScanApi.AUTO - see BleScanApi for more details.
scanClassicBoostLength - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is Interval.DISABLED - This will run a short classic scan before a regular BLE scan.
ScanFilter - Interface in com.idevicesinc.sweetblue
An optional whitelisting mechanism for scanning.
ScanFilter.ApplyMode - Enum in com.idevicesinc.sweetblue
An enumeration of the various ways that the (up to) two ScanFilter held in the scan filter manager will be applied when scanning
ScanFilter.Please - Class in com.idevicesinc.sweetblue
Small struct passed back from ScanFilter.onEvent(ScanEvent).
ScanFilter.ScanEvent - Class in com.idevicesinc.sweetblue
Instances of this class are passed to ScanFilter.onEvent(ScanEvent) to aid in making a decision.
scanFor(Interval) - Method in class com.idevicesinc.sweetblue.ScanOptions
Scan for the specified amount of time.
scanInfinitely() - Method in class com.idevicesinc.sweetblue.ScanOptions
Scan indefinitely until BleManager.stopScan() is called.
ScanOptions - Class in com.idevicesinc.sweetblue
Class used to feed options for scanning via BleManager.startScan(ScanOptions).
ScanOptions() - Constructor for class com.idevicesinc.sweetblue.ScanOptions
 
ScanOptions(ScanFilter) - Constructor for class com.idevicesinc.sweetblue.ScanOptions
 
ScanOptions(DiscoveryListener) - Constructor for class com.idevicesinc.sweetblue.ScanOptions
 
ScanOptions(ScanFilter, DiscoveryListener) - Constructor for class com.idevicesinc.sweetblue.ScanOptions
 
scanPeriodically(Interval, Interval) - Method in class com.idevicesinc.sweetblue.ScanOptions
Do a periodic scan.
scanPower - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
NOTE: This is ONLY applicable on devices running Lollipop or above.
scanRecord() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
The raw scan record received when the device was discovered.
scanReportDelay - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is Interval.ZERO seconds - Only applicable for Lollipop and up (i.e.
ScanResult() - Constructor for class com.idevicesinc.sweetblue.compat.L_Util.ScanResult
 
ScanResult(P_DeviceHolder, int, byte[]) - Constructor for class com.idevicesinc.sweetblue.compat.L_Util.ScanResult
 
scheduleDirect(Runnable, long, TimeUnit) - Method in class com.idevicesinc.sweetblue.rx.schedulers.SweetBlueScheduler
 
secondary() - Method in class com.idevicesinc.sweetblue.utils.ServiceBuilder
Set this service to the type BluetoothGattService.SERVICE_TYPE_SECONDARY.
secs() - Method in class com.idevicesinc.sweetblue.utils.Interval
Returns the value of this interval in seconds.
secs(double) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns a new Interval representing the given number of seconds.
secs(Interval) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns the double values as seconds from a given nullable Interval.
select() - Method in class com.idevicesinc.sweetblue.BleNode
Provides a way to perform a statically checked SQL query by chaining method calls.
select() - Method in interface com.idevicesinc.sweetblue.internal.IBleNode
 
select(IBleNode, Backend_HistoricalDatabase) - Static method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery
 
sendBluetoothStateChange(BleManager, int, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
sendBluetoothStateChange(BleManager, int, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Sends a bluetooth state change, such as BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_OFF, etc.
sendIndication(String, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
sendIndication(String, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendIndication(String, UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
sendNotification(String, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleServer
sendNotification(String, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
sendNotification(String, UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleServer
sendNotification(String, UUID, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
sendNotification(String, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleServer
sendNotification(String, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
sendNotification(String, UUID, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleServer
sendNotification(String, UUID, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
Use this method to send a notification to the client device with the given mac address to the given characteristic UUID.
sendNotification(String, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendNotification(String, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendNotification(String, UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendNotification(String, UUID, UUID, byte[], OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendNotification(String, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendNotification(String, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendNotification(String, UUID, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
sendNotification(String, UUID, UUID, FutureData, OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
sendNotification(String, UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
sendNotification(BleDevice, BleCharacteristic, byte[]) - Static method in class com.idevicesinc.sweetblue.Util_Native
sendNotification(BleDevice, BleCharacteristic, byte[], Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Simulate a notification being received with the given data, and delay the callback by the amount specified.
sendReadDescriptorResponse(BleDescriptor, byte[]) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called by UnitTestBluetoothGatt.readDescriptor(BleDescriptor) to send the response of the read back through the "native" callback.
sendReadResponse(BleCharacteristic, byte[]) - Method in class com.idevicesinc.sweetblue.ReadWriteFailBluetoothGatt
 
sendReadResponse(BleCharacteristic, byte[]) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called by UnitTestBluetoothGatt.readCharacteristic(BleCharacteristic) to send the response of the read.
sendResponse(P_DeviceHolder, int, int, int, byte[]) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothServer
 
sendResponse(P_DeviceHolder, int, int, int, byte[]) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothServer
 
sendResponse(P_DeviceHolder, int, int, int, byte[]) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Called by the system to send a response to a request from a connected device.
sendWriteDescResponse(BleDescriptor) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called by UnitTestBluetoothGatt.writeDescriptor(BleDescriptor) to send the response of writing to the descriptor to the native callback.
sendWriteResponse(BleCharacteristic) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Sends the response of writing to a characteristic.
sendWriteToServer(BleServer, String, UUID, byte[], Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback to a server instance, mimicking a peripheral writing to the server.
SENSOR_LOCATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SERIAL_NUMBER - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
server() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
The server to which the service is being added.
server() - Method in class com.idevicesinc.sweetblue.AdvertisingListener.AdvertisingEvent
The backing BleManager which is attempting to start advertising.
server() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
server() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
server() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
server() - Method in class com.idevicesinc.sweetblue.rx.RxAdvertisingEvent
 
server() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
 
server() - Method in class com.idevicesinc.sweetblue.rx.RxServerStateEvent
 
server() - Method in class com.idevicesinc.sweetblue.rx.RxServiceAddEvent
 
server() - Method in class com.idevicesinc.sweetblue.ServerConnectListener.ConnectEvent
 
server() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
server() - Method in class com.idevicesinc.sweetblue.ServerStateListener.StateEvent
The server undergoing the state change.
server() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
SERVER_CHARACTERISTIC_CONFIGURATION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SERVER_CONNECTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the server is connected.
SERVER_CONNECTING - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the server is connecting.
SERVER_DISCONNECTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the server is disconnected.
SERVER_DISCONNECTING - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the server is disconnecting.
ServerConnectException - Exception in com.idevicesinc.sweetblue.rx.exception
Exception class used to indicate a connection failure, which holds an instance of ServerReconnectFilter.ConnectFailEvent, when using RxBleServer.connect(String, ServerReconnectFilter).
ServerConnectException(ServerReconnectFilter.ConnectFailEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.ServerConnectException
 
ServerConnectListener - Interface in com.idevicesinc.sweetblue
 
ServerConnectListener.ConnectEvent - Class in com.idevicesinc.sweetblue
 
serverFactory - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
This option is exposed for unit testing.
serverNULL(BleServer, BluetoothDevice) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
ServerReconnectFilter - Interface in com.idevicesinc.sweetblue
 
ServerReconnectFilter.ConnectFailEvent - Class in com.idevicesinc.sweetblue
Structure passed to ReconnectFilter.onConnectFailed(ReconnectFilter.ConnectFailEvent) to provide more info about how/why the connection failed.
ServerReconnectFilter.Status - Enum in com.idevicesinc.sweetblue
The reason for the connection failure.
ServerStateListener - Interface in com.idevicesinc.sweetblue
Provide an implementation to BleServer.setListener_State(ServerStateListener) and/or BleManager.setListener_ServerState(ServerStateListener) to receive state change events.
ServerStateListener.StateEvent - Class in com.idevicesinc.sweetblue
service() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
service() - Method in class com.idevicesinc.sweetblue.DescriptorFilter.DescriptorEvent
Convenience method which returns the BluetoothGattService.
service() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
service() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
service() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
service() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
SERVICE_CHANGED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
ServiceAddException - Exception in com.idevicesinc.sweetblue.rx.exception
 
ServiceAddException(AddServiceListener.ServiceAddEvent) - Constructor for exception com.idevicesinc.sweetblue.rx.exception.ServiceAddException
 
ServiceBuilder - Class in com.idevicesinc.sweetblue.utils
Builder class used to help building out BleServices.
serviceData() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
Returns the service data, if any, parsed from ScanFilter.ScanEvent.scanRecord().
serviceDiscoveryDelay - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is Interval.DISABLED.
serviceName(IBleManager, UUID) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
serviceName(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
serviceUuid() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
Convenience to return the UUID of AddServiceListener.ServiceAddEvent.service().
serviceUuid() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The UUID of the service associated with this ExchangeListener.ExchangeEvent.
serviceUuid() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
The UUID of the service associated with this NotificationListener.NotificationEvent.
serviceUuid() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
The UUID of the service associated with this ReadWriteListener.ReadWriteEvent.
serviceUuid() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
serviceUuid() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
setAdvFlags(byte) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Set the advertising flags.
setAdvFlags(byte...) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Convenience method to set the advertising flags, which allows you to pass in every flag you want, and this method will OR them together for you.
setAdvListener(L_Util.AdvertisingCallback) - Static method in class com.idevicesinc.sweetblue.compat.P_Bridge_Compat
 
setAttemptingLongTermReconnect(boolean) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setAutoConnectUsage(ReconnectFilter.AutoConnectUsage) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setBleScanReady(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
setBondFailReason(int) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setBondStatusSuccess(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Allows you to set a new bonding state, and pump it through the system as if it's a native callback.
setBoolean(boolean) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set the boolean to write.
setBoolean(boolean) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Set the boolean to write.
setBoolean(boolean) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set the boolean to write.
setBoolean(boolean) - Method in class com.idevicesinc.sweetblue.BleWrite
Set the boolean to write.
setBytes(byte[]) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set the raw bytes to write.
setBytes(byte[]) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Set the raw bytes to write.
setBytes(byte[]) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set the raw bytes to write.
setBytes(byte[]) - Method in class com.idevicesinc.sweetblue.BleWrite
Set the raw bytes to write.
setCharacteristicNotification(BleCharacteristic, boolean) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
setCharacteristicNotification(BleCharacteristic, boolean) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
setCharacteristicNotification(BleCharacteristic, boolean) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called internally when enabling/disabling a notification on a characteristic.
setCharacteristicUUID(UUID) - Method in class com.idevicesinc.sweetblue.BleOp
Set the characteristic UUID.
setCharValue(BleCharacteristic, byte[]) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
setCharValue(BleCharacteristic, byte[]) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
setCharValue(BleCharacteristic, byte[]) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
setCharValue(BleCharacteristic, byte[]) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Used internally when writing to a characteristic.
setCharWriteType(BleCharacteristic, ReadWriteListener.Type) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
setConfig(BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.BleDevice
Optionally sets overrides for any custom options given to BleManager.get(android.content.Context, BleManagerConfig) for this individual device.
setConfig(BleManagerConfig) - Method in class com.idevicesinc.sweetblue.BleManager
Updates the config options for this instance after calling BleManager.get(android.content.Context) or BleManager.get(android.content.Context, BleManagerConfig).
setConfig(BleNodeConfig) - Method in class com.idevicesinc.sweetblue.BleServer
Optionally sets overrides for any custom options given to BleManager.get(android.content.Context, BleManagerConfig) for this individual server.
setConfig(BleDeviceConfig) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setConfig(BleManagerConfig) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
setConfig(BleNodeConfig) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Optionally sets overrides for any custom options given to BleManager.get(android.content.Context, BleManagerConfig) for this individual server.
setConfig(RxBleDeviceConfig) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Optionally sets overrides for any custom options given to RxBleManager.get(android.content.Context, RxBleManagerConfig) for this individual device.
setConfig(RxBleManagerConfig) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
 
setConfig(BleNodeConfig) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
setConnectFailReason(DeviceReconnectFilter.Status) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setConnectionPriority(BleConnectionPriority) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.setConnectionPriority(BleConnectionPriority, ReadWriteListener) but use this method when you don't much care when/if the connection priority is updated.
setConnectionPriority(BleConnectionPriority, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Wrapper for BluetoothGatt.requestConnectionPriority(int) which attempts to change the connection priority for a given connection.
setConnectionPriority(BleConnectionPriority) - Method in class com.idevicesinc.sweetblue.BleTransaction
setConnectionPriority(BleConnectionPriority, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
setConnectionPriority(BleConnectionPriority, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setConnectionPriority(BleConnectionPriority) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Wrapper for BluetoothGatt.requestConnectionPriority(int) which attempts to change the connection priority for a given connection.
setConnectionPriority(BleConnectionPriority) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
setData(FutureData) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set the FutureData to write.
setData(FutureData) - Method in class com.idevicesinc.sweetblue.BleOp
 
setData(FutureData) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set the FutureData to write.
setDatabase(GattDatabase) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Set the GattDatabase instance this gatt instance will use.
setDelayTime(Interval) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Sets the amount of time to delay each native callback (to simulate a real world scenario where callbacks aren't instant)
setDescriptorFilter(DescriptorFilter) - Method in class com.idevicesinc.sweetblue.BleOp
Set the DescriptorFilter to determine which characteristic to operate on, if there are multiple with the same UUID in the same BluetoothGattService.
setDescriptorUUID(UUID) - Method in class com.idevicesinc.sweetblue.BleDescriptorOp
Set the descriptor UUID (if operating with a descriptor).
setDescValue(BleDescriptor, byte[]) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
setDescValue(BleDescriptor, byte[]) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
setDescValue(BleDescriptor, byte[]) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
setDescValue(BleDescriptor, byte[]) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called internally when trying to write to a descriptor.
setDeviceAddress(String) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set filter on device address.
setDeviceName(String) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set filter on device name.
setExtras(Bundle) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
setForceReadTimeout(Interval) - Method in class com.idevicesinc.sweetblue.BleNotify.Builder
 
setForceReadTimeout(Interval) - Method in class com.idevicesinc.sweetblue.BleNotify
This allows you to set a forced read, simulating a notification.
setGatt(BluetoothGatt) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
setGatt(BluetoothGatt) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
setGatt(BluetoothGatt) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Internal method used by the library.
setGattNull(boolean) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Sets the gatt instance to be null
setHighestState(BleDeviceState) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setIBleManager(IBleManager) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
setIBleManager(IBleManager) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
This gets called when the IBleManager calls it's initConfigDependentMembers method.
setIBleManager(IBleManager) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called internally to set the IBleManager instance.
setImpl(BleSetupHelper.BluetoothEnablerImpl) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
This method allows you to set a custom implementation which can be used to implement custom permissions, or to customize the look or text of the dialogs and toasts shown by the enabler.
setInitSweetBlueThreadHandler(<any>) - Static method in class com.idevicesinc.sweetblue.rx.plugins.RxSweetBluePlugins
 
setInstanceId(int) - Method in class com.idevicesinc.sweetblue.BleCharacteristic
 
setInstanceId(int) - Method in class com.idevicesinc.sweetblue.BleService
 
setInstanceId(int) - Method in interface com.idevicesinc.sweetblue.utils.UsesInstanceId
 
setInt(int) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set an int to be written.
setInt(int) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Set an int to be written.
setInt(int) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set an int to be written.
setInt(int) - Method in class com.idevicesinc.sweetblue.BleWrite
Set an int to be written.
setIsBigEndian(boolean) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Tells SweetBlue the endianness of the BLE device you want to perform a write to.
setIsBigEndian(boolean) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Tells SweetBlue the endianness of the BLE device you want to perform a write to.
setIsBigEndian(boolean) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Tells SweetBlue the endianness of the BLE device you want to perform a write to.
setIsBigEndian(boolean) - Method in class com.idevicesinc.sweetblue.BleWrite
Tells SweetBlue the endianness of the BLE device you want to perform a write to.
setIsForcedRemoteDisconnect(boolean) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setListener_Advertising(AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleManager
Set a listener here to be notified of the result of starting to advertise.
setListener_Advertising(AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleServer
 
setListener_Advertising(AdvertisingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Set a listener here to be notified of the result of starting to advertise.
setListener_Advertising(AdvertisingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
setListener_Assert(AssertListener) - Method in class com.idevicesinc.sweetblue.BleManager
Set a listener here to be notified whenever BleManager.ASSERT(boolean) fails.
setListener_Assert(AssertListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Set a listener here to be notified whenever P_BleManagerImpl.ASSERT(boolean) fails.
setListener_Bond(BondListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Set a listener here to be notified whenever a bond attempt succeeds.
setListener_Bond(BondListener) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to set a default back up listener for all BondListener.BondEvents across all BleDevice instances.
setListener_Bond(BondListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setListener_Bond(BondListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to set a default back up listener for all BondListener.BondEvents across all BleDevice instances.
setListener_Connect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Set a listener here to be notified whenever this device connects, or gets disconnected.
setListener_Connect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setListener_Connect(ServerConnectListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Set a listener here to be notified whenever this server's clients state changes eg.
setListener_DeviceConnect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to handle BleDevice connect events at a manager level.
setListener_DeviceConnect(DeviceConnectListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
setListener_DeviceReconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to handle connection fail events at the manager level.
setListener_DeviceReconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to handle connection fail events at the manager level.
setListener_DeviceState(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to listen for all changes in BleDeviceState for all devices.
setListener_DeviceState(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to listen for all changes in BleDeviceState for all devices.
setListener_Discovery(DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
Set a listener here to be notified whenever a BleDevice is discovered, rediscovered, or undiscovered.
setListener_Discovery(DiscoveryListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Set a listener here to be notified whenever a BleDevice is discovered, rediscovered, or undiscovered.
setListener_HistoricalDataLoad(HistoricalDataLoadListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Sets a default backup HistoricalDataLoadListener that will be invoked for all historical data loads to memory for all uuids.
setListener_HistoricalDataLoad(HistoricalDataLoadListener) - Method in class com.idevicesinc.sweetblue.BleManager
Sets a default backup HistoricalDataLoadListener that will be invoked for all historical data loads to memory for all uuids for all devices.
setListener_HistoricalDataLoad(HistoricalDataLoadListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setListener_HistoricalDataLoad(HistoricalDataLoadListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Sets a default backup HistoricalDataLoadListener that will be invoked for all historical data loads to memory for all uuids for all devices.
setListener_Incoming(IncomingListener) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to handle server request events at the manager level.
setListener_Incoming(IncomingListener) - Method in class com.idevicesinc.sweetblue.BleServer
Set a listener here to override any listener provided previously.
setListener_Incoming(IncomingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to handle server request events at the manager level.
setListener_Incoming(IncomingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Set a listener here to override any listener provided previously.
setListener_Incoming(IncomingListener) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Set a listener here to override any listener provided previously.
setListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Sets a default NotificationListener that will be called when receiving notifications, or indications.
setListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.BleManager
 
setListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setListener_Notification(NotificationListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
setListener_Outgoing(OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to listen for completion of all outgoing messages from BleServer instances.
setListener_Outgoing(OutgoingListener) - Method in class com.idevicesinc.sweetblue.BleServer
This is a default catch-all convenience listener that will be called after any listener provided through the static methods of IncomingListener.Please such as IncomingListener.Please.respondWithSuccess(OutgoingListener).
setListener_Outgoing(OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to listen for completion of all outgoing messages from BleServer instances.
setListener_Outgoing(OutgoingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
 
setListener_Read_Write(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleManager
Sets a default backup ReadWriteListener that will be called for all BleDevice instances.
setListener_Read_Write(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Sets a default backup ReadWriteListener that will be called for all BleDevice instances.
setListener_ReadWrite(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
setListener_ReadWrite(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleDevice
Set a listener here to be notified whenever a connection fails and to have control over retry behavior.
setListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setListener_Reconnect(DeviceReconnectFilter) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Set a listener here to be notified whenever a connection fails and to have control over retry behavior.
setListener_ReconnectFilter(ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleServer
Set a listener here to override any listener provided previously.
setListener_ReconnectFilter(ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Set a listener here to override any listener provided previously.
setListener_ReconnectFilter(ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Set a listener here to override any listener provided previously.
setListener_ServerConnect(ServerConnectListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to listener for all server connections.
setListener_ServerReconnectFilter(ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to handle server connection fail events at the manager level.
setListener_ServerReconnectFilter(ServerReconnectFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to handle server connection fail events at the manager level.
setListener_ServerState(ServerStateListener) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to listen for all changes in BleServerState for all servers.
setListener_ServerState(ServerStateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to listen for all changes in BleServerState for all servers.
setListener_ServiceAdd(AddServiceListener) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to listen for all service addition events for all servers.
setListener_ServiceAdd(AddServiceListener) - Method in class com.idevicesinc.sweetblue.BleServer
Set a listener here to override any listener provided previously and provide a default backup that will be called after any listener provided to BleServer.addService(BleService, AddServiceListener).
setListener_ServiceAdd(AddServiceListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to listen for all service addition events for all servers.
setListener_ServiceAdd(AddServiceListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Set a listener here to override any listener provided previously and provide a default backup that will be called after any listener provided to P_BleServerImpl.addService(BleService, AddServiceListener).
setListener_State(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Set a listener here to be notified whenever this device's state changes.
setListener_State(ManagerStateListener) - Method in class com.idevicesinc.sweetblue.BleManager
Set a listener here to be notified whenever this manager's BleManagerState changes.
setListener_State(ServerStateListener) - Method in class com.idevicesinc.sweetblue.BleServer
Set a listener here to be notified whenever this server's state changes in relation to a specific client.
setListener_State(DeviceStateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setListener_State(ManagerStateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Set a listener here to be notified whenever this manager's BleManagerState changes.
setListener_State(ServerStateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Set a listener here to be notified whenever this server's state changes in relation to a specific client.
setListener_TaskState(PA_Task.I_StateListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
setListener_UhOh(UhOhListener) - Method in class com.idevicesinc.sweetblue.BleManager
Set a listener here to be notified whenever we encounter an UhOhListener.UhOh.
setListener_UhOh(UhOhListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
setLogListener(DebugLogger.LogEvent) - Method in class com.idevicesinc.sweetblue.utils.DebugLogger
 
setLong(long) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set a long to be written.
setLong(long) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Set a long to be written.
setLong(long) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set a long to be written.
setLong(long) - Method in class com.idevicesinc.sweetblue.BleWrite
Set a long to be written.
setMainThread(int) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
setManufacturerData(int, byte[]) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set filter on on manufacturerData.
setManufacturerData(int, byte[], byte[]) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set filter on partial manufacture data.
setManufacturerDataList(List<ManufacturerData>) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Sets this BleScanRecord's manufacturer data list.
setMtu(int) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
setMtuToDefault() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
setName(String) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.setName(String, UUID, ReadWriteListener) but will not attempt to propagate the name change to the remote device.
setName(String, UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.setName(String, UUID, ReadWriteListener) but you can use this if you don't care much whether the device name change actually successfully reaches the remote device.
setName(String, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Sets the local name of the device and also attempts a BleDevice.write(java.util.UUID, byte[], ReadWriteListener) using the given UUID.
setName(String) - Method in class com.idevicesinc.sweetblue.BleServer
Set the name you wish this BleServer to be known as.
setName(String) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
setName(String) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
setName(String, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setName(String) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Set the name you wish this BleServer to be known as.
setName(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Same as RxBleDevice.setName(String, UUID) but will not attempt to propagate the name change to the remote device.
setName(String, UUID) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Sets the local name of the device and also attempts a RxBleDevice.write(BleWrite) using the given UUID.
setName(String) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
setName(String) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Sets the name of the bluetooth manager/adaptor.
setName(String) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Overload of BleScanRecord.setName(String, boolean), which defaults to a complete name (not short).
setName(String, boolean) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Set the device name, and if it's a shortened name or not.
setNativeDevice(BluetoothDevice, P_DeviceHolder) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
setNativeDevice(BluetoothDevice, P_DeviceHolder) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
setNativeDevice(BluetoothDevice, P_DeviceHolder) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Internal method used to set the "native" device.
setNotificationListener(NotificationListener) - Method in class com.idevicesinc.sweetblue.BleNotify.Builder
 
setNotificationListener(NotificationListener) - Method in class com.idevicesinc.sweetblue.BleNotify
Set a NotificationListener for this BleNotify.
setNotificationUri(ContentResolver, Uri) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
setOptions(BleScanRecord.Option...) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Set the options for this scan record.
setPermissions(int) - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Set this BleCharacteristic's permissions.
setPermissions(int...) - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Set this BleCharacteristic's permissions.
setPermissions() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Set the permissions for this BleCharacteristic.
setPermissions(int) - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Set this BleDescriptor's permissions.
setPermissions(int...) - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Set this BleDescriptor's permissions.
setPermissions() - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Set the permissions for this BleDescriptor.
setPermissions() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
setPhy(Phy) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
setPhy(Phy) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
setPhy(Phy) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Sets the PHY of the device.
setPhy_private(Phy) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setPhyFailure(BleDevice, Phy, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.setPhyFailure(BleDevice, Phy, int, Interval), which has a delay of 50ms.
setPhyFailure(BleDevice, Phy, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that says a request to change the physical layer (bluetooth 5 feature) failed with the given gatt status code
setPhyLayer(BluetoothGatt, int, int, int) - Static method in class com.idevicesinc.sweetblue.compat.O_Util
 
setPhyOptions(Phy) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.setPhyOptions(Phy, ReadWriteListener), which passes no listener.
setPhyOptions(Phy, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Use this method to manually set the bluetooth 5 physical layer to use a bluetooth 5 feature (high speed/long range).
setPhyOptions(Phy) - Method in class com.idevicesinc.sweetblue.BleTransaction
setPhyOptions(Phy, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
setPhyOptions(Phy, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setPhyOptions(Phy) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Use this method to manually set the bluetooth 5 physical layer to use a bluetooth 5 feature (high speed/long range).
setPhyOptions(Phy) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
setPhySuccess(BleDevice, Phy, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that says a request to change the physical layer (bluetooth 5 feature) was successful, with the given Phy, and the amount of time to delay before the callback is sent.
setPriority(PE_TaskPriority) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setProperties(int) - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Set this BleCharacteristic's properties.
setProperties(int...) - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Set this BleCharacteristic's properties.
setProperties() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Set the properties for this BleCharacteristic.
setProperties() - Method in class com.idevicesinc.sweetblue.utils.CharacteristicPermissions
 
setReadWriteListener(ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleOp
Set the ReadWriteListener for listening to the callback of the operation you wish to perform.
setResultListener(BleSetupHelper.ResultListener) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
This method allows you to change the BleSetupHelper.ResultListener after construction of the enabler
setServiceData(ParcelUuid, byte[]) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set filtering on service data.
setServiceData(ParcelUuid, byte[], byte[]) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set partial filter on service data.
setServicesDiscovered() - Method in class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
 
setServicesDiscovered() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Posts the response of discovering services to the native callback.
setServiceUUID(UUID) - Method in class com.idevicesinc.sweetblue.BleOp
Set the service UUID for this operation.
setServiceUuid(ParcelUuid) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set filter on service uuid.
setServiceUuid(ParcelUuid, ParcelUuid) - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter.Builder
Set filter on partial service uuid.
setShort(short) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set a short to be written.
setShort(short) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Set a short to be written.
setShort(short) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set a short to be written.
setShort(short) - Method in class com.idevicesinc.sweetblue.BleWrite
Set a short to be written.
setState(BleSetupHelper.State) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
setStateToDisconnected(boolean, boolean, PA_StateTracker.E_Intent, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setString(String, String) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set a string to be written.
setString(String) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite.Builder
Set a string to be written.
setString(String, String) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Set a string to be written.
setString(String) - Method in class com.idevicesinc.sweetblue.BleDescriptorWrite
Set a string to be written.
setString(String, String) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set a string to be written.
setString(String) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set a string to be written.
setString(String, String) - Method in class com.idevicesinc.sweetblue.BleWrite
Set a string to be written.
setString(String) - Method in class com.idevicesinc.sweetblue.BleWrite
Set a string to be written.
setSweetBlueThreadHandler(<any>) - Static method in class com.idevicesinc.sweetblue.rx.plugins.RxSweetBluePlugins
 
setThreadLocalTransaction(IBleTransaction) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setTimeoutFor(Interval) - Static method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.Please
Tells SweetBlue to wait for the given interval before timing out the task.
setTimeTrackerSetting(TimeTrackerSetting) - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
setTiming(DeviceReconnectFilter.Timing) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setToAdvertising(BleManager, AdvertiseSettings, L_Util.AdvertisingCallback) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
setToAdvertising(BleManager, AdvertiseSettings, L_Util.AdvertisingCallback, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
setToAlwaysUseAutoConnectIfItWorked() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
setToBonded() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
setToBonding() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
setToConnected() - Method in class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
 
setToConnected() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
This sets the device state to CONNECTED, and posts the "native" callback
setToConnected(BleDevice) - Static method in class com.idevicesinc.sweetblue.Util_Native
setToConnected(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.setToConnected(BleDevice, int, Interval), which delays the callback by 50ms.
setToConnected(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.setToConnected(BleDevice, int, boolean, Interval) which updates the internal state as well.
setToConnected(BleDevice, int, boolean, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback to set a device's state to BluetoothProfile.STATE_CONNECTED, with the given gattStatus, whether or not to update the internal state, and delay the callback by the amount specified.
setToConnected(BleServer, String, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback to set the server's state to BluetoothProfile.STATE_CONNECTED, with the given gattStatus, and delay the callback by the amount specified.
setToConnecting() - Method in class com.idevicesinc.sweetblue.ConnectFailBluetoothGatt
 
setToConnecting() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
This sets the device state to CONNECTING, and posts the "native" callback
setToConnecting(BleDevice) - Static method in class com.idevicesinc.sweetblue.Util_Native
setToConnecting(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.setToConnecting(BleDevice, int, Interval) which delays the callback by 50ms.
setToConnecting(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.setToConnecting(BleDevice, int, boolean, Interval) which updates the internal state as well.
setToConnecting(BleDevice, int, boolean, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback to set a device's state to BluetoothProfile.STATE_CONNECTING, with the given gattStatus, whether or not to update the internal state, and delay the callback by the amount specified.
setToConnecting(BleServer, String, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback to set the server's state to BluetoothProfile.STATE_CONNECTING, with the given gattStatus, and delay the callback by the amount specified.
setToDisconnected(BleDevice) - Static method in class com.idevicesinc.sweetblue.Util_Native
setToDisconnected(BleDevice, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.setToDisconnected(BleDevice, int, Interval) which delays the callback by 50ms.
setToDisconnected(BleDevice, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.setToDisconnected(BleDevice, int, boolean, Interval) which sets the device's internal state.
setToDisconnected(BleDevice, int, boolean, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback to set a device's state to BluetoothProfile.STATE_DISCONNECTED, with the given gattStatus, whether or not to update the internal state, and delay the callback by the amount specified.
setToDisconnected(BleServer, String, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback to set the server's state to BluetoothProfile.STATE_DISCONNECTED, with the given gattStatus, and delay the callback by the amount specified.
setToOff() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
setToOn() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
setToTurningOff() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
setToTurningOn() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
setToUnBonded() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
setTxnFailReason(ReadWriteListener.ReadWriteEvent) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setTxPower(byte) - Method in class com.idevicesinc.sweetblue.utils.BleScanRecord
Set the TX power
setUndiscoverAfter(boolean) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
setUnitTest(BleManagerConfig, boolean) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
setup() - Method in class com.idevicesinc.sweetblue.SweetUnitTest
This method is called before every test.
setUpdateThread(int) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
setValue(byte[]) - Method in class com.idevicesinc.sweetblue.utils.CharacteristicBuilder
Set the default value for this BleCharacteristic.
setValue(byte[]) - Method in class com.idevicesinc.sweetblue.utils.DescriptorBuilder
Set the value held in this BleDescriptor.
setWriteType(ReadWriteListener.Type) - Method in class com.idevicesinc.sweetblue.BleWrite.Builder
Set the ReadWriteListener.Type of the write to perform.
setWriteType(ReadWriteListener.Type) - Method in class com.idevicesinc.sweetblue.BleWrite
Set the ReadWriteListener.Type of the write to perform.
shallowDiffJSONObjects(JSONObject, JSONObject) - Static method in class com.idevicesinc.sweetblue.utils.P_JSONUtil
 
SHORT_TERM_ATTEMPT_RATE - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
SHORT_TERM_ATTEMPT_RATE - Static variable in class com.idevicesinc.sweetblue.ReconnectFilter.DefaultNullReconnectFilter
 
SHORT_TERM_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.defaults.DefaultReconnectFilter
 
SHORT_TERM_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.ReconnectFilter.DefaultNullReconnectFilter
 
shouldBeReportedToUser() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
shouldBeReportedToUser() - Method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Status
Convenience method that returns whether this status is something that your app user would usually care about.
shouldBeReportedToUser() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
shouldBeReportedToUser() - Method in enum com.idevicesinc.sweetblue.ServerReconnectFilter.Status
Convenience method that returns whether this status is something that your app user would usually care about.
shouldBreak() - Method in class com.idevicesinc.sweetblue.utils.ForEach_Breakable.Please
 
shouldContinue() - Method in class com.idevicesinc.sweetblue.utils.ForEach_Breakable.Please
 
shouldPersist(ReconnectFilter.ConnectionLostPlease) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
shouldRetry(BondRetryFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
shouldShowRequestPermissionRationale(Activity) - Static method in class com.idevicesinc.sweetblue.compat.M_Util
 
shouldShowRequestPermissionRationale(Activity) - Static method in class com.idevicesinc.sweetblue.compat.PermissionsCompat
Safely wraps Activity.shouldShowRequestPermissionRationale(String) behind API level checks Android 8 - 9 use Manifest.permission.ACCESS_COARSE_LOCATION, whereas Android 10 and above use Manifest.permission.ACCESS_FINE_LOCATION
shouldShowRequestPermissionRationale(Activity) - Static method in class com.idevicesinc.sweetblue.compat.Q_Util
 
shouldTryBondingWhileDisconnected(BleDevice) - Method in class com.idevicesinc.sweetblue.internal.P_DisconnectReason
 
shouldTryConnectionBugFix(BondFilter.ConnectionBugEvent.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
shouldUseAutoConnect() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
showDialog(BleSetupHelper.PermissionInstance, String, String, String, DialogInterface.OnClickListener, DialogInterface.OnDismissListener) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
This method is responsible for creating and showing a dialog to the user.
showToast(BleSetupHelper.PermissionInstance, String) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper.BluetoothEnablerImpl
This method is responsible for showing a toast to the user.
showUIToEnable(BleSetupHelper.PermissionInstance) - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
 
shutdown() - Method in class com.idevicesinc.sweetblue.BleManager
Disconnects all devices, shuts down the BleManager, and it's backing thread, and unregisters any receivers that may be in use.
shutdown() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Disconnects all devices, shuts down the BleManager, and it's backing thread, and unregisters any receivers that may be in use.
shutdown() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Disconnects all devices, shuts down the BleManager, and it's backing thread, and unregisters any receivers that may be in use.
shutdown() - Method in class com.idevicesinc.sweetblue.rx.schedulers.SweetBlueScheduler
 
signed_write() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
signed_write() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
signed_write_mitm() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
simulateBleTurningOff(BleManager, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
simulateBleTurningOff(BleManager, Interval, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
simulateBleTurningOn(BleManager, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
simulateBleTurningOn(BleManager, Interval, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Convenience method to simulate BLE being turned on.
since(long) - Static method in class com.idevicesinc.sweetblue.utils.Interval
Returns a new Interval representing the time since the given past epoch time, using System.currentTimeMillis().
SingleElementIterator<T> - Class in com.idevicesinc.sweetblue.utils
Convenience class for implementing an Iterator with a single element.
SingleElementIterator(T) - Constructor for class com.idevicesinc.sweetblue.utils.SingleElementIterator
 
SingleSubscriber - Annotation Type in com.idevicesinc.sweetblue.rx.annotations
Annotation that dictates that an Observable should only ever have a single subscription.
SINGLETON - Static variable in class com.idevicesinc.sweetblue.utils.EmptyCursor
Singleton value, safe to reuse.
size() - Method in class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
skipNext() - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
Skip the next BluetoothEnabler.BluetoothEnablerFilter.Stage and move the following one.
softlyCancelTasks(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
SOFTWARE_REVISION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
solicited() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
This returns true if this event was the result of an explicit call through SweetBlue, e.g.
solicited() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
This returns true if this event was the result of an explicit call through SweetBlue, e.g.
solicited() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
This returns true if this event was the result of an explicit call through SweetBlue, e.g.
solicited() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
This returns true if this event was the result of an explicit call through SweetBlue, e.g.
solicited() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
solicited() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
solicited() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
source() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
The source of the data - read, notify, etc.
SPORT_TYPE_FOR_AEROBIC_AND_ANAEROBIC_THRESHOLDS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
StablePriorityQueue<E> - Class in com.idevicesinc.sweetblue.utils
 
StablePriorityQueue() - Constructor for class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
StablePriorityQueue(int) - Constructor for class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
StablePriorityQueue(int, Comparator<? super E>) - Constructor for class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
StablePriorityQueue(Collection<? extends E>) - Constructor for class com.idevicesinc.sweetblue.utils.StablePriorityQueue
 
stackTrace() - Method in class com.idevicesinc.sweetblue.AssertListener.AssertEvent
Stack trace leading up to the assert.
stackTrace() - Method in class com.idevicesinc.sweetblue.rx.RxAssertEvent
stage() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns the BluetoothEnabler.BluetoothEnablerFilter.Stage associated with this event.
STAIR_CLIMBER_DATA - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
STANDARD_UUID_TEMPLATE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
The template for standard services, characteristics, and descriptors - see https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx This is used to generate some of the other static UUID instances in this class using Uuids.fromShort(String, String).
start() - Method in class com.idevicesinc.sweetblue.BleTransaction
Implement this method to kick off your transaction.
start() - Method in class com.idevicesinc.sweetblue.BleWriteTransaction
Starts the transaction.
start() - Method in interface com.idevicesinc.sweetblue.P_Bridge_User.TransactionHolder
 
start() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
 
start() - Method in class com.idevicesinc.sweetblue.utils.BleSetupHelper
This method starts the enabler.
start(Context) - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Overload of BluetoothEnabler.start(Activity) but given Context must be an Activity.
start(Context, BluetoothEnabler.BluetoothEnablerFilter) - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Overload of BluetoothEnabler.start(Activity, BluetoothEnablerFilter) but given Context must be an Activity.
start(Activity) - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
start(Activity, BluetoothEnabler.BluetoothEnablerFilter) - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler
Deprecated.
Kicks off the complex flow needed to fully enable Bluetooth on Build versions greater than or equal to Build.VERSION_CODES.M.
start(String) - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
start(String, long) - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
startAdvertising(UUID) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID[]) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID[], AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID, byte[], BleScanRecord.Option...) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID, BleScanRecord.Option...) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID[], BleScanRecord.Option...) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID, BleAdvertisingSettings, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(UUID[], BleAdvertisingSettings, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(BleScanRecord) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(BleScanRecord, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleServer
startAdvertising(BleScanRecord, BleAdvertisingSettings, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.BleServer
Starts advertising serviceUuids with the information supplied in BleScanRecord.
startAdvertising(BluetoothAdapter, AdvertiseSettings, AdvertiseData, L_Util.AdvertisingCallback) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
startAdvertising(AdvertiseSettings, AdvertiseData, L_Util.AdvertisingCallback) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
startAdvertising(AdvertiseSettings, AdvertiseData, L_Util.AdvertisingCallback) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
startAdvertising(BleScanRecord, BleAdvertisingSettings, AdvertisingListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Starts advertising serviceUuids with the information supplied in BleScanRecord.
startAdvertising(BleScanRecord) - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
startAdvertising(AdvertiseSettings, AdvertiseData, L_Util.AdvertisingCallback) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called by the system when the library wants the manager/adaptor to advertise over bluetooth.
startChangeTrackingPoll(UUID[], Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Convenience to call BleDevice.startChangeTrackingPoll(java.util.UUID, Interval, ReadWriteListener) for multiple characteristic uuids all at once.
startChangeTrackingPoll(UUID[], Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
startChangeTrackingPoll(Iterable<UUID>, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Convenience to call BleDevice.startChangeTrackingPoll(java.util.UUID, Interval, ReadWriteListener) for multiple characteristic uuids all at once.
startChangeTrackingPoll(Iterable<UUID>, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
startChangeTrackingPoll(UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.startPoll(UUID, Interval, ReadWriteListener) but only invokes a callback when a change in the characteristic value is detected.
startChangeTrackingPoll(UUID, UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.startChangeTrackingPoll(UUID, Interval, ReadWriteListener) for when you have characteristics with identical uuids under different services.
startChangeTrackingPoll(UUID, UUID, DescriptorFilter, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.startChangeTrackingPoll(UUID, UUID, Interval, ReadWriteListener) for when you have characteristics with identical uuids under the same service.
startChangeTrackingPoll(BleRead, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Similar to BleDevice.startPoll(BleRead, Interval) but only invokes a callback when a change in the characteristic value is detected.
startChangeTrackingPoll(BleOp, Interval) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
startChangeTrackingPoll(UUID, Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
startChangeTrackingPoll(UUID, UUID, Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
startChangeTrackingPoll(UUID, UUID, DescriptorFilter, Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Similar to RxBleDevice.startPoll(UUID, Interval) but only invokes a callback when a change in the characteristic value is detected.
startDiscovery() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
startDiscovery() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
startDiscovery() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called by the library when it wants to start bluetooth classic discovery.
startLeScan(BluetoothAdapter.LeScanCallback) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
startLeScan(BluetoothAdapter.LeScanCallback) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
startLeScan(BluetoothAdapter.LeScanCallback) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when the library wants to start a pre-lollipop scan.
startLScan(int, Interval, L_Util.ScanCallback) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
startLScan(int, Interval, L_Util.ScanCallback) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
startLScan(int, Interval, L_Util.ScanCallback) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when the library wants to start a post-lollipop scan (Lollipop only).
startMScan(int, Interval, L_Util.ScanCallback) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
startMScan(int, Interval, L_Util.ScanCallback) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
startMScan(int, Interval, L_Util.ScanCallback) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when the library wants to start a post-lollipop scan on marshmallow or above.
startNativeScan(BluetoothAdapter, int, Interval, List<NativeScanFilter>, L_Util.ScanCallback) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
startNativeScan(BluetoothAdapter, int, Interval, List<NativeScanFilter>, L_Util.ScanCallback) - Static method in class com.idevicesinc.sweetblue.compat.M_Util
 
startPendingIntentScan(int, Interval, PendingIntent) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
startPendingIntentScan(int, Interval, PendingIntent) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
startPendingIntentScan(int, Interval, PendingIntent) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when the library wants to start a BLE scan using a PendingIntent to deliver scan results.
startPeriodicScan(Interval, Interval) - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
use BleManager.startScan(ScanOptions) instead. This method will be removed in v3.1. Manually starts a periodic scan.
startPeriodicScan(Interval, Interval, DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
startPeriodicScan(Interval, Interval, ScanFilter) - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
use BleManager.startScan(ScanOptions) instead. This method will be removed in v3.1. Same as BleManager.startPeriodicScan(Interval, Interval) but adds a filter too.
startPeriodicScan(Interval, Interval, ScanFilter, DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
use BleManager.startScan(ScanOptions) instead. This method will be removed in v3.1. Same as BleManager.startPeriodicScan(Interval, Interval) but calls BleManager.setListener_Discovery(DiscoveryListener) for you too and adds a filter.
startPeriodicScan(Interval, Interval, ScanFilter, ScanFilter.ApplyMode, DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
use BleManager.startScan(ScanOptions) instead. This method will be removed in v3.1. Same as BleManager.startPeriodicScan(Interval, Interval) but calls BleManager.setListener_Discovery(DiscoveryListener) for you too and adds a filter and a filter mode.
startPoll(UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Starts a periodic read of a particular characteristic.
startPoll(UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
startPoll(UUID, UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.startPoll(UUID, Interval, ReadWriteListener) for when you have characteristics with identical uuids under different services.
startPoll(UUID, UUID, DescriptorFilter, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.startPoll(UUID, UUID, Interval, ReadWriteListener) for when you have characteristics with identical uuids under the same service.
startPoll(BleRead, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Starts a periodic read of a particular characteristic.
startPoll(UUID, UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.startPoll(UUID, Interval) for when you have characteristics with identical uuids under different services.
startPoll(UUID[], Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Convenience to call BleDevice.startPoll(java.util.UUID, Interval, ReadWriteListener) for multiple characteristic uuids all at once.
startPoll(UUID[], Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
startPoll(Iterable<UUID>, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Convenience to call BleDevice.startPoll(java.util.UUID, Interval, ReadWriteListener) for multiple characteristic uuids all at once.
startPoll(Iterable<UUID>, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
startPoll(BleOp, Interval) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
startPoll(UUID, Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
startPoll(UUID, UUID, Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
startPoll(UUID[], Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
startPoll(Iterable<UUID>, Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
startPoll(UUID, UUID, DescriptorFilter, Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Starts a periodic read of a particular characteristic.
startRssiPoll(Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.startPoll(UUID, Interval, ReadWriteListener) but for when you don't care when/if the RSSI is actually updated.
startRssiPoll(Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Kicks off a poll that automatically calls BleDevice.readRssi(ReadWriteListener) at the Interval frequency specified.
startRssiPoll(Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
startRssiPoll(Interval) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Kicks off a poll that automatically calls RxBleDevice.readRssi() at the Interval frequency specified.
startScan() - Method in class com.idevicesinc.sweetblue.BleManager
Starts a scan that will continue indefinitely until BleManager.stopScan() is called.
startScan(ScanFilter) - Method in class com.idevicesinc.sweetblue.BleManager
startScan(DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
startScan(Interval, ScanFilter) - Method in class com.idevicesinc.sweetblue.BleManager
startScan(Interval, DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
startScan(ScanFilter, DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
startScan(Interval) - Method in class com.idevicesinc.sweetblue.BleManager
Starts a scan that will generally last for the given time (roughly).
startScan(Interval, ScanFilter, DiscoveryListener) - Method in class com.idevicesinc.sweetblue.BleManager
startScan(ScanOptions) - Method in class com.idevicesinc.sweetblue.BleManager
 
startScan(BluetoothAdapter, int, Interval, List<NativeScanFilter>, PendingIntent) - Static method in class com.idevicesinc.sweetblue.compat.O_Util
 
startScan(ScanOptions) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
startTxn(BleDevice) - Method in interface com.idevicesinc.sweetblue.internal.IBleTransaction.Callback
 
State - Interface in com.idevicesinc.sweetblue.utils
Bitwise enum contract for representing the state of devices and managers.
State.ChangeEvent<T_State extends State> - Class in com.idevicesinc.sweetblue.utils
State.ChangeIntent - Enum in com.idevicesinc.sweetblue.utils
Enumerates the intention behind a state change - as comprehensively as possible, whether the application user intended for the state change to happen or not.
STATE_BLE_ON - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the local Bluetooth adapter is in LE only mode.
STATE_BLE_TURNING_OFF - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the local Bluetooth adapter is turning off LE only mode.
STATE_BLE_TURNING_ON - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the local Bluetooth adapter is turning Bluetooth LE mode on.
STATE_CONNECTED - Static variable in class com.idevicesinc.sweetblue.internal.android.ProfileConst
 
STATE_CONNECTING - Static variable in class com.idevicesinc.sweetblue.internal.android.ProfileConst
 
STATE_DISCONNECTED - Static variable in class com.idevicesinc.sweetblue.internal.android.GattConst
 
STATE_DISCONNECTED - Static variable in class com.idevicesinc.sweetblue.internal.android.ProfileConst
 
STATE_DISCONNECTING - Static variable in class com.idevicesinc.sweetblue.internal.android.ProfileConst
 
STATE_OFF - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the local Bluetooth adapter is off.
STATE_OFF - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
STATE_ON - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the local Bluetooth adapter is on, and ready for use.
STATE_ON - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
STATE_TURNING_OFF - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the local Bluetooth adapter is turning off.
STATE_TURNING_OFF - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
STATE_TURNING_ON - Static variable in class com.idevicesinc.sweetblue.BleStatuses
Indicates the local Bluetooth adapter is turning on.
STATE_TURNING_ON - Static variable in class com.idevicesinc.sweetblue.internal.android.AdapterConst
 
staticFieldValue(Field) - Static method in class com.idevicesinc.sweetblue.utils.Utils_Reflection
 
status() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
Indicates the success or reason for failure for adding the service.
status() - Method in class com.idevicesinc.sweetblue.AdvertisingListener.AdvertisingEvent
status() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
The BondListener.Status associated with this event.
status() - Method in class com.idevicesinc.sweetblue.BondRetryFilter.RetryEvent
Returns the BondRetryFilter.Status of the bond attempt.
status() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
General reason why the connection failed.
status() - Method in class com.idevicesinc.sweetblue.HistoricalDataLoadListener.HistoricalDataLoadEvent
The general status of the load operation.
status() - Method in class com.idevicesinc.sweetblue.HistoricalDataQueryListener.HistoricalDataQueryEvent
The general status of the query operation.
status() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Indicates either success or the type of failure.
status() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
status() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Indicates either success or the type of failure.
status() - Method in class com.idevicesinc.sweetblue.rx.RxAdvertisingEvent
status() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
status() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
status() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
General reason why the connection failed.
status() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
Returns the BluetoothEnabler.BluetoothEnablerFilter.Status of the current Stage.
STEP_CLIMBER_DATA - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
stop() - Static method in class com.idevicesinc.sweetblue.BleWriteTransaction.FailListener.Please
Stops the transaction, and clears all remaining writes from the queue.
stop() - Static method in class com.idevicesinc.sweetblue.BondRetryFilter.Please
Tells SweetBlue not to retry bonding to the device.
stop() - Static method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
Bypass all remaining stages and move to the end of the last stage; enabler will finish at this point
stop(String) - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
stopAdvertising() - Method in class com.idevicesinc.sweetblue.BleServer
Stops the server from advertising.
stopAdvertising(BluetoothAdapter) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
stopAdvertising() - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
stopAdvertising() - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
stopAdvertising() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Stops the server from advertising.
stopAdvertising() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
 
stopAdvertising() - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called by the library when it wants to stop the BleServer from advertising.
stopAllScanning() - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
use BleManager.stopScan() or BleManager.stopScan(ScanFilter) instead. This method will be removed in v3.1. Convenience that will call both BleManager.stopPeriodicScan() and BleManager.stopScan() for you.
stopAllScanning() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Deprecated.
use RxBleManager.stopScan() or RxBleManager.stopScan(ScanFilter) instead. This method will be removed in v3.1. Convenience that will call both BleManager.stopPeriodicScan() and BleManager.stopScan() for you. This is here as a stop-gap in the off chance the scan doesn't stop when you dispose the Flowable returned from RxBleManager.scan(ScanOptions).
stopIf(boolean) - Static method in class com.idevicesinc.sweetblue.BondRetryFilter.Please
Tells SweetBlue not to retry bonding to the device, if the provided condition is true.
stopLeScan(BluetoothAdapter.LeScanCallback) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
stopLeScan(BluetoothAdapter.LeScanCallback) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
stopLeScan(BluetoothAdapter.LeScanCallback) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when the system wants to stop an LE scan.
stopNativeScan(BluetoothAdapter) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
stopPendingIntentScan(PendingIntent) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothManager
 
stopPendingIntentScan(PendingIntent) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothManager
 
stopPendingIntentScan(PendingIntent) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called when the system wants to stop a PendingIntent scan.
stopPeriodicScan(ScanFilter) - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
use BleManager.stopScan() or BleManager.stopScan(ScanFilter) instead. This method will be removed in v3.1. Same as BleManager.stopPeriodicScan() but will also unregister any ScanFilter provided through BleManager.startPeriodicScan(Interval, Interval, ScanFilter) or other overloads.
stopPeriodicScan() - Method in class com.idevicesinc.sweetblue.BleManager
Deprecated.
use BleManager.stopScan() or BleManager.stopScan(ScanFilter) instead. This method will be removed in v3.1. Stops a periodic scan previously started explicitly with BleManager.startPeriodicScan(Interval, Interval).
stopPeriodicScan(ScanFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
Deprecated.
stopPoll(UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
stopPoll(UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
stopPoll(UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Same as BleDevice.stopPoll(UUID, ReadWriteListener) but with added filtering for the poll Interval.
stopPoll(UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
stopPoll(UUID, UUID, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.stopPoll(UUID, ReadWriteListener) for when you have characteristics with identical uuids under different services.
stopPoll(UUID, UUID) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.stopPoll(UUID) for when you have characteristics with identical uuids under different services.
stopPoll(UUID, UUID, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.stopPoll(UUID, Interval, ReadWriteListener) for when you have characteristics with identical uuids under different services.
stopPoll(UUID, UUID, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.stopPoll(UUID, Interval) for when you have characteristics with identical uuids under different services.
stopPoll(UUID, UUID, DescriptorFilter, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Overload of BleDevice.stopPoll(UUID, UUID, Interval, ReadWriteListener) for when you have characteristics with identical uuids under the same service.
stopPoll(BleRead, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Stop a poll with the given BleRead, and interval.
stopPoll(UUID[], Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
stopPoll(UUID[], Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Calls BleDevice.stopPoll(java.util.UUID, Interval) multiple times for you.
stopPoll(UUID[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Calls BleDevice.stopPoll(java.util.UUID) multiple times for you.
stopPoll(Iterable<UUID>, Interval, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
stopPoll(Iterable<UUID>, Interval) - Method in class com.idevicesinc.sweetblue.BleDevice
Calls BleDevice.stopPoll(java.util.UUID, Interval) multiple times for you.
stopPoll(Iterable<UUID>) - Method in class com.idevicesinc.sweetblue.BleDevice
Calls BleDevice.stopPoll(java.util.UUID) multiple times for you.
stopPoll(BleOp, Interval) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
stopRetrying() - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
Return this from ReconnectFilter.onConnectionLost(ConnectionLostEvent) to stop a reconnect attempt loop.
stopRetryingIf(boolean) - Static method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostPlease
stopRssiPoll() - Method in class com.idevicesinc.sweetblue.BleDevice
stopRssiPoll() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
stopScan() - Method in class com.idevicesinc.sweetblue.BleManager
Stops any scans previously started by BleManager.startScan().
stopScan(ScanFilter) - Method in class com.idevicesinc.sweetblue.BleManager
Same as BleManager.stopScan() but also unregisters any filter supplied to various overloads of BleManager.startScan().
stopScan(PendingIntent) - Method in class com.idevicesinc.sweetblue.BleManager
Stops a PendingIntent scan; you can initiate one by supplying your PendingIntent instance to the ScanOptions class via ScanOptions.withPendingIntent(PendingIntent).
stopScan(BluetoothAdapter, PendingIntent) - Static method in class com.idevicesinc.sweetblue.compat.O_Util
 
stopScan() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
stopScan(ScanFilter) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
stopScan(PendingIntent) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
stopScan(PA_StateTracker.E_Intent) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
stopScan(ScanFilter.Please) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
stopScan() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
stopScan(ScanFilter) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Same as RxBleManager.stopScan() but also unregisters any filter supplied to various overloads of RxBleManager.scan().
stopScan(PendingIntent) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Stops a PendingIntent scan; you can initiate one by supplying your PendingIntent instance to the ScanOptions class via ScanOptions.withPendingIntent(PendingIntent).
stopScanOnPause - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is true - makes it so BleManager.stopScan() is called automatically after BleManager.onPause().
stringToByteArray(String) - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
 
stringToObject(String) - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDisplayType
 
succeed() - Method in class com.idevicesinc.sweetblue.BleTransaction.Ota
 
succeed() - Method in class com.idevicesinc.sweetblue.BleTransaction
Call this from subclasses to indicate that the transaction has succeeded.
succeed() - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Call this from subclasses to indicate that the transaction has succeeded.
succeedDiscoverServices(BleDevice) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
success() - Method in enum com.idevicesinc.sweetblue.MtuTestCallback.TestResult.Result
 
SUPPORTED_HEART_RATE_RANGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SUPPORTED_INCLINATION_RANGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SUPPORTED_NEW_ALERT_CATEGORY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SUPPORTED_POWER_RANGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SUPPORTED_RESISTANCE_LEVEL_RANGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SUPPORTED_SPEED_RANGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
SUPPORTED_UNREAD_ALERT_CATEGORY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
suspendQueue(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
sweetBlueEnabled() - Method in class com.idevicesinc.sweetblue.LogOptions
 
sweetBlueEnabled(int) - Method in class com.idevicesinc.sweetblue.LogOptions
 
SweetBlueScheduler - Class in com.idevicesinc.sweetblue.rx.schedulers
 
SweetBlueSchedulers - Class in com.idevicesinc.sweetblue.rx.schedulers
SweetBlue specific schedulers.
sweetBlueThread() - Static method in class com.idevicesinc.sweetblue.rx.schedulers.SweetBlueSchedulers
A Scheduler which executes actions on SweetBlue's update thread.
SweetLogger - Interface in com.idevicesinc.sweetblue
 
SweetUnitTest<A extends android.app.Activity> - Class in com.idevicesinc.sweetblue
Convenience base class for running unit tests involving SweetBlue.
SweetUnitTest() - Constructor for class com.idevicesinc.sweetblue.SweetUnitTest
 
SYSTEM_ID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 

T

target() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The type of GATT object this ExchangeListener.ExchangeEvent is for, characteristic or descriptor.
target() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
The type of GATT object this ReadWriteListener.ReadWriteEvent is for, currently characteristic, descriptor, or rssi.
task() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
The type of task for which we are requesting a timeout.
TaskTimeoutRequestEvent() - Constructor for class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
 
taskTimeoutRequestFilter - Variable in class com.idevicesinc.sweetblue.BleNodeConfig
Default is an instance of BleNodeConfig.DefaultTaskTimeoutRequestFilter - set an implementation here to have fine control over how long individual BleTask instances can take before they are considered "timed out" and failed.
TaskTimeoutRequestFilter - Interface in com.idevicesinc.sweetblue
Provides a way to control timeout behavior for various BleTask instances.
TaskTimeoutRequestFilter.Please - Class in com.idevicesinc.sweetblue
Use static constructor methods to create instances to return from TaskTimeoutRequestFilter.onEvent(TaskTimeoutRequestEvent).
TaskTimeoutRequestFilter.TaskTimeoutRequestEvent - Class in com.idevicesinc.sweetblue
Event passed to TaskTimeoutRequestFilter.onEvent(TaskTimeoutRequestEvent) that provides information about the BleTask that will soon be executed.
TDS_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
tearDown() - Method in class com.idevicesinc.sweetblue.SweetUnitTest
This gets called after every test has run.
TEMPERATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TEMPERATURE_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TEMPERATURE_TYPE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TEN_SECS - Static variable in class com.idevicesinc.sweetblue.utils.Interval
Convenience value representing ten seconds.
thenStopAllScanning() - Method in class com.idevicesinc.sweetblue.ScanFilter.Please
Deprecated.
use ScanFilter.Please.thenStopScan() instead. This method will be removed in v3.1. Shorthand for calling both BleManager.stopScan(ScanFilter) and BleManager.stopPeriodicScan(ScanFilter).
thenStopPeriodicScan() - Method in class com.idevicesinc.sweetblue.ScanFilter.Please
Deprecated.
use ScanFilter.Please.thenStopScan() instead. This method will be removed in v3.1. Shorthand for calling BleManager.stopPeriodicScan(ScanFilter).
thenStopScan() - Method in class com.idevicesinc.sweetblue.ScanFilter.Please
Shorthand for calling BleManager.stopScan(ScanFilter).
ThreadHandler - Class in com.idevicesinc.sweetblue.internal
Class used by the library to post Runnables.
ThreadHandler() - Constructor for class com.idevicesinc.sweetblue.internal.ThreadHandler
Create a new instance of ThreadHandler.
THREE_ZONE_HEART_RATE_LIMITS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TIME_ACCURACY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
time_ota() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Time spent "over the air" - so in the native stack, processing in the peripheral's embedded software, what have you.
time_ota() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Time spent "over the air" - so in the native stack, processing in the peripheral's embedded software, what have you.
time_ota() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
time_ota() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
TIME_SOURCE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
time_total() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
Total time it took for the operation to complete, whether success or failure.
time_total() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
Total time it took for the operation to complete, whether success or failure.
time_total() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
time_total() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
TIME_TRIGGER_SETTING - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TIME_UPDATE_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TIME_UPDATE_STATE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TIME_WITH_DST - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TIME_ZONE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TimeEstimator - Class in com.idevicesinc.sweetblue.utils
A zero-dependency utility class to track running average time of operations and estimate the completion time of long running operations like firmware updates.
TimeEstimator(int, double, int) - Constructor for class com.idevicesinc.sweetblue.utils.TimeEstimator
Lets this class act as a "time remaining" estimator for long-running operations.
TimeEstimator(int) - Constructor for class com.idevicesinc.sweetblue.utils.TimeEstimator
Lets this class act as a utility for calculating the running average completion time of arbitrary operations.
timeForegrounded() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
timeout(ReconnectFilter.ConnectionLostPlease) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
times(Unit<T>) - Method in class com.idevicesinc.sweetblue.utils.Unit
Returns a new instance that is the result of doing this * other.
TimeTracker - Class in com.idevicesinc.sweetblue.utils
 
TimeTracker(TimeTrackerSetting) - Constructor for class com.idevicesinc.sweetblue.utils.TimeTracker
 
TimeTracker.Record - Class in com.idevicesinc.sweetblue.utils
 
timeTrackerSetting - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Controls if we should record/print information about the time taken by the update loop in BleManager and BleDevice
TimeTrackerSetting - Enum in com.idevicesinc.sweetblue
 
timeTurnedOn() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
timing() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
to() - Method in class com.idevicesinc.sweetblue.utils.EpochTimeRange
Returns the "to" date passed into the constructor, or EpochTime.NULL if null was originally passed in.
toBits(BleServerState...) - Static method in enum com.idevicesinc.sweetblue.BleServerState
 
toDate() - Method in class com.idevicesinc.sweetblue.utils.EpochTime
Converts to Java's built-in date class.
toDeviceConfig() - Method in class com.idevicesinc.sweetblue.rx.RxBleManagerConfig
 
toDiskValue() - Method in enum com.idevicesinc.sweetblue.utils.State.ChangeIntent
The integer value to write to disk.
toDiskValue(State.ChangeIntent) - Static method in enum com.idevicesinc.sweetblue.utils.State.ChangeIntent
 
toDouble() - Method in class com.idevicesinc.sweetblue.utils.Percent
Returns the double value of this instance.
toFixed(double) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
toFraction() - Method in class com.idevicesinc.sweetblue.utils.Percent
Returns .5 for 50%, for example.
toHistoricalDataSource() - Method in enum com.idevicesinc.sweetblue.NotificationListener.Type
toHistoricalDataSource() - Method in enum com.idevicesinc.sweetblue.ReadWriteListener.Type
toInt_ceil() - Method in class com.idevicesinc.sweetblue.utils.Percent
int from Math.ceil(double).
toInt_floor() - Method in class com.idevicesinc.sweetblue.utils.Percent
int from Math.floor(double).
toInt_round() - Method in class com.idevicesinc.sweetblue.utils.Percent
int from Math.round(double).
toLScanResult(P_DeviceHolder, int, byte[]) - Static method in class com.idevicesinc.sweetblue.compat.L_Util
 
toMilliseconds() - Method in class com.idevicesinc.sweetblue.utils.EpochTime
Converts to milliseconds since 1970, which is currently also how the value is stored internally.
toSeconds() - Method in class com.idevicesinc.sweetblue.utils.EpochTime
Converts to seconds since 1970.
toString() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
 
toString() - Method in class com.idevicesinc.sweetblue.AdvertisingListener.AdvertisingEvent
 
toString() - Method in class com.idevicesinc.sweetblue.AssertListener.AssertEvent
 
toString() - Method in class com.idevicesinc.sweetblue.BleDevice
Returns the device's name and current state for logging and debugging purposes.
toString() - Method in class com.idevicesinc.sweetblue.BleManager
 
toString() - Method in class com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent
 
toString() - Method in class com.idevicesinc.sweetblue.BleServer
Pretty-prints the list of connecting or connected clients.
toString() - Method in class com.idevicesinc.sweetblue.BondFilter.CharacteristicEvent
 
toString() - Method in class com.idevicesinc.sweetblue.BondFilter.ConnectionBugEvent
 
toString() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
 
toString() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
 
toString() - Method in class com.idevicesinc.sweetblue.DeviceStateListener.StateEvent
 
toString() - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
 
toString() - Method in class com.idevicesinc.sweetblue.HistoricalDataLoadListener.HistoricalDataLoadEvent
 
toString() - Method in class com.idevicesinc.sweetblue.HistoricalDataQueryListener.HistoricalDataQueryEvent
 
toString() - Method in class com.idevicesinc.sweetblue.IncomingListener.IncomingEvent
 
toString() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
toString() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
toString() - Method in class com.idevicesinc.sweetblue.internal.P_BleServerImpl
Pretty-prints the list of connecting or connected clients.
toString() - Method in class com.idevicesinc.sweetblue.internal.P_TaskQueue
 
toString() - Method in class com.idevicesinc.sweetblue.ManagerStateListener.StateEvent
 
toString() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
 
toString() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
 
toString() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
 
toString() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
 
toString() - Method in class com.idevicesinc.sweetblue.ResetListener.ResetEvent
 
toString() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
toString() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
 
toString() - Method in class com.idevicesinc.sweetblue.rx.RxBleServer
Pretty-prints the list of connecting or connected clients.
toString() - Method in class com.idevicesinc.sweetblue.rx.RxEvent
 
toString() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
 
toString() - Method in class com.idevicesinc.sweetblue.ServerReconnectFilter.ConnectFailEvent
 
toString() - Method in class com.idevicesinc.sweetblue.ServerStateListener.StateEvent
 
toString() - Method in class com.idevicesinc.sweetblue.TaskTimeoutRequestFilter.TaskTimeoutRequestEvent
 
toString() - Method in class com.idevicesinc.sweetblue.UhOhListener.UhOhEvent
 
toString() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent
Deprecated.
 
toString() - Method in class com.idevicesinc.sweetblue.utils.Distance
 
toString() - Method in class com.idevicesinc.sweetblue.utils.EpochTime
 
toString() - Method in class com.idevicesinc.sweetblue.utils.HistoricalData
 
toString() - Method in class com.idevicesinc.sweetblue.utils.Interval
 
toString() - Method in class com.idevicesinc.sweetblue.utils.NativeScanFilter
 
toString() - Method in class com.idevicesinc.sweetblue.utils.Percent
 
toString() - Method in class com.idevicesinc.sweetblue.utils.TimeTracker.Record
 
toString(int, State[]) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
toString(Class<?>, Object...) - Static method in class com.idevicesinc.sweetblue.utils.Utils_String
 
toString(byte[]) - Method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDisplayType
 
totalTimeReconnecting() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
The total amount of time since the device disconnected and we started the reconnect process.
TRAINING_STATUS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
transition(String, String) - Method in class com.idevicesinc.sweetblue.utils.TimeTracker
 
TRANSPORT_DISCOVERY_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TREADMILL_DATA - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TRUE_WIND_DIRECTION - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TRUE_WIND_SPEED - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
tryBondingWhileDisconnected - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - some devices can only reliably become BleDeviceState.BONDED while BleDeviceState.BLE_DISCONNECTED, so this option controls whether the library will internally change any bonding flow dictated by BleDeviceConfig.bondFilter when a bond fails and try to bond again the next time the device is BleDeviceState.BLE_DISCONNECTED.
tryBondingWhileDisconnected_manageOnDisk - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Deprecated.
This option will be removed in v3.1. It just adds extra complexity when it's not really needed. If your device needs to be bonded, then set BleDeviceConfig.alwaysBondOnConnect to true, or manually call BleDevice.bond().
tryFix() - Static method in class com.idevicesinc.sweetblue.BondFilter.ConnectionBugEvent.Please
Attempt to fix the connection bug.
tryPurgingStaleDevices(double) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
turnOff() - Method in class com.idevicesinc.sweetblue.BleManager
Disables BLE if manager is BleManagerState.ON.
turnOff() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Disables BLE if manager is BleManagerState.ON.
turnOff() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Disables BLE if manager is BleManagerState.ON.
turnOn() - Method in class com.idevicesinc.sweetblue.BleManager
Enables BLE if manager is currently BleManagerState.OFF or BleManagerState.TURNING_OFF, otherwise does nothing.
turnOn() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Enables BLE if manager is currently BleManagerState.OFF or BleManagerState.TURNING_OFF, otherwise does nothing.
turnOn() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Enables BLE if manager is currently BleManagerState.OFF or BleManagerState.TURNING_OFF, otherwise does nothing.
turnOnLocationWithIntent_forOsServices(Activity, int) - Method in class com.idevicesinc.sweetblue.BleManager
If BleManager.isLocationEnabledForScanning_byOsServices() returns false, you can use this method to allow the user to enable location services.
turnOnLocationWithIntent_forOsServices(Activity) - Method in class com.idevicesinc.sweetblue.BleManager
Overload of BleManager.turnOnLocationWithIntent_forOsServices(Activity, int) if you don't care about result.
turnOnLocationWithIntent_forOsServices(Activity, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
turnOnLocationWithIntent_forOsServices(Activity) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
turnOnLocationWithIntent_forOsServices(Activity, int) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
If RxBleManager.isLocationEnabledForScanning_byOsServices() returns false, you can use this method to allow the user to enable location services.
turnOnLocationWithIntent_forOsServices(Activity) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Overload of RxBleManager.turnOnLocationWithIntent_forOsServices(Activity, int) if you don't care about result.
turnOnLocationWithIntent_forPermissions(Activity, int) - Method in class com.idevicesinc.sweetblue.BleManager
If BleManager.isLocationEnabledForScanning_byOsServices() returns false, you can use this method to allow the user to enable location through an OS intent.
turnOnLocationWithIntent_forPermissions(Activity, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
If P_BleManagerImpl.isLocationEnabledForScanning_byOsServices() returns false, you can use this method to allow the user to enable location through an OS intent.
turnOnLocationWithIntent_forPermissions(Activity, int) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
If RxBleManager.isLocationEnabledForScanning_byOsServices() returns false, you can use this method to allow the user to enable location through an OS intent.
turnOnWithIntent(Activity, int) - Method in class com.idevicesinc.sweetblue.BleManager
Convenience method to request your user to enable ble in a "standard" way with an Intent instead of using BleManager.turnOn() directly.
turnOnWithIntent(Activity, int) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Convenience method to request your user to enable ble in a "standard" way with an Intent instead of using P_BleManagerImpl.turnOn() directly.
turnOnWithIntent(Activity, int) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Convenience method to request your user to enable ble in a "standard" way with an Intent instead of using RxBleManager.turnOn() directly.
TWO_ZONE_HEART_RATE_LIMIT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TX_POWER_LEVEL - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
TX_POWER_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
txnFailReason() - Method in class com.idevicesinc.sweetblue.DeviceReconnectFilter.ConnectFailEvent
txPower() - Method in class com.idevicesinc.sweetblue.ScanFilter.ScanEvent
Returns the transmission power of the device in decibels, or BleNodeConfig.INVALID_TX_POWER if device is not advertising its transmission power.
type() - Method in class com.idevicesinc.sweetblue.BondFilter.CharacteristicEvent
Returns the type of characteristic operation, read, write, etc.
type() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
Used to indicate whether this BondListener.BondEvent is for bonding, or unbonding.
type() - Method in class com.idevicesinc.sweetblue.ExchangeListener.ExchangeEvent
The type of operation, read or write.
type() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
The type of operation, read, write, etc.
type() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
The type of operation, read, write, etc.
type() - Method in class com.idevicesinc.sweetblue.ReconnectFilter.ConnectionLostEvent
See ReconnectFilter.Type for more info.
type() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent

U

uhOh(UhOhListener.UhOh) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
uhOh() - Method in class com.idevicesinc.sweetblue.rx.RxUhOhEvent
uhOh() - Method in class com.idevicesinc.sweetblue.UhOhListener.UhOhEvent
Returns the type of UhOhListener.UhOh that occurred.
uhOhCallbackThrottle - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is 30.0 seconds - UhOhListener.UhOh callbacks from UhOhListener can be a little spammy at times so this is an option to throttle them back on a per-UhOhListener.UhOh basis.
UhOhListener - Interface in com.idevicesinc.sweetblue
Provide an implementation to BleManager.setListener_UhOh(UhOhListener) to receive a callback when an UhOhListener.UhOh occurs.
UhOhListener.Remedy - Enum in com.idevicesinc.sweetblue
The suggested remedy for each UhOhListener.UhOh.
UhOhListener.UhOh - Enum in com.idevicesinc.sweetblue
An UhOh is a warning about an exceptional (in the bad sense) and unfixable problem with the underlying stack that the app can warn its user about.
UhOhListener.UhOhEvent - Class in com.idevicesinc.sweetblue
unbond() - Method in class com.idevicesinc.sweetblue.BleDevice
Opposite of BleDevice.bond().
unbond(BondListener) - Method in class com.idevicesinc.sweetblue.BleDevice
unbond() - Static method in class com.idevicesinc.sweetblue.BondFilter.Please
Device should be unbonded if it isn't already.
unbond(BondListener) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
unbond() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
unbond_internal(PE_TaskPriority, BondListener.Status) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
unbond_justAddTheTask() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
UNBOND_REASON_AUTH_CANCELED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because we canceled the bonding process.
UNBOND_REASON_AUTH_FAILED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because pins did not match, or remote device did not respond to pin request in time.
UNBOND_REASON_AUTH_REJECTED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because the other side explicitly rejected bonding.
UNBOND_REASON_AUTH_TIMEOUT - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because of authentication timeout.
UNBOND_REASON_DISCOVERY_IN_PROGRESS - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because a discovery is in progress.
UNBOND_REASON_REMOTE_AUTH_CANCELED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because we received an Authentication Cancel by remote end.
UNBOND_REASON_REMOTE_DEVICE_DOWN - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because we could not contact the remote device.
UNBOND_REASON_REMOVED - Static variable in class com.idevicesinc.sweetblue.BleStatuses
An existing bond was explicitly revoked.
UNBOND_REASON_REPEATED_ATTEMPTS - Static variable in class com.idevicesinc.sweetblue.BleStatuses
A bond attempt failed because of repeated attempts.
unbondAll() - Method in class com.idevicesinc.sweetblue.BleManager
Removes bonds for all devices that are BleDeviceState.BONDED.
unbondAll() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Removes bonds for all devices that are BleDeviceState.BONDED.
unbondAll() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Removes bonds for all devices that are BleDeviceState.BONDED.
unbondIf(boolean) - Static method in class com.idevicesinc.sweetblue.BondFilter.Please
Returns BondFilter.Please.bond() if the given condition holds true, BondFilter.Please.doNothing() otherwise.
unbondSuccess(BleDevice, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
 
UNCERTAINTY - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
undiscover() - Method in class com.idevicesinc.sweetblue.BleDevice
Convenience method that calls BleManager.undiscover(BleDevice).
undiscover(BleDevice) - Method in class com.idevicesinc.sweetblue.BleManager
Forcefully undiscovers a device, disconnecting it first if needed and removing it from this manager's internal list.
undiscover() - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
undiscover(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
 
undiscover() - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Convenience method that calls RxBleManager.undiscover(RxBleDevice).
undiscover(RxBleDevice) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Forcefully undiscovers a device, disconnecting it first if needed and removing it from this manager's internal list.
undiscoverAll() - Method in class com.idevicesinc.sweetblue.BleManager
Undiscovers all devices that are BleDeviceState.DISCOVERED.
undiscoverAll() - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Undiscovers all devices that are BleDeviceState.DISCOVERED.
undiscoverAll() - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Undiscovers all devices that are BleDeviceState.DISCOVERED.
undiscoverDeviceWhenBleTurnsOff - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is true - only applicable if BleDeviceConfig.retainDeviceWhenBleTurnsOff is also true.
undiscoveryKeepAlive - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is disabled - If a device exceeds this amount of time since its last discovery then it is a candidate for being undiscovered.
Unit<T extends Unit> - Class in com.idevicesinc.sweetblue.utils
Common abstract base class for all units of measurement, providing default convenience methods for things like comparison.
Unit() - Constructor for class com.idevicesinc.sweetblue.utils.Unit
 
UnitTest - Annotation Type in com.idevicesinc.sweetblue.annotations
This annotation is used to dictate certain classes and/or fields which are only used for Unit testing, and should be ignored.
UnitTestBluetoothDevice - Class in com.idevicesinc.sweetblue
Base class used to mock a bluetooth device (at the android layer).
UnitTestBluetoothDevice(IBleDevice) - Constructor for class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
 
UnitTestBluetoothGatt - Class in com.idevicesinc.sweetblue
Base class used to mock a bluetooth gatt instance (at the android layer).
UnitTestBluetoothGatt(IBleDevice) - Constructor for class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Default constructor to use when not providing a GattDatabase instance.
UnitTestBluetoothGatt(IBleDevice, GattDatabase) - Constructor for class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Default constructor to use when providing a GattDatabase instance.
UnitTestBluetoothManager - Class in com.idevicesinc.sweetblue
Base class used to mock the bluetooth manager instance (at the android layer).
UnitTestBluetoothManager() - Constructor for class com.idevicesinc.sweetblue.UnitTestBluetoothManager
 
UnitTestBluetoothServer - Class in com.idevicesinc.sweetblue
Base class used to mock a bluetooth server (at the android layer).
UnitTestBluetoothServer(IBleManager) - Constructor for class com.idevicesinc.sweetblue.UnitTestBluetoothServer
Default constructor.
UnitTestLogger - Class in com.idevicesinc.sweetblue
Implementation of SweetLogger which just prints logs to the console via System.out.println().
UnitTestLogger() - Constructor for class com.idevicesinc.sweetblue.UnitTestLogger
 
UNREAD_ALERT_STATUS - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
unregisterContentObserver(ContentObserver) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
unregisterDataSetObserver(DataSetObserver) - Method in class com.idevicesinc.sweetblue.utils.EmptyCursor
 
unsuspendQueue(IBleManager) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_BleManager
 
update(double) - Method in class com.idevicesinc.sweetblue.BleTransaction
Optional convenience method to override if you want to do periodic updates or time-based calculations.
update(double) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
update(double, long) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
This method is made public in case you want to tie the library in to an update loop from another codebase.
update(double) - Method in interface com.idevicesinc.sweetblue.P_Bridge_User.TransactionHolder
 
update(double) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
Optional convenience method to override if you want to do periodic updates or time-based calculations.
updateBleDevice(IBleDevice) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothDevice
 
updateBleDevice(IBleDevice) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothDevice
 
updateBleDevice(IBleDevice) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothDevice
Method called internally to update the instance of IBleDevice held by this class.
updateBondStates(Object[]) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
UpdateCallback - Interface in com.idevicesinc.sweetblue
A callback where you handle the update time step.
updateConnectionPriority(BleConnectionPriority) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
updateDeviceState(IBleDevice, int) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothManager
Called internally to update the state of a BleDevice.
updateHandler - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is null.
updateInstance(String[], LogOptions, SweetLogger) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
updateKnownTxPower(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
updateLoopCallback - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is null - provide an instance here that will be called at the end of BleManager's update loop.
updateMtu(int) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
updateRssi(int, boolean) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
updateThreadType - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is UpdateThreadType.THREAD, which uses a background thread.
UpdateThreadType - Enum in com.idevicesinc.sweetblue.utils
Enumeration used to strictly type the different options for SweetBlue's update logic.
updateTxn(double) - Method in interface com.idevicesinc.sweetblue.internal.IBleTransaction.Callback
 
URI - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
useGattRefresh - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
Default is false - whether to use BluetoothGatt.refresh() right before service discovery.
useLeTransportForBonding - Variable in class com.idevicesinc.sweetblue.BleDeviceConfig
The below explanation is wrong, only in that the default is now false.
USER_CONTROL_POINT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
USER_DATA_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
USER_INDEX - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
usesCharUuid() - Method in enum com.idevicesinc.sweetblue.BleTask
Returns true if the task can have a characteristic UUID associated with it - for now BleTask.READ, BleTask.WRITE, BleTask.TOGGLE_NOTIFY, BleTask.READ_DESCRIPTOR and BleTask.WRITE_DESCRIPTOR.
UsesCustomNull - Interface in com.idevicesinc.sweetblue.utils
Interface implemented by some enums and mostly other Immutable structs that have custom "null" behavior in place of Java's built-in null.
UsesInstanceId - Interface in com.idevicesinc.sweetblue.utils
Interface to enforce instance Id methods in classes that use an instance Id.
Util_Native - Class in com.idevicesinc.sweetblue
Utility class for simulating Bluetooth operations (read/writes, notifications, etc).
Util_Unit - Class in com.idevicesinc.sweetblue.utils
Utility class to handle various things when unit testing, such as generating random mac addresses, random byte arrays.
Utils - Class in com.idevicesinc.sweetblue.utils
Some static utility methods that are probably not very useful outside the library.
Utils() - Constructor for class com.idevicesinc.sweetblue.utils.Utils
 
Utils_Config - Class in com.idevicesinc.sweetblue.utils
 
Utils_Reflection - Class in com.idevicesinc.sweetblue.utils
Some utilities for dealing with raw byte array scan records.
Utils_Rssi - Class in com.idevicesinc.sweetblue.utils
Some static utility methods for RSSI-related calculations.
Utils_ScanRecord - Class in com.idevicesinc.sweetblue.utils
Some utilities for dealing with raw byte array scan records.
Utils_State - Class in com.idevicesinc.sweetblue.utils
Some helper utilities for dealing with State implementors.
Utils_String - Class in com.idevicesinc.sweetblue.utils
Utility methods for string manipulation and creation needed by SweetBlue, mostly for debug purposes.
Utils_String.HexOption - Enum in com.idevicesinc.sweetblue.utils
 
Utils_Time - Class in com.idevicesinc.sweetblue.utils
Utilities for dealing with time with an emphasis on BLE.
uuid() - Method in class com.idevicesinc.sweetblue.HistoricalDataLoadListener.HistoricalDataLoadEvent
The UUID that the data is being loaded for.
uuid() - Method in class com.idevicesinc.sweetblue.HistoricalDataQueryListener.HistoricalDataQueryEvent
The UUID that the data is being queried for.
uuid() - Method in class com.idevicesinc.sweetblue.rx.RxHistoricalDataLoadEvent
uuid() - Method in class com.idevicesinc.sweetblue.utils.BleUuid
Returns the backing UUID
uuidName(IBleManager, UUID) - Static method in class com.idevicesinc.sweetblue.internal.P_Bridge_Internal
 
uuidName(UUID) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
uuidName(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
uuidName(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
UuidNameMap - Interface in com.idevicesinc.sweetblue.utils
Provide an implementation to BleManagerConfig.uuidNameMaps.
UuidNameMap_ListWrapper - Class in com.idevicesinc.sweetblue.utils
Convenience implementation that wraps a List of other UuidNameMap instances.
UuidNameMap_ListWrapper(List<UuidNameMap>) - Constructor for class com.idevicesinc.sweetblue.utils.UuidNameMap_ListWrapper
 
UuidNameMap_ListWrapper() - Constructor for class com.idevicesinc.sweetblue.utils.UuidNameMap_ListWrapper
 
uuidNameMaps - Variable in class com.idevicesinc.sweetblue.BleManagerConfig
Default is null - optional, only used if BleManagerConfig.loggingOptions is not LogOptions.OFF.
Uuids - Class in com.idevicesinc.sweetblue.utils
A collection of standard UUIDs for services, characteristics, and descriptors.
Uuids() - Constructor for class com.idevicesinc.sweetblue.utils.Uuids
 
Uuids.GATTCharacteristic - Enum in com.idevicesinc.sweetblue.utils
 
Uuids.GATTCharacteristicFormatTypeConversionException - Exception in com.idevicesinc.sweetblue.utils
 
Uuids.GATTDescriptor - Enum in com.idevicesinc.sweetblue.utils
 
Uuids.GATTDisplayType - Enum in com.idevicesinc.sweetblue.utils
 
Uuids.GATTFormatType - Enum in com.idevicesinc.sweetblue.utils
 
uuidSize() - Method in class com.idevicesinc.sweetblue.utils.BleUuid
Returns the BleUuid.UuidSize of the backing UUID
UV_INDEX - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 

V

v(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
v(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
v(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
v_native(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
v_native(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
v_native(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
VALID_RANGE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
value() - Method in class com.idevicesinc.sweetblue.DescriptorFilter.DescriptorEvent
Convenience method to return the value stored in the BluetoothGattDescriptor.
value - Variable in class com.idevicesinc.sweetblue.utils.Pointer
 
VALUE_TRIGGER_SETTING - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.AddServiceListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.AdvertisingListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.annotations.Nullable.Prevalence
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleAdvertisingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleTransmissionPower
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleCharacteristicPermission
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleCharacteristicProperty
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleConnectionPriority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleDescriptorPermission
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleDeviceConfig.RefreshOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleDeviceOrigin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleDeviceState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleManagerState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Source
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleScanApi
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleScanPower
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleServerState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleTask
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleTransaction.Atomicity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BleTransaction.EndReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BondFilter.CharacteristicEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BondListener.BondEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BondListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.BondRetryFilter.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ConnectFailBluetoothGatt.FailurePoint
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ConnectFailBluetoothGatt.FailureType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Timing
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.DiscoveryListener.LifeCycle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ExchangeListener.Target
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ExchangeListener.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.HistoricalDataLoadListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.HistoricalDataQueryListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.internal.P_ConnectFailPlease
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.LogOptions.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.MtuTestCallback.TestResult.Result
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.NotificationListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.NotificationListener.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.OutgoingListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.P_ITransaction.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ReadWriteFailBluetoothGatt.FailType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ReadWriteListener.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ReadWriteListener.Target
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ReadWriteListener.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ReconnectFilter.AutoConnectUsage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ReconnectFilter.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ResetListener.Progress
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ScanFilter.ApplyMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.ServerReconnectFilter.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.TimeTrackerSetting
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.UhOhListener.Remedy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.UhOhListener.UhOh
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.AdvertisingFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BleScanRecord.Option
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.DefaultString
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.ErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.Permission
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BleUuid.UuidSize
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Stage
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Status
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.HistoricalDataColumn
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.Phy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.State.ChangeIntent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.UpdateThreadType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.Utils_String.HexOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTCharacteristic
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDescriptor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDisplayType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.idevicesinc.sweetblue.AddServiceListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.AdvertisingListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.annotations.Nullable.Prevalence
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleAdvertisingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleAdvertisingSettings.BleTransmissionPower
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleCharacteristicPermission
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleCharacteristicProperty
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleConnectionPriority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleDescriptorPermission
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleDeviceConfig.RefreshOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleDeviceOrigin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleDeviceState
Returns an array containing the constants of this enum type, in the order they are declared.
VALUES() - Static method in enum com.idevicesinc.sweetblue.BleDeviceState
Returns same as BleDeviceState.values(), but for performance reasons this does not return a new array every time.
values() - Static method in enum com.idevicesinc.sweetblue.BleManagerState
Returns an array containing the constants of this enum type, in the order they are declared.
VALUES() - Static method in enum com.idevicesinc.sweetblue.BleManagerState
 
values() - Static method in enum com.idevicesinc.sweetblue.BleNodeConfig.HistoricalDataLogFilter.Source
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleScanApi
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleScanPower
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleServerState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleTask
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleTransaction.Atomicity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BleTransaction.EndReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BondFilter.CharacteristicEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BondListener.BondEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BondListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.BondRetryFilter.Status
Returns an array containing the constants of this enum type, in the order they are declared.
VALUES() - Static method in enum com.idevicesinc.sweetblue.BondRetryFilter.Status
 
values() - Static method in enum com.idevicesinc.sweetblue.ConnectFailBluetoothGatt.FailurePoint
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ConnectFailBluetoothGatt.FailureType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Timing
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.DiscoveryListener.LifeCycle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ExchangeListener.Target
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ExchangeListener.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.HistoricalDataLoadListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.HistoricalDataQueryListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.internal.P_ConnectFailPlease
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.LogOptions.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
VALUES() - Static method in enum com.idevicesinc.sweetblue.LogOptions.LogLevel
 
values() - Static method in enum com.idevicesinc.sweetblue.MtuTestCallback.TestResult.Result
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.NotificationListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.NotificationListener.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.OutgoingListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.P_ITransaction.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ReadWriteFailBluetoothGatt.FailType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ReadWriteListener.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ReadWriteListener.Target
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ReadWriteListener.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ReconnectFilter.AutoConnectUsage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ReconnectFilter.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ResetListener.Progress
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ScanFilter.ApplyMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.ServerReconnectFilter.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.TimeTrackerSetting
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.UhOhListener.Remedy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.UhOhListener.UhOh
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.AdvertisingFlag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BleScanRecord.Option
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.DefaultString
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.Permission
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BleSetupHelper.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BleUuid.UuidSize
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Stage
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Status
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.HistoricalDataColumn
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.Phy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.State.ChangeIntent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.UpdateThreadType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.Utils_String.HexOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTCharacteristic
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDescriptor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTDisplayType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.idevicesinc.sweetblue.utils.Uuids.GATTFormatType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyApiKey(Context, String) - Static method in class com.idevicesinc.sweetblue.api.P_ApiManager
 
VO2_MAX - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 

W

w(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
w(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
w(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
w_native(String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
w_native(String, String, String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
w_native(String) - Method in class com.idevicesinc.sweetblue.internal.P_Logger
 
WAIST_CIRCUMFERENCE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
was(DiscoveryListener.LifeCycle) - Method in class com.idevicesinc.sweetblue.DiscoveryListener.DiscoveryEvent
Convenience method for checking equality of given DiscoveryListener.LifeCycle and DiscoveryListener.DiscoveryEvent.lifeCycle().
was(DiscoveryListener.LifeCycle) - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
wasCancelled() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
wasCancelled() - Method in enum com.idevicesinc.sweetblue.BondListener.Status
 
wasCancelled() - Method in enum com.idevicesinc.sweetblue.DeviceReconnectFilter.Status
wasCancelled() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
wasCancelled() - Method in enum com.idevicesinc.sweetblue.ReadWriteListener.Status
wasCancelled() - Method in class com.idevicesinc.sweetblue.rx.RxBondEvent
wasCancelled() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
wasCancelled() - Method in enum com.idevicesinc.sweetblue.ServerReconnectFilter.Status
wasDiscovered() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
Returns true if the RxDiscoveryEvent was for the RxBleDevice being discovered for the first time.
wasExplicit(DeviceReconnectFilter.Status) - Static method in class com.idevicesinc.sweetblue.P_Bridge_User
 
wasPreviouslyNotEnabled() - Method in enum com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Status
Deprecated.
 
wasRediscovered() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
Returns true if the RxDiscoveryEvent was for the RxBleDevice getting re-discovered.
wasSuccess() - Method in class com.idevicesinc.sweetblue.AddServiceListener.ServiceAddEvent
Convenience forwarding of AddServiceListener.Status.wasSuccess().
wasSuccess() - Method in enum com.idevicesinc.sweetblue.AddServiceListener.Status
Returns true if this equals AddServiceListener.Status.SUCCESS.
wasSuccess() - Method in class com.idevicesinc.sweetblue.AdvertisingListener.AdvertisingEvent
Whether or not BleServer.startAdvertising(BleScanRecord) was successful or not.
wasSuccess() - Method in class com.idevicesinc.sweetblue.BondListener.BondEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.DeviceConnectListener.ConnectEvent
Returns true if a connection was established to the DeviceConnectListener.ConnectEvent.device().
wasSuccess() - Method in class com.idevicesinc.sweetblue.HistoricalDataLoadListener.HistoricalDataLoadEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.HistoricalDataQueryListener.HistoricalDataQueryEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.MtuTestCallback.TestResult
Convenience method to see if the MTU test worked or not.
wasSuccess() - Method in class com.idevicesinc.sweetblue.NotificationListener.NotificationEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.OutgoingListener.OutgoingEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.ReadWriteListener.ReadWriteEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxAdvertisingEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxBondEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxConnectEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxDeviceConnectEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxHistoricalDataLoadEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxNotificationEvent
 
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxOutgoingEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxReadWriteEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxServerConnectEvent
wasSuccess() - Method in class com.idevicesinc.sweetblue.rx.RxServiceAddEvent
 
wasSuccess() - Method in class com.idevicesinc.sweetblue.ServerConnectListener.ConnectEvent
Returns true if a connection was established to the device with ServerConnectListener.ConnectEvent.macAddress().
wasUndiscovered() - Method in class com.idevicesinc.sweetblue.rx.RxDiscoveryEvent
wasUserPrompted() - Method in class com.idevicesinc.sweetblue.BondRetryFilter.RetryEvent
Returns whether this bond request attempt prompted the user or not.
WEIGHT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
WEIGHT_MEASUREMENT - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
WEIGHT_SCALE_FEATURE - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
WEIGHT_SCALE_SERVICE_UUID - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
where() - Method in class com.idevicesinc.sweetblue.utils.HistoricalDataQuery
 
willLocationPermissionSystemDialogBeShown(Activity) - Method in class com.idevicesinc.sweetblue.BleManager
Returns true if BleManager.turnOnLocationWithIntent_forPermissions(Activity, int) will pop a system dialog, false if it will bring you to the OS's Application Settings.
willLocationPermissionSystemDialogBeShown(Activity) - Method in class com.idevicesinc.sweetblue.internal.P_BleManagerImpl
Returns true if P_BleManagerImpl.turnOnLocationWithIntent_forPermissions(Activity, int) will pop a system dialog, false if it will bring you to the OS's Application Settings.
willLocationPermissionSystemDialogBeShown(Activity) - Method in class com.idevicesinc.sweetblue.rx.RxBleManager
Returns true if RxBleManager.turnOnLocationWithIntent_forPermissions(Activity, int) will pop a system dialog, false if it will bring you to the OS's Application Settings.
WIND_CHILL - Static variable in class com.idevicesinc.sweetblue.utils.Uuids
 
withActivity(Activity) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
 
withAppData(Object) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
Add arbitrary app-specific data which will be passed to the next BluetoothEnabler.BluetoothEnablerFilter.BluetoothEnablerEvent through
withDialog(String) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
If the next stage isn't skipped or BluetoothEnabler.BluetoothEnablerFilter.Status.ALREADY_ENABLED then pop a dialog before
withDiscoveryListener(DiscoveryListener) - Method in class com.idevicesinc.sweetblue.ScanOptions
Set a DiscoveryListener for this scan.
withImplicitActivityResultHandling() - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
 
withPendingIntent(PendingIntent) - Method in class com.idevicesinc.sweetblue.ScanOptions
NOTE: This will only work for devices running android 8 (Oreo) or higher (API level 26+).
withRequestCode(int) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
Perform the next stage with the given requestCode
withScanFilter(ScanFilter) - Method in class com.idevicesinc.sweetblue.ScanOptions
Set a ScanFilter for this scan.
withScanFilterApplyMode(ScanFilter.ApplyMode) - Method in class com.idevicesinc.sweetblue.ScanOptions
Set a ScanFilter.ApplyMode for this scan.
withToast(String) - Method in class com.idevicesinc.sweetblue.utils.BluetoothEnabler.BluetoothEnablerFilter.Please
Deprecated.
Perform the next stage with a Toast
write(BleWrite) - Method in class com.idevicesinc.sweetblue.BleDevice
Writes to the device without a callback.
write(BleWrite, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Writes to the device with a callback.
write(UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, DescriptorFilter, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, byte[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, byte[], DescriptorFilter, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, DescriptorFilter, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, byte[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, byte[], DescriptorFilter, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, FutureData, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, FutureData, DescriptorFilter, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, FutureData, DescriptorFilter) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, FutureData, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(UUID, UUID, FutureData, DescriptorFilter, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Deprecated.
write(BleDescriptorWrite) - Method in class com.idevicesinc.sweetblue.BleDevice
Writes to the device descriptor without a callback.
write(BleDescriptorWrite, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
Writes to the device descriptor with a callback.
write(BleWrite) - Method in class com.idevicesinc.sweetblue.BleTransaction
write(BleWrite, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
write(BleDescriptorWrite) - Method in class com.idevicesinc.sweetblue.BleTransaction
write(BleDescriptorWrite, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleTransaction
write(BleWrite) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
write(BleDescriptorWrite) - Method in class com.idevicesinc.sweetblue.internal.P_BleDeviceImpl
 
write(BleWrite) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Performs a BLE write on this device.
write(BleDescriptorWrite) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
 
write(BleWrite) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
write(BleDescriptorWrite) - Method in class com.idevicesinc.sweetblue.rx.RxBleTransaction
write() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
write() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
write_encrypted() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
write_encrypted_mitm() - Method in class com.idevicesinc.sweetblue.utils.Permissions
 
write_no_response() - Method in class com.idevicesinc.sweetblue.utils.Properties
 
write_status() - Method in class com.idevicesinc.sweetblue.MtuTestCallback.TestResult
If MtuTestCallback.TestResult.wasSuccess() returns false, and MtuTestCallback.TestResult.result() is MtuTestCallback.TestResult.Result.OTHER_FAILURE, this value will hold the ReadWriteListener.Status from the write which was performed as the test.
WRITE_TYPE_NO_RESPONSE - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
WRITE_TYPE_SIGNED - Static variable in class com.idevicesinc.sweetblue.BleCharacteristic
 
writeCharacteristic(BleCharacteristic) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
writeCharacteristic(BleCharacteristic) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
writeCharacteristic(BleCharacteristic) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called when the library tries to write a characteristic.
writeDescError(BleDevice, BleDescriptor, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.writeDescError(BleDevice, BleDescriptor, int, Interval) which delays the callback by 50ms.
writeDescError(BleDevice, BleDescriptor, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a descriptor write failed, with the given gattStatus, and delay the callback by the amount specified.
writeDescriptor(UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, byte[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, UUID, byte[]) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, UUID, byte[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, UUID, UUID, byte[], ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, FutureData, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, UUID, FutureData) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, UUID, FutureData, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(UUID, UUID, UUID, FutureData, ReadWriteListener) - Method in class com.idevicesinc.sweetblue.BleDevice
writeDescriptor(BleDescriptor) - Method in class com.idevicesinc.sweetblue.internal.android.AndroidBluetoothGatt
 
writeDescriptor(BleDescriptor) - Method in interface com.idevicesinc.sweetblue.internal.android.IBluetoothGatt
 
writeDescriptor(BleDescriptor) - Method in class com.idevicesinc.sweetblue.UnitTestBluetoothGatt
Called when the system tries to write to a descriptor.
writeDescSuccess(BleDevice, BleDescriptor) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.writeDescSuccess(BleDevice, BleDescriptor, Interval) which delays the callback by 50ms.
writeDescSuccess(BleDevice, BleDescriptor, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a descriptor write suceeded, and delay the callback by the amount specified.
writeError(BleDevice, BleCharacteristic, int) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.writeError(BleDevice, BleCharacteristic, int, Interval) which delays the callback by 50ms.
writeError(BleDevice, BleCharacteristic, int, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a write failed, with the given gattStatus, and delay the callback by the amount specified.
writeJSON() - Method in class com.idevicesinc.sweetblue.BleNodeConfig
Creates and returns a JSONObject that represents all of the mutable settings of this object.
writeMany(BleWrite[]) - Method in class com.idevicesinc.sweetblue.BleDevice
writeMany(Iterable<BleWrite>) - Method in class com.idevicesinc.sweetblue.BleDevice
writeMany(BleWrite[]) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Overload for RxBleDevice.write(BleWrite) for many writes.
writeMany(Iterable<BleWrite>) - Method in class com.idevicesinc.sweetblue.rx.RxBleDevice
Overload for RxBleDevice.write(BleWrite) for many writes.
writeSuccess(BleDevice, BleCharacteristic) - Static method in class com.idevicesinc.sweetblue.Util_Native
Overload of Util_Native.writeSuccess(BleDevice, BleCharacteristic, Interval) which delays the callback by 50ms.
writeSuccess(BleDevice, BleCharacteristic, Interval) - Static method in class com.idevicesinc.sweetblue.Util_Native
Send a callback that a write succeeded, and delay the callback by the amount specified.

Z

ZERO - Static variable in class com.idevicesinc.sweetblue.utils.Distance
Convenience value for zero meters.
ZERO - Static variable in class com.idevicesinc.sweetblue.utils.EpochTime
Convenience instance representing the start date of 1970.
ZERO - Static variable in class com.idevicesinc.sweetblue.utils.EpochTimeRange
 
ZERO - Static variable in class com.idevicesinc.sweetblue.utils.Interval
Convenience value for zero time.
ZERO - Static variable in class com.idevicesinc.sweetblue.utils.Percent
Convenience value representing 0%.
A B C D E F G H I K L M N O P Q R S T U V W Z 
Skip navigation links