isModeSupported

open fun isModeSupported(scanMode: ScanMode): Boolean

Helper to check if a particular scan mode is supported by this device (i.e. - checks if the mode is present in the supportedModes list). This value is valid only after a connection has successfully been opened.

Parameters

scanMode

Scan mode to check for compatibility