buttplugio / buttplug-rs-ffi

FFI from buttplug-rs to Java and other languages
Other
89 stars 22 forks source link

Add a read-only property to ButtplugClient that indicates whether scanning is in progress. #37

Closed kyrahabattoir closed 3 years ago

kyrahabattoir commented 3 years ago

Feature Description

To be able to quickly check whether ButtplugClient is currently scanning or not.

Given that there is already "Connected", maybe have a quad-state "Status" enum instead if a separate boolean? (disconnected/connecting/connected/scanning, 'connecting' because connection isn't instant and doesn't necessarily mean disconnected?).

I just can't think of a case where you would be scanning and also disconnected.