Near Field Communications
This topic describes how to add support for NFC with the Knox SDK. You can control NFC globally or individually on the device / container side. The use of this API requires the caller to have the com.samsung.android.knox.permission.KNOX_HW_CONTROL
permission.
Enable NFC in container only
enableNFC()
allows you to control NFC in the container.
-
Create a Knox Container.
-
Get the Knox container manager object.
-
Access the
getContainerConfigurationPolicy
class. -
Call
enableNFC()
and set totrue
.EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context); KnoxContainerManager kcm = ekm.getKnoxContainerManager(containerID); ContainerConfigurationPolicy ccp = kcm.getContainerConfigurationPolicy(); ccp.enableNFC(true, null);
On this page
Is this page helpful?