setHapticFeedbackEnabled

open override fun setHapticFeedbackEnabled(listener: OnDeviceResultListener, enabled: Boolean)

Set the value for hapticFeedbackEnabled. This method is asynchronous and will return immediately.

Parameters

listener

Callback interface which will provide command status on completion

enabled

New state for this option