enableHardwareButtonsIfNeeded

open fun enableHardwareButtonsIfNeeded(@NonNull activity: Activity)

Call this method to enable the hardware buttons (PTT &EMERGENCY) are enabled. If they are already enabled, nothing will happens.

To enable the hardware buttons requires to activate a new device administrator to the system.

Note that : even if hardware buttons are enabled, the hardware buttons clicks will be received only if Knox licence is activated !

Parameters

activity