Sensorberg Smart Spaces SDK for Android / com.sensorberg.smartworkspace.sdk / TapEventListener / onTapEvent
onTapEvent
abstract fun onTapEvent(openable: Openable): Unit
A tap event has just occurred.
- If the tap occurred with known unit the listener will deliver IotUnit
- If the tap occurred, but unit wasn't identified the listener will deliver OnTap
Pass one of those two to UnitController.open to start opening.