| java.lang.Object | |
| ↳ | com.samsung.android.knox.EnterpriseKnoxManager |
Public interface for managing premium policies enforced on a device. Most clients of this class
must have published a
DeviceAdminReceiver that the user has currently enabled.
| API level 6 |
| KNOX 1.0 |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the object to access the Advanced Restriction policy.
| |||||||||||
Get the object to access the Enterprise AuditLog policy
| |||||||||||
Get the object to access the Certificate Policy.
| |||||||||||
Get the object to access Client Certificate Manager policy
| |||||||||||
Get the object to access the Enhanced Attestation Policy.
| |||||||||||
Get the object to access the Enterprise Billing Policy
| |||||||||||
Get the object to access the Enterprise Certificate Enrollment Policy.
| |||||||||||
Get the object to access the GenericVpnPolicy.
| |||||||||||
API to create an instance of EnterpriseKnoxManager Object.
| |||||||||||
Get the object to access the KnoxContainerManager for the given containerId.
| |||||||||||
Get the object to access the Knox Push Service.
| |||||||||||
Deprecated
in API level 35
| |||||||||||
API to create an parent instance of EnterpriseKnoxManager Object.
| |||||||||||
Get the object to access TIMA Keystore policy
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Get the object to access the Advanced Restriction policy.
null.| Administrator can get the object to access the Advanced Restriction policy. |
| API level 11 |
| KNOX 2.0 |
Get the object to access the Enterprise AuditLog policy
null.| Administrator can get the object to access the Enterprise AuditLog policy. |
| API level 6 |
| KNOX 1.0 |
Get the object to access the Certificate Policy.
CertificatePolicy object if success, else null.Admin can get the object to access the CertificatePolicy object.
|
| API level 11 |
| KNOX 2.0 |
Get the object to access Client Certificate Manager policy
| Administrator can get the object to access the Client Certificate Manager policy. |
| API level 11 |
| KNOX 2.0 |
Get the object to access the Enhanced Attestation Policy.
EnhancedAttestationPolicy object if success, else null.Used to get the object to access the Enhanced Attestation Policy. |
| API level 29 |
| KNOX 3.4 |
Get the object to access the Enterprise Billing Policy
| API level 13 |
| KNOX 2.2 |
Get the object to access the Enterprise Certificate Enrollment Policy.
| cepProtocol | The Certificate enrollment protocol for which the policy object is
retrieved e.g.
CERT_PROFILE_TYPE_SCEP for
SCEP. |
|---|
EnterpriseCertEnrollPolicy object if success, else null.Admin can get the object to access the EnterpriseCertEnrollPolicy. |
| API level 12 |
| KNOX 2.1 |
Get the object to access the GenericVpnPolicy.
Additional info:
Administrator can instantiate the GenericVpnPolicy class using the below API.
NOTE: From API level 30 on, this method can receive com.android.settings as
vendorPkgName parameter to retrieve
and delete VPN profiles created by the
end-user. APIs that are not supported for this vendor will return
OPERATION_NOT_ALLOWED_FOR_VENDOR.
| vendorPkgName | Vpn Client or Android Settings (see the note above) package name. |
|---|---|
| userId | The Id of the user in which the Vpn Client is installed 0, If the Vpn Client is installed in Main User (Non-Container). |
null.| SecurityException | If caller does not have required permissions. |
|---|
Administrator can get the object to access the GenericVpnPolicy.
EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context);
GenericVpnPolicy gvp = ekm.getGenericVpnPolicy("com.vpn.solution", userId):
|
| API level 11 |
| KNOX 2.0 |
API to create an instance of EnterpriseKnoxManager Object.
| context | The Android context object of the calling application. |
|---|
null| Used to get access to EnterpriseKnoxManager object.
EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context);
|
| API level 6 |
| KNOX 1.0 |
Get the object to access the KnoxContainerManager for the given containerId.
| containerId | The ID of the container to be managed. |
|---|
null.| Administrator can get the object to access the Knox Container Management policies. This object can be used to perform actions on the container with the specified Id. |
| API level 11 |
| KNOX 2.0 |
Get the object to access the Knox Push Service.
KnoxPushService object if success, else null.Used to get the object to access the Knox Push Service. |
| API level 35 |
| KNOX 3.8 |
Deprecated in API level 35
Get the object to access the network analytics platform.
null.| SecurityException | If caller does not have required permissions. |
|---|
Administrator can get the object to access the Network Analytics platform APIs. |
| API level 22 |
| KNOX 2.8 |
API to create an parent instance of EnterpriseKnoxManager Object.
| context | The Android context object of the calling application. |
|---|
null| Used to get access to parent EnterpriseKnoxManager object.
EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context);
|
| API level 33 |
| KNOX 3.7 |
Get the object to access TIMA Keystore policy
| Administrator can get the object to access the TIMA Keystore policy. |
| API level 11 |
| KNOX 2.0 |