Click or drag to resize

DLSecondDisplayManagerAddPackage Method

Allows a package to show its own content on 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 AddPackage(
	string packageName
)

Parameters

packageName
Type: SystemString
- Name of the package to be added to the list of packages allowed to show notifications on the 2nd display.

Return Value

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

Allows a package to show its own content on the 2nd Display. This method allows Android notifications sent by the given package to be shown on the 2nd Display.

[Android Documentation]

See Also