enable Knox Feature
open fun enableKnoxFeature(@NonNull activity: Activity, enableRestrictedNetwork: Boolean)
Content copied to clipboard
Call this method to enable the hardware buttons (PTT &EMERGENCY) and to set tha app allowed to restricted network (for the XCover6PRO). 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