| java.lang.Object | |
| ↳ | com.ardic.android.parcelables.AppControlItem |
Holds application related data which is used application running decisions.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | PERMISSION_SEPARATOR | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds the new blocked permission to application blocked permission list.
| |||||||||||
Clears the all blocked permissions from application blocked permission list.
| |||||||||||
Returns the concatenated blocked permissions separated with
PERMISSION_SEPARATOR. | |||||||||||
Returns
true if application permission list contains permission else false | |||||||||||
Returns the blocked permission list.
| |||||||||||
Returns the application package name.
| |||||||||||
Returns the application clear data blocked state.
| |||||||||||
Returns the application force stop blocked state.
| |||||||||||
Returns the application network connection blocked state.
| |||||||||||
Returns the application blocked state.
| |||||||||||
Returns the application uninstall blocked state.
| |||||||||||
Removes the blocked permission from application blocked permission list.
| |||||||||||
Sets the application clear data blocked state.
| |||||||||||
Sets the application force stop blocked state.
| |||||||||||
Sets the application network connection blocked state.
| |||||||||||
Sets the application blocked state.
| |||||||||||
Sets the application uninstall blocked state.
| |||||||||||
Returns the splitted blocked permission list which is separated with
PERMISSION_SEPARATOR. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
| Parameters | |
|---|---|
item |
AppControlItem
|
| Throws | |
|---|---|
RuntimeException |
if packageName is null |
| Parameters | |
|---|---|
packageName |
String:
Application package name |
| Throws | |
|---|---|
RuntimeException |
if packageName is null |
| Parameters | |
|---|---|
packageName |
String:
Application package name |
packageBlocked |
boolean:
Application blocked state |
networkBlocked |
boolean:
Application network connectable blocked state |
forceStopBlocked |
boolean:
Application force stoppable blocked state |
uninstallBlocked |
boolean:
Application uninstallable blocked state |
clearDataBlocked |
boolean:
Application data clearable blocked state |
blockedPermissionList |
List:
Application blocked permission list |
| Throws | |
|---|---|
RuntimeException |
if packageName is null |
Adds the new blocked permission to application blocked permission list.
| Parameters | |
|---|---|
blockedPermission |
String:
Blocked permission. |
| Returns | |
|---|---|
boolean |
true if the operation succeeds else false
|
Clears the all blocked permissions from application blocked permission list.
| Returns | |
|---|---|
boolean |
|
Returns the concatenated blocked permissions separated with PERMISSION_SEPARATOR.
| Parameters | |
|---|---|
blockedPermissionList |
List
|
| Returns | |
|---|---|
String |
Blocked permissions |
Returns true if application permission list contains permission else false
| Parameters | |
|---|---|
blockedPermission |
String:
Blocked permission |
| Returns | |
|---|---|
boolean |
true if blocked permission exists in the blocked permission list else
false
|
Returns the application package name.
| Returns | |
|---|---|
String |
Application package name. |
| Returns | |
|---|---|
int |
|
Returns the application clear data blocked state.
| Returns | |
|---|---|
boolean |
true if clearing application's data, cache and defaults partitions blocked
else false
|
Returns the application force stop blocked state.
| Returns | |
|---|---|
boolean |
true if application force stoppable blocked else false
|
Returns the application network connection blocked state.
| Returns | |
|---|---|
boolean |
true if application network connection blocked else false
|
Returns the application blocked state.
| Returns | |
|---|---|
boolean |
true if application is blocked completely else false
|
Returns the application uninstall blocked state.
| Returns | |
|---|---|
boolean |
true if application uninstallable blocked else false
|
Removes the blocked permission from application blocked permission list.
| Parameters | |
|---|---|
blockedPermission |
String:
Blocked permission. |
| Returns | |
|---|---|
boolean |
true if the operation succeeds else false
|
Sets the application clear data blocked state.
| Parameters | |
|---|---|
state |
boolean:
true to block application data clearable else false
|
Sets the application force stop blocked state.
| Parameters | |
|---|---|
state |
boolean:
true to block application force stoppable else false
|
Sets the application network connection blocked state.
| Parameters | |
|---|---|
state |
boolean:
true to block application network connection else false
|
Sets the application blocked state.
| Parameters | |
|---|---|
state |
boolean:
true to block application completely else false
|
Sets the application uninstall blocked state.
| Parameters | |
|---|---|
state |
boolean:
true to blocked application uninstallable else false
|
Returns the splitted blocked permission list which is separated with
PERMISSION_SEPARATOR.
| Parameters | |
|---|---|
blockedPermissions |
String
|
| Returns | |
|---|---|
List<String> |
Blocked permissions list |