Click or drag to resize

DLSecondDisplayManagerIsPackageAllowed Method

Returns the allowed/disallowed configuration for the given package to show its own content ont the 2nd Display.

Namespace:  Com.Datalogic.Device.Display
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool IsPackageAllowed(
	string packageName
)

Parameters

packageName
Type: SystemString
- Name of the package to be checked.

Return Value

Type: Boolean
boolean True if the package is allowed, False otherwise (eg. package not found).
Exceptions
ExceptionCondition
ErrorManager
Remarks

Returns the allowed/disallowed configuration for the given package to show its own content ont the 2nd Display. This method can be used to check if Android notifications sent by the given package are allowed or disallowed to be shown on the 2nd Display.

[Android Documentation]

See Also