Click or drag to resize

AppManagerSetApplicationHidden Method

Call this method to hide or unhide packages.

Namespace:  Com.Datalogic.Device.App
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual int SetApplicationHidden(
	string packageName,
	bool hidden
)

Parameters

packageName
Type: SystemString
- String The name of the package to hide or unhide.
hidden
Type: SystemBoolean
- boolean True if the package should be hidden, false if it should be unhidden.

Return Value

Type: Int32
intSuccess in case of success, otherwise a possible error code, matching one of the AppManagerException error constants.
Exceptions
ExceptionCondition
AppManagerException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Call this method to hide or unhide packages.


If the package is already hide/unhide the method returns GenericError

.

[Android Documentation]

See Also