measure
Run a measurement for the specified scan modes, or all supported scan modes if none are specified. If unsupported modes are selected, the measurement will fail with status code CommandStatus.ERROR_NOT_SUPPORTED. This method is asynchronous and will return immediately. Status of this operation is provided by the OnDeviceResultListener callback
Parameters
listener
Callback interface which provides the command status and measurements on completion
modes
Scan modes to select. If omitted, the device will measure for all supported modes