- d(String) - Static method in class dk.lego.devicesdk.logging.LDSDKLogger
-
- DataFormat - Class in dk.lego.devicesdk.input_output
-
This class contains info detailing how the data received for a given service (typically a sensor of some kind) should be interpreted.
- DEBUG - Static variable in class dk.lego.devicesdk.BuildConfig
-
- debug(String) - Method in interface dk.lego.devicesdk.logging.CustomLogger
-
Used to log detailed information.
- debug(String) - Method in class dk.lego.devicesdk.logging.DefaultAndroidCustomLogger
-
- debug(String) - Method in class dk.lego.devicesdk.logging.DefaultSilentCustomLogger
-
- DEFAULT_CONNECT_REQUEST_TIMEOUT - Static variable in interface dk.lego.devicesdk.device.LegoDeviceManager
-
The default connect request timeout in milliseconds
- DefaultAndroidCustomLogger - Class in dk.lego.devicesdk.logging
-
- DefaultAndroidCustomLogger() - Constructor for class dk.lego.devicesdk.logging.DefaultAndroidCustomLogger
-
- DefaultSilentCustomLogger - Class in dk.lego.devicesdk.logging
-
Default implementation of the CustomLogger allowing for clients to disable logging completely.
- DefaultSilentCustomLogger() - Constructor for class dk.lego.devicesdk.logging.DefaultSilentCustomLogger
-
- deserializeColor(Map<String, Object>) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- DeviceCallbackHelper - Class in dk.lego.devicesdk.bluetooth
-
- DeviceCallbackHelper() - Constructor for class dk.lego.devicesdk.bluetooth.DeviceCallbackHelper
-
- DeviceCallbackListener - Interface in dk.lego.devicesdk.device
-
Implement this listener to be notified about changes to the attributes of the device.
- deviceError(LDSDKError.ErrorCode, String) - Static method in exception dk.lego.devicesdk.LDSDKError
-
- deviceId - Variable in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- DeviceInfo - Class in dk.lego.devicesdk.device
-
Represent info about a connected
LegoDevice
such as firmware-, hardware- and software revision.
- DeviceInfo() - Constructor for class dk.lego.devicesdk.device.DeviceInfo
-
- deviceInfo - Variable in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- deviceInfoServiceDefinition() - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- DeviceInfoServiceDefinition - Class in dk.lego.devicesdk.bluetooth.service_definitions
-
- DeviceManagerCallbackListener - Interface in dk.lego.devicesdk.device
-
Callback used to signal whenever a LEGO device has appeared or disappeared.
- deviceServiceDefinition() - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- DeviceServiceDefinition - Class in dk.lego.devicesdk.bluetooth.service_definitions
-
- devicesInState(LegoDevice.DeviceState) - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
Returns a list of devices in the specified device state.
- devicesInState(LegoDevice.DeviceState) - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- devicesInState(LegoDevice.DeviceState) - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
Returns a list of devices in the specified device state.
- devicesInState(LegoDevice.DeviceState) - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- deviceWithWrapper(AndroidBluetoothDeviceWrapper, byte[], int) - Static method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- didAddService(LegoDevice, LegoService) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked when the a new motor, sensor or other service is attached to the device (Hub).
- didAddService(LegoDevice, LegoService) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didChangeButtonState(LegoDevice, boolean) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked when the user press or release the connect-button on the device
- didChangeButtonState(LegoDevice, boolean) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didChangeNameFrom(LegoDevice, String, String) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked if the device sends an updated device name.
- didChangeNameFrom(LegoDevice, String, String) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didFailToAddServiceWithError(LegoDevice, LDSDKError) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked when an update from the device about attached services (sensor, motors, etc) could not
be understood.
- didFailToAddServiceWithError(LegoDevice, LDSDKError) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didReadInitialColor(RGBLight) - Method in interface dk.lego.devicesdk.services.RGBLightCallbackListener
-
Invoked when the first (initial) color of the RGB Light is read
- didReadInitialColor(RGBLight) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didReceiveInputFormat(IO, InputFormat) - Method in interface dk.lego.devicesdk.input_output.IOCallbackListener
-
- didReceiveInputFormat(IO, InputFormat) - Method in class dk.lego.devicesdk.services.LegoService
-
- didReceiveValueData(IO, byte[]) - Method in interface dk.lego.devicesdk.input_output.IOCallbackListener
-
- didReceiveValueData(IO, byte[]) - Method in class dk.lego.devicesdk.services.LegoService
-
- didRemoveService(LegoDevice, LegoService) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked when a new motor, sensor or other service is detached from the device (Hub).
- didRemoveService(LegoDevice, LegoService) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didRequestConnectInfo(IO) - Method in interface dk.lego.devicesdk.input_output.IOCallbackListener
-
- didRequestConnectInfo(IO) - Method in class dk.lego.devicesdk.services.LegoService
-
- didUpdateAngle(TiltSensor, TiltSensor.TiltSensorAngle, TiltSensor.TiltSensorAngle) - Method in interface dk.lego.devicesdk.services.TiltSensorCallbackListener
-
Invoked when the tilt sensor has an updated value for angle.
- didUpdateAngle(TiltSensor, TiltSensor.TiltSensorAngle, TiltSensor.TiltSensorAngle) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateBatteryLevel(LegoDevice, int) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked when a device sends an updated battery level.
- didUpdateBatteryLevel(LegoDevice, int) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didUpdateCount(MotionSensor, int) - Method in interface dk.lego.devicesdk.services.MotionSensorCallbackListener
-
Invoked when the motion sensor has an updated count value
- didUpdateCount(MotionSensor, int) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateCrash(TiltSensor, TiltSensor.TiltSensorCrash, TiltSensor.TiltSensorCrash) - Method in interface dk.lego.devicesdk.services.TiltSensorCallbackListener
-
Invoked when the tilt sensor has an updated value for crash readings.
- didUpdateCrash(TiltSensor, TiltSensor.TiltSensorCrash, TiltSensor.TiltSensorCrash) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateDeviceInfo(LegoDevice, DeviceInfo, LDSDKError) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked when a new DeviceInfo with info about the software and firmware revision is received from the device.
- didUpdateDeviceInfo(LegoDevice, DeviceInfo, LDSDKError) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didUpdateDirection(TiltSensor, TiltSensor.TiltSensorDirection, TiltSensor.TiltSensorDirection) - Method in interface dk.lego.devicesdk.services.TiltSensorCallbackListener
-
Invoked when the tilt sensor has an updated value for direction.
- didUpdateDirection(TiltSensor, TiltSensor.TiltSensorDirection, TiltSensor.TiltSensorDirection) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateDistance(MotionSensor, float, float) - Method in interface dk.lego.devicesdk.services.MotionSensorCallbackListener
-
Invoked when the motion sensor has an updated distance value
- didUpdateDistance(MotionSensor, float, float) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateInputFormat(LegoService, InputFormat, InputFormat) - Method in interface dk.lego.devicesdk.services.ServiceCallbackListener
-
- didUpdateInputFormat(LegoService, InputFormat, InputFormat) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateLowVoltageState(LegoDevice, boolean) - Method in interface dk.lego.devicesdk.device.DeviceCallbackListener
-
Invoked when a device sends a low voltage notification.
- didUpdateLowVoltageState(LegoDevice, boolean) - Method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- didUpdateMilliAmps(CurrentSensor, float) - Method in interface dk.lego.devicesdk.services.CurrentSensorCallbackListener
-
- didUpdateMilliAmps(CurrentSensor, float) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateMilliVolts(VoltageSensor, float) - Method in interface dk.lego.devicesdk.services.VoltageSensorCallbackListener
-
- didUpdateMilliVolts(VoltageSensor, float) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateRGBColorIndex(RGBLight, int, int) - Method in interface dk.lego.devicesdk.services.RGBLightCallbackListener
-
Invoked when the RGBLight service receives an updated color index
Will only be invoked when the RGB light is in the discrete mode
- didUpdateRGBColorIndex(RGBLight, int, int) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateRGBValue(RGBLight, Integer, Integer) - Method in interface dk.lego.devicesdk.services.RGBLightCallbackListener
-
Invoked when the RGBLight service receives an updated value
Will only be invoked when the RGB light is in the absolute mode
- didUpdateRGBValue(RGBLight, Integer, Integer) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- didUpdateValueData(LegoService, byte[], byte[]) - Method in interface dk.lego.devicesdk.services.ServiceCallbackListener
-
Invoked when a service receives an updated value.
- didUpdateValueData(LegoService, byte[], byte[]) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- disconnectAndCloseGatt() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- disconnectDevice(String) - Method in interface dk.lego.devicesdk.unity.LegoDeviceManagerWrapper
-
- disconnectDevice(String) - Method in class dk.lego.devicesdk.unity.LegoDeviceManagerWrapperImpl
-
- dk.lego.devicesdk - package dk.lego.devicesdk
-
- dk.lego.devicesdk.android.bluetooth - package dk.lego.devicesdk.android.bluetooth
-
- dk.lego.devicesdk.android.bluetooth.le - package dk.lego.devicesdk.android.bluetooth.le
-
- dk.lego.devicesdk.bluetooth - package dk.lego.devicesdk.bluetooth
-
- dk.lego.devicesdk.bluetooth.service_definitions - package dk.lego.devicesdk.bluetooth.service_definitions
-
- dk.lego.devicesdk.bluetooth.wrappers - package dk.lego.devicesdk.bluetooth.wrappers
-
- dk.lego.devicesdk.device - package dk.lego.devicesdk.device
-
- dk.lego.devicesdk.input_output - package dk.lego.devicesdk.input_output
-
- dk.lego.devicesdk.logging - package dk.lego.devicesdk.logging
-
- dk.lego.devicesdk.services - package dk.lego.devicesdk.services
-
- dk.lego.devicesdk.unity - package dk.lego.devicesdk.unity
-
- dk.lego.devicesdk.utils - package dk.lego.devicesdk.utils
-
- drift() - Method in class dk.lego.devicesdk.services.Motor
-
Send a command to stop (drift/float) the motor
- drift(String, String) - Method in interface dk.lego.devicesdk.unity.LegoServiceWrapper
-
- drift(String, String) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- GenericService - Class in dk.lego.devicesdk.services
-
The SDK will create instances of this class for IOs with an unknown IOType.
- getAddress() - Method in interface dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothDeviceWrapper
-
Adress wrapper
- getAddress() - Method in class dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothDeviceWrapperImpl
-
- getAdvertiseFlags() - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns the advertising flags indicating the discoverable mode and capability of the device.
- getAdvertisingDevicesInterval() - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
- getAdvertisingDevicesInterval() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- getAllDevices() - Method in interface dk.lego.devicesdk.unity.LegoDeviceManagerWrapper
-
- getAllDevices() - Method in class dk.lego.devicesdk.unity.LegoDeviceManagerWrapperImpl
-
- getAndroidBluetoothDevice() - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDevice
-
- getAndroidBluetoothDevice() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- getAngle() - Method in class dk.lego.devicesdk.services.TiltSensor
-
- getAttachedIO() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceServiceDefinition
-
- getBatteryLevel() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.BatteryServiceDefinition
-
- getBatteryLevel() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
The battery level of the device in percentage
If no battery level has been received from the Device, the value is null
- getBatteryLevel() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getBugFixVersion() - Method in class dk.lego.devicesdk.device.Revision
-
- getBuildNumber() - Method in class dk.lego.devicesdk.device.Revision
-
- getBytes() - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns raw bytes of scan record.
- getCategory() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- getCategory() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
The System Category of the connected Device
- getColor() - Method in class dk.lego.devicesdk.services.RGBLight
-
- getColorIndex() - Method in class dk.lego.devicesdk.services.RGBLight
-
- getConnectId() - Method in class dk.lego.devicesdk.device.ConnectInfo
-
- getConnectId() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- getConnectInfo() - Method in class dk.lego.devicesdk.services.LegoService
-
- getConnectRequestTimeoutInterval() - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
- getConnectRequestTimeoutInterval() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- getConnectRequestTimeoutInterval() - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
- getConnectRequestTimeoutInterval() - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- getConnectState() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
Returns the current state of the connection.
- getConnectState() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getContext() - Method in interface dk.lego.devicesdk.unity.LegoDeviceManagerWrapper
-
- getContext() - Method in class dk.lego.devicesdk.unity.LegoDeviceManagerWrapperImpl
-
- getCount() - Method in class dk.lego.devicesdk.services.MotionSensor
-
- getCrash() - Method in class dk.lego.devicesdk.services.TiltSensor
-
- getData() - Method in class dk.lego.devicesdk.input_output.InputCommand
-
- getData() - Method in class dk.lego.devicesdk.input_output.OutputCommand
-
- getDataSetCount() - Method in class dk.lego.devicesdk.input_output.DataFormat
-
- getDataSetSize() - Method in class dk.lego.devicesdk.input_output.DataFormat
-
- getDefaultColor() - Method in class dk.lego.devicesdk.services.RGBLight
-
- getDefaultColorIndex() - Method in class dk.lego.devicesdk.services.RGBLight
-
- getDefaultInputFormat() - Method in class dk.lego.devicesdk.services.CurrentSensor
-
- getDefaultInputFormat() - Method in class dk.lego.devicesdk.services.GenericService
-
- getDefaultInputFormat() - Method in class dk.lego.devicesdk.services.LegoService
-
The default input format that will be uploaded to the device for this service upon discovery of the service.
- getDefaultInputFormat() - Method in class dk.lego.devicesdk.services.MotionSensor
-
- getDefaultInputFormat() - Method in class dk.lego.devicesdk.services.RGBLight
-
- getDefaultInputFormat() - Method in class dk.lego.devicesdk.services.TiltSensor
-
- getDefaultInputFormat() - Method in class dk.lego.devicesdk.services.VoltageSensor
-
- getDeltaInterval() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- getDevice() - Method in interface dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothDeviceWrapper
-
- getDevice() - Method in class dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothDeviceWrapperImpl
-
- getDevice() - Method in class dk.lego.devicesdk.services.LegoService
-
- getDeviceButton() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceServiceDefinition
-
- getDeviceId() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- getDeviceId() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
A unique identifier for the device
- getDeviceId() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getDeviceInfo() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
Info about the device hardware, firmware, and software revision
- getDeviceInfo() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getDeviceName() - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns the local name of the BLE device.
- getDeviceName() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceServiceDefinition
-
- getDirection() - Method in class dk.lego.devicesdk.services.Motor
-
The current running direction of the motor
- getDirection() - Method in class dk.lego.devicesdk.services.TiltSensor
-
- getDistance() - Method in class dk.lego.devicesdk.services.MotionSensor
-
- getErrorCode() - Method in exception dk.lego.devicesdk.LDSDKError
-
- getExternalServices() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
An external service is a service that represent and IO that can be attached to the device Hub.
- getExternalServices() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getFirmwareRevision() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceInfoServiceDefinition
-
- getFirmwareRevision() - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- getFirmwareVersion() - Method in class dk.lego.devicesdk.device.ConnectInfo
-
- getFloatFromData(byte[]) - Method in class dk.lego.devicesdk.services.LegoService
-
The value data representation from the service as a floating-point number.
- getHardwareRevision() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceInfoServiceDefinition
-
- getHardwareRevision() - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- getHardwareVersion() - Method in class dk.lego.devicesdk.device.ConnectInfo
-
- getHubIndex() - Method in class dk.lego.devicesdk.device.ConnectInfo
-
- getInputCommand() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.IOServiceDefinition
-
- getInputFormat() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.IOServiceDefinition
-
- getInputFormat() - Method in class dk.lego.devicesdk.services.LegoService
-
The current input format for this service.
- getInputFormatMode() - Method in class dk.lego.devicesdk.services.LegoService
-
Convenience method that will return the mode of the current inputFormat.
- getInputValue() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.IOServiceDefinition
-
- getInstance() - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.BatteryServiceDefinition
-
- getInstance() - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceInfoServiceDefinition
-
- getInstance() - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceServiceDefinition
-
- getInstance() - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.IOServiceDefinition
-
- getInstance() - Static method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- getInstance() - Static method in class dk.lego.devicesdk.logging.LDSDKLogger
-
- getInstance() - Static method in class dk.lego.devicesdk.unity.LegoDeviceManagerWrapperImpl
-
- getInstance() - Static method in class dk.lego.devicesdk.unity.LegoDeviceWrapperImpl
-
- getInstance() - Static method in class dk.lego.devicesdk.unity.LegoLoggerWrapperImpl
-
- getInstance() - Static method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- getInstance() - Static method in class dk.lego.devicesdk.utils.HandlerHelper
-
- getIntegerFromData(byte[]) - Method in class dk.lego.devicesdk.services.LegoService
-
The value data representation from the service as an integer.
- getInternalServices() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
An internal service is a service that is inherent to the Device - something that can never be 'detached'.
- getInternalServices() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getIo() - Method in class dk.lego.devicesdk.services.LegoService
-
- getLastConnectedNetworkId() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- getLastConnectedNetworkId() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
The ID of the network this Device was connected to last
- getLoggerLevel() - Method in class dk.lego.devicesdk.logging.LDSDKLogger
-
- getLowVoltageAlert() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceServiceDefinition
-
- getMajorVersion() - Method in class dk.lego.devicesdk.device.Revision
-
- getMandatoryProperties() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- getManufacturerName() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceInfoServiceDefinition
-
- getManufacturerName() - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- getManufacturerSpecificData() - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns a sparse array of manufacturer identifier and its corresponding manufacturer specific
data.
- getManufacturerSpecificData(int) - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns the manufacturer specific data associated with the manufacturer id.
- getMinorVersion() - Method in class dk.lego.devicesdk.device.Revision
-
- getMode() - Method in class dk.lego.devicesdk.input_output.DataFormat
-
- getMode() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- getModeName() - Method in class dk.lego.devicesdk.input_output.DataFormat
-
- getMotionSensorMode() - Method in class dk.lego.devicesdk.services.MotionSensor
-
- getName() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- getName() - Method in interface dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothDeviceWrapper
-
Name wrapper
- getName() - Method in class dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothDeviceWrapperImpl
-
- getName() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
The most recent value of the name property read from the Hub.
- getName() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getNumberFromValueData() - Method in class dk.lego.devicesdk.services.LegoService
-
The latest received value from the service as a Number
.
- getNumberFromValueData(byte[]) - Method in class dk.lego.devicesdk.services.LegoService
-
The value representation of data from the service as an Number
.
- getNumberOfBytes() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- getNumbersFromValueDataSet() - Method in class dk.lego.devicesdk.services.LegoService
-
The latest received value from the service as an array of Number
.
- getNumbersFromValueDataSet(byte[]) - Method in class dk.lego.devicesdk.services.LegoService
-
The value data representation from the service as an array of Number
.
- getOutputCommand() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.IOServiceDefinition
-
- getPermissions() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- getPower() - Method in class dk.lego.devicesdk.services.Motor
-
The power the motor is currently running with (0 if braking or drifting).
- getRecommendedProperties() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- getRevision() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- getRGBMode() - Method in class dk.lego.devicesdk.services.RGBLight
-
The current mode of the RGB
- getRSSIValue() - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDevice
-
- getRSSIValue() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- getScanRecord() - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDevice
-
- getScanRecord() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- getSDKVersion() - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
- getSDKVersion() - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- getServiceData() - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns a map of service UUID and its corresponding service data.
- getServiceData(ParcelUuid) - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns the service data byte array associated with the serviceUuid
.
- getServiceDefinition() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- getServiceIdentifierFromParcelUuid(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
Extract the Service Identifier or the actual uuid from the Parcel Uuid.
- getServiceName() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- getServiceName() - Method in class dk.lego.devicesdk.services.CurrentSensor
-
- getServiceName() - Method in class dk.lego.devicesdk.services.GenericService
-
- getServiceName() - Method in class dk.lego.devicesdk.services.LegoService
-
- getServiceName() - Method in class dk.lego.devicesdk.services.MotionSensor
-
- getServiceName() - Method in class dk.lego.devicesdk.services.Motor
-
- getServiceName() - Method in class dk.lego.devicesdk.services.PiezoTonePlayer
-
- getServiceName() - Method in class dk.lego.devicesdk.services.RGBLight
-
- getServiceName() - Method in class dk.lego.devicesdk.services.TiltSensor
-
- getServiceName() - Method in class dk.lego.devicesdk.services.VoltageSensor
-
- getServices() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
The currently available inputs and outputs
- getServices() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- getServiceUUID() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- getServiceUuids() - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns a list of service UUIDs within the advertisement that are used to identify the
bluetooth GATT services.
- getShortServiceUUID() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceServiceDefinition
-
- getSoftwareRevision() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.DeviceInfoServiceDefinition
-
- getSoftwareRevision() - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- getSupportedFunctions() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- getSupportedFunctions() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
The Fuction(s) supported by the connected Device
- getTiltSensorMode() - Method in class dk.lego.devicesdk.services.TiltSensor
-
- getTxPowerLevel() - Method in class dk.lego.devicesdk.android.bluetooth.le.ScanRecord
-
Returns the transmission power level of the packet in dBm.
- getType() - Method in class dk.lego.devicesdk.device.ConnectInfo
-
- getType() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- getTypeEnum() - Method in class dk.lego.devicesdk.device.ConnectInfo
-
- getTypeString() - Method in class dk.lego.devicesdk.device.ConnectInfo
-
- getUnit() - Method in class dk.lego.devicesdk.input_output.DataFormat
-
- getUnit() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- getUnsignedByte(ByteBuffer) - Static method in class dk.lego.devicesdk.utils.ByteUtils
-
- getUnsignedByte(ByteBuffer, int) - Static method in class dk.lego.devicesdk.utils.ByteUtils
-
- getUnsignedInt(ByteBuffer) - Static method in class dk.lego.devicesdk.utils.ByteUtils
-
- getUnsignedInt(ByteBuffer, int) - Static method in class dk.lego.devicesdk.utils.ByteUtils
-
- getUnsignedShort(ByteBuffer) - Static method in class dk.lego.devicesdk.utils.ByteUtils
-
- getUnsignedShort(ByteBuffer, int) - Static method in class dk.lego.devicesdk.utils.ByteUtils
-
- getUuid() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- getValidDataFormats() - Method in class dk.lego.devicesdk.services.LegoService
-
The data formats that this service may use to parse received data.
- getValue() - Method in enum dk.lego.devicesdk.device.ConnectInfo.IOType
-
- getValue() - Method in enum dk.lego.devicesdk.device.LegoDevice.DeviceCategory
-
- getValue() - Method in enum dk.lego.devicesdk.device.LegoDevice.DeviceFunction
-
- getValue() - Method in enum dk.lego.devicesdk.input_output.InputFormat.InputFormatUnit
-
- getValue() - Method in enum dk.lego.devicesdk.logging.LDSDKLogger.LoggerLevel
-
- getValue() - Method in enum dk.lego.devicesdk.services.MotionSensor.MotionSensorMode
-
- getValue() - Method in enum dk.lego.devicesdk.services.Motor.MotorDirection
-
- getValue() - Method in enum dk.lego.devicesdk.services.PiezoTonePlayer.PiezoTonePlayerNote
-
- getValue() - Method in enum dk.lego.devicesdk.services.RGBLight.RGBLightMode
-
- getValue() - Method in enum dk.lego.devicesdk.services.TiltSensor.TiltSensorDirection
-
- getValue() - Method in enum dk.lego.devicesdk.services.TiltSensor.TiltSensorMode
-
- getValueAsFloat() - Method in class dk.lego.devicesdk.services.LegoService
-
The latest received value from the service as an integer.
- getValueAsInteger() - Method in class dk.lego.devicesdk.services.LegoService
-
The latest received value from the service as an integer.
- getValueAsMilliAmps() - Method in class dk.lego.devicesdk.services.CurrentSensor
-
- getValueAsMilliVolts() - Method in class dk.lego.devicesdk.services.VoltageSensor
-
- getValueData() - Method in class dk.lego.devicesdk.services.LegoService
-
The latest received value from the service as raw data
- i(String) - Static method in class dk.lego.devicesdk.logging.LDSDKLogger
-
- info(String) - Method in interface dk.lego.devicesdk.logging.CustomLogger
-
Used to log information on the flow through the system and other interesting events.
- info(String) - Method in class dk.lego.devicesdk.logging.DefaultAndroidCustomLogger
-
- info(String) - Method in class dk.lego.devicesdk.logging.DefaultSilentCustomLogger
-
- INPUT_FORMAT_PACKAGE_SIZE - Static variable in class dk.lego.devicesdk.input_output.InputFormat
-
- InputCommand - Class in dk.lego.devicesdk.input_output
-
- InputFormat - Class in dk.lego.devicesdk.input_output
-
This class represent a configuration of a Input (sensor).
- inputFormat(byte[]) - Static method in class dk.lego.devicesdk.input_output.InputFormat
-
- inputFormat(int, ConnectInfo.IOType, int, int, InputFormat.InputFormatUnit, boolean) - Static method in class dk.lego.devicesdk.input_output.InputFormat
-
Create a new instance of an InputFormat.
- inputFormat - Variable in class dk.lego.devicesdk.services.LegoService
-
- InputFormat.InputFormatUnit - Enum in dk.lego.devicesdk.input_output
-
The input format unit
- inputFormatBySettingDeltaInterval(byte) - Method in class dk.lego.devicesdk.input_output.InputFormat
-
Creates a copy of this input format with a new delta interval
- inputFormatBySettingMode(int) - Method in class dk.lego.devicesdk.input_output.InputFormat
-
Creates a copy of this input format with a new mode
- inputFormatBySettingModeAndUnit(int, InputFormat.InputFormatUnit) - Method in class dk.lego.devicesdk.input_output.InputFormat
-
Creates a copy of this input format with a new mode and unit
- inputFormatBySettingNotificationsEnabled(boolean) - Method in class dk.lego.devicesdk.input_output.InputFormat
-
Creates a copy of this input format with a new value for notifications enabled
- invokeMethod(String, Map<String, Object>) - Method in class dk.lego.devicesdk.unity.UnityInvoker
-
- IO - Class in dk.lego.devicesdk.input_output
-
- IO() - Constructor for class dk.lego.devicesdk.input_output.IO
-
- io - Variable in class dk.lego.devicesdk.services.LegoService
-
- IoCallbackHelper - Class in dk.lego.devicesdk.bluetooth
-
- IoCallbackHelper() - Constructor for class dk.lego.devicesdk.bluetooth.IoCallbackHelper
-
- IOCallbackListener - Interface in dk.lego.devicesdk.input_output
-
- ioServiceDefinition() - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- IOServiceDefinition - Class in dk.lego.devicesdk.bluetooth.service_definitions
-
- is16BitUuid(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
Check whether the given parcelUuid can be converted to 16 bit bluetooth uuid.
- is32BitUuid(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
Check whether the given parcelUuid can be converted to 32 bit bluetooth uuid.
- isAdvAudioDist(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isAdvertising() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- isAudioSink(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isAudioSource(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isAutomaticReconnectOnConnectionLostEnabled() - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
- isAutomaticReconnectOnConnectionLostEnabled() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- isAutomaticReconnectOnConnectionLostEnabled() - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
- isAutomaticReconnectOnConnectionLostEnabled() - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- isAvrcpController(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isAvrcpTarget(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isBluetoothAvailable() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- isBluetoothAvailable() - Method in interface dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapper
-
Is Bluetooth available on device
- isBluetoothAvailable() - Method in class dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapperImpl
-
- isBluetoothEnabled() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- isBluetoothEnabledOnDevice() - Method in interface dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapper
-
Is Bluetooth enabled on device
- isBluetoothEnabledOnDevice() - Method in class dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapperImpl
-
- isBnep(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isBraking() - Method in class dk.lego.devicesdk.services.Motor
-
true if the motor is currently braking (not running)
- isButtonPressed() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
The most recent button pressed state read from the Device.
- isButtonPressed() - Method in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- isComplete() - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- isDrifting() - Method in class dk.lego.devicesdk.services.Motor
-
true if the motor is currently drifting / floating.
- isEqualToDefinition(BluetoothServiceDefinition) - Method in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- isHandsfree(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isHeadset(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isInputDevice(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isInternalService() - Method in class dk.lego.devicesdk.services.LegoService
-
- isLowVoltage() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- isLowVoltage() - Method in interface dk.lego.devicesdk.device.LegoDevice
-
True if the a low voltage alert has been received from the Device, indicating that batteries should be changed/charged
- isMandatory() - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- isMap(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isMas(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isMns(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isNap(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isNotificationsEnabled() - Method in class dk.lego.devicesdk.input_output.InputFormat
-
- isPanu(ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
- isUuidPresent(ParcelUuid[], ParcelUuid) - Static method in class dk.lego.devicesdk.android.bluetooth.BluetoothUuid
-
Returns true if ParcelUuid is present in uuidArray
- scan(Context) - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
Start scanning for LEGO BLE devices
- scan(Context) - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- scan(Context) - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
Start scanning for LEGO devices
- scan(Context) - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- scan() - Method in interface dk.lego.devicesdk.unity.LegoDeviceManagerWrapper
-
- scan() - Method in class dk.lego.devicesdk.unity.LegoDeviceManagerWrapperImpl
-
- ScanRecord - Class in dk.lego.devicesdk.android.bluetooth.le
-
Imported from Android to support simple parsing of raw scanRecord from device.
- sendReadValueRequest() - Method in class dk.lego.devicesdk.services.LegoService
-
If the notifications is disabled for the service in the inputFormat through
InputFormat.notificationsEnabled
you will have to use this method to request an updated value for the service.
- sendResetStateRequest() - Method in class dk.lego.devicesdk.services.LegoService
-
This will send a reset command to the Device for this service.
- serializeColor(int) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeDevice(LegoDevice) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeDeviceBatteryLevel(LegoDevice, int) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeDeviceButtonStateChange(LegoDevice, boolean) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeDeviceError(LegoDevice, LDSDKError) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeDeviceLowVoltage(LegoDevice, boolean) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeDeviceNameChange(LegoDevice, String, String) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeDevices(List<? extends LegoDevice>) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeInputFormat(InputFormat) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeService(LegoService) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeService(LegoService, boolean) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceAngleChange(TiltSensor, TiltSensor.TiltSensorAngle, TiltSensor.TiltSensorAngle) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceColorChange(RGBLight, Integer, Integer) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceColorIndexChange(RGBLight, int, int) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceCountChange(MotionSensor, int) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceCrashChange(TiltSensor, TiltSensor.TiltSensorCrash, TiltSensor.TiltSensorCrash) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceCurrentChange(CurrentSensor, float) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(LegoService) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(Motor) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(RGBLight) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(MotionSensor) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(TiltSensor) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(VoltageSensor) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(CurrentSensor) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceData(PiezoTonePlayer) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceDirectionChange(TiltSensor, TiltSensor.TiltSensorDirection, TiltSensor.TiltSensorDirection) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceDistanceChange(MotionSensor, float, float) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceInputFormatChange(LegoService, InputFormat, InputFormat) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceValueDataChange(LegoService, byte[], byte[]) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceVoltageChange(VoltageSensor, float) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- serializeServiceWithData(LegoService) - Method in class dk.lego.devicesdk.unity.WrapperSerialization
-
- SERVICE_RGB_LIGHT_NAME - Static variable in class dk.lego.devicesdk.services.RGBLight
-
- ServiceCallbackListener - Interface in dk.lego.devicesdk.services
-
Implement this listener to be notified when a service (typically a sensor of some kind) sends an updated value.
- serviceDefinitionWithUUID(UUID) - Static method in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- serviceName - Variable in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- services - Variable in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- serviceUUID - Variable in class dk.lego.devicesdk.bluetooth.service_definitions.BluetoothServiceDefinition
-
- setAdvertising(boolean) - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- setAutomaticReconnectOnConnectionLostEnabled(boolean) - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
- setAutomaticReconnectOnConnectionLostEnabled(boolean) - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- setAutomaticReconnectOnConnectionLostEnabled(boolean) - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
If enabled, the LegoDeviceManager will attempt to reconnect in case of a connection loss, but only if the connection was not closed by the user,
the default value is false.
- setAutomaticReconnectOnConnectionLostEnabled(boolean) - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- setCharacteristicNotification(BluetoothGattCharacteristic, boolean) - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDevice
-
Wrapper for BluetoothGatt.setCharacteristicNotification(android.bluetooth.BluetoothGattCharacteristic, boolean)
- setCharacteristicNotification(BluetoothGattCharacteristic, boolean) - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- setColor(int) - Method in class dk.lego.devicesdk.services.RGBLight
-
- setColorIndex(int) - Method in class dk.lego.devicesdk.services.RGBLight
-
- setConnectRequestTimeoutInterval(long) - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
- setConnectRequestTimeoutInterval(long) - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- setConnectRequestTimeoutInterval(long) - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
- setConnectRequestTimeoutInterval(long) - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- setContext(Context) - Method in interface dk.lego.devicesdk.unity.LegoDeviceManagerWrapper
-
- setContext(Context) - Method in class dk.lego.devicesdk.unity.LegoDeviceManagerWrapperImpl
-
- setCustomLogger(CustomLogger) - Method in class dk.lego.devicesdk.logging.LDSDKLogger
-
You may set a custom log writer that all log from the library will be written to.
- setDevice(LegoDevice) - Method in class dk.lego.devicesdk.services.LegoService
-
- setFirmwareRevisionString(String) - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- setHardwareRevisionString(String) - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- setLogLevel(LDSDKLogger.LoggerLevel) - Method in class dk.lego.devicesdk.logging.LDSDKLogger
-
- setLogLevel(int) - Method in interface dk.lego.devicesdk.unity.LegoLoggerWrapper
-
- setLogLevel(int) - Method in class dk.lego.devicesdk.unity.LegoLoggerWrapperImpl
-
- setMainHandler(Handler) - Method in class dk.lego.devicesdk.utils.HandlerHelper
-
- setManufacturerName(String) - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- setMotionSensorMode(MotionSensor.MotionSensorMode) - Method in class dk.lego.devicesdk.services.MotionSensor
-
- setMotionSensorMode(String, String, String) - Method in interface dk.lego.devicesdk.unity.LegoServiceWrapper
-
- setMotionSensorMode(String, String, String) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- setName(String) - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceImpl
-
- setName(String) - Method in interface dk.lego.devicesdk.device.LegoDevice
-
Writing a new name will immediately update the property value, even though the actual write to the
hardware is asynchronously, and may potentially fail.
- setRGBLightMode(String, String, String) - Method in interface dk.lego.devicesdk.unity.LegoServiceWrapper
-
- setRGBLightMode(String, String, String) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- setRGBMode(RGBLight.RGBLightMode) - Method in class dk.lego.devicesdk.services.RGBLight
-
Sets the current mode of the RGB
- setSoftwareRevisionString(String) - Method in class dk.lego.devicesdk.device.DeviceInfo
-
- setTiltSensorMode(TiltSensor.TiltSensorMode) - Method in class dk.lego.devicesdk.services.TiltSensor
-
- setTiltSensorMode(String, String, String) - Method in interface dk.lego.devicesdk.unity.LegoServiceWrapper
-
- setTiltSensorMode(String, String, String) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- startLeScan() - Method in interface dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapper
-
Start Bluetooth LE scan
- startLeScan() - Method in class dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapperImpl
-
- stopLeScan() - Method in interface dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapper
-
Stop Bluetooth LE scan
- stopLeScan() - Method in class dk.lego.devicesdk.bluetooth.wrappers.AndroidBluetoothAdapterWrapperImpl
-
- stopPlaying() - Method in class dk.lego.devicesdk.services.PiezoTonePlayer
-
Stop playing any currently playing tone.
- stopPlaying(String, String) - Method in interface dk.lego.devicesdk.unity.LegoServiceWrapper
-
- stopPlaying(String, String) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- stopScanning() - Method in interface dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManager
-
Stop scanning for LEGO BLE devices
- stopScanning() - Method in class dk.lego.devicesdk.bluetooth.LegoBluetoothDeviceManagerImpl
-
- stopScanning() - Method in interface dk.lego.devicesdk.device.LegoDeviceManager
-
Stop scanning for LEGO BLE devices
- stopScanning() - Method in class dk.lego.devicesdk.device.LegoDeviceManagerImpl
-
- stopScanning() - Method in interface dk.lego.devicesdk.unity.LegoDeviceManagerWrapper
-
- stopScanning() - Method in class dk.lego.devicesdk.unity.LegoDeviceManagerWrapperImpl
-
- supportedFunctions - Variable in class dk.lego.devicesdk.device.LegoDeviceImpl
-
- switchOff() - Method in class dk.lego.devicesdk.services.RGBLight
-
Switch off the RGB light on the device
- switchOff(String, String) - Method in interface dk.lego.devicesdk.unity.LegoServiceWrapper
-
- switchOff(String, String) - Method in class dk.lego.devicesdk.unity.LegoServiceWrapperImpl
-
- switchToDefaultColor() - Method in class dk.lego.devicesdk.services.RGBLight
-
Switch to the default Color (i.e.
- v(String) - Static method in class dk.lego.devicesdk.logging.LDSDKLogger
-
- validateDefinitionIsSatisfiedByCharacteristic(BluetoothGattCharacteristic) - Method in class dk.lego.devicesdk.bluetooth.service_definitions.CharacteristicDefinition
-
- valueOf(String) - Static method in enum dk.lego.devicesdk.bluetooth.BluetoothHelper.Permissions
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.bluetooth.BluetoothHelper.Properties
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.device.ConnectInfo.IOType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.device.LegoDevice.DeviceCategory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.device.LegoDevice.DeviceFunction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.device.LegoDevice.DeviceState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.input_output.InputFormat.InputFormatUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.LDSDKError.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.logging.LDSDKLogger.LoggerLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.services.MotionSensor.MotionSensorMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.services.Motor.MotorDirection
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.services.PiezoTonePlayer.PiezoTonePlayerNote
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.services.RGBLight.RGBLightMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.services.TiltSensor.TiltSensorDirection
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dk.lego.devicesdk.services.TiltSensor.TiltSensorMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dk.lego.devicesdk.bluetooth.BluetoothHelper.Permissions
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.bluetooth.BluetoothHelper.Properties
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.device.ConnectInfo.IOType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.device.LegoDevice.DeviceCategory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.device.LegoDevice.DeviceFunction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.device.LegoDevice.DeviceState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.input_output.InputFormat.InputFormatUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.LDSDKError.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.logging.LDSDKLogger.LoggerLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.services.MotionSensor.MotionSensorMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.services.Motor.MotorDirection
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.services.PiezoTonePlayer.PiezoTonePlayerNote
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.services.RGBLight.RGBLightMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.services.TiltSensor.TiltSensorDirection
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum dk.lego.devicesdk.services.TiltSensor.TiltSensorMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verbose(String) - Method in interface dk.lego.devicesdk.logging.CustomLogger
-
Used to log detailed information.
- verbose(String) - Method in class dk.lego.devicesdk.logging.DefaultAndroidCustomLogger
-
- verbose(String) - Method in class dk.lego.devicesdk.logging.DefaultSilentCustomLogger
-
- VERSION_CODE - Static variable in class dk.lego.devicesdk.BuildConfig
-
- VERSION_NAME - Static variable in class dk.lego.devicesdk.BuildConfig
-
- VoltageSensor - Class in dk.lego.devicesdk.services
-
- VoltageSensorCallbackListener - Interface in dk.lego.devicesdk.services
-
Implement this callback listener to be notified when the
VoltageSensor
updates its value