java.lang.Object | |
↳ | com.samsung.android.knox.container.CreationParams |
Deprecated
in API level 36
NOTE: This API is not available since Android 13.
Interface for building parameters to the create the Container.
API level 13 |
KNOX 2.2 |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
API to set the administrator package name used in the container creation.
| |||||||||||
API to set the configuration name used in the container creation.
| |||||||||||
API to enable the sensitive data protection for the container.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
API to set the administrator package name used in the container creation. As part of creation process, framework will install and activate the app with passed package name as admin inside the container. Then ownership of container gets transferred to the admin app installed inside container from the creator application. Creator of the container looses all claims on the container and will not be able to apply any policy at all.
NOTE: Currently device administrator should pass its own package name to install inside container. Device administrator application data will be restored to application installed inside container.
Please look at doSelfUninstall()
for post container creation steps.
packageName | The package name of the administrator application to whom container ownership will be transferred. |
---|
API level 13 |
KNOX 2.2 |
API to set the configuration name used in the container creation.
configurationName | The unique name used to identify configuration getName() . |
---|
API level 13 |
KNOX 2.2 |
API to enable the sensitive data protection for the container.
The key used by administrator in this API should be stored and is mandatory in order to reset the container password
through resetContainerPassword(String, int)
at later point.
API level 13 |
KNOX 2.2 |