activateKnoxLicense

open fun activateKnoxLicense(@NonNull context: Context, @Nullable callback: IKnoxLicenceUpdateCallback): Boolean

Call this method to activate the Knox license

This method will start the process of activation of License knox if it is not activated else nothing will happens.

Note that : When Knox licence become active, if the hardware buttons are not enabled, they will be enabled automatically.

Return

true if the request of the activation is sent, false otherwise

Parameters

context

Context The application context

callback

: is a block of code which will be invoked when the activation of the Knox licence is completed (sucessfully when isActive = TRUE, or failed when isActive = FALSE)