DLSecondDisplayManager Class |
Namespace: Com.Datalogic.Device.Display
The DLSecondDisplayManager type exposes the following members.
Name | Description | |
---|---|---|
AllowedPackages | Returns the list of allowed packages to show own Android notifications on the 2nd Display. | |
Brightness | Return an integer value that represents the brightness percentage level on 2nd display | |
Instance | Returns an instance of the DLSecondDisplayManager | |
IsSecondDisplayAvailable | Returns the availability of the 2nd Display feature. | |
IsSecondDisplayEnabled | Returns the enabled/disabled status of the 2nd Display. | |
JniPeerMembers | To be added. | |
NewAppEnabled | Return a boolean value that represents if new Apps will show notifications on 2nd display | |
RotateEnabled | Return a boolean value that represents if rotation is enabled on 2nd display | |
RotationSpeed | Return an enum that represents 2nd display rotation speed | |
SwitchOffTimeout | Return an enum that represents 2nd display switch-off timeout |
Name | Description | |
---|---|---|
AddPackage | Allows a package to show its own content on the 2nd Display. | |
IsPackageAllowed | Returns the allowed/disallowed configuration for the given package to show its own content ont the 2nd Display. | |
RemovePackage | Disable the given package to show its own content on the 2nd Display. | |
SetBrightness | Set brightness level on 2nd display | |
SetNewAppEnabled | Enable or disable notifications on 2nd display for all the new Apps | |
SetRotateEnabled | Set rotation on 2nd display | |
SetRotationSpeed | Set 2nd display rotation speed | |
SetSecondDisplayEnabled | Enables or disables the 2nd Display. | |
SetSwitchOffTimeout | Set switch-off timeout on 2nd display |
In order to show a notification on the 2nd Display, an App shall be allowed with AddPackage(String), that adds the given installed App in the list of allowed Apps. After that, when that App sends an Android notification, it will be shown on 2nd Display. The RemovePackage(String), on the contrary, allows to remove an installed App from the list of allowed Apps. By default, all installed Apps are allowed to show notifications on 2nd Display. So, the SetNewAppEnabled(Boolean) API allows to change the default behavior for the Apps installed at a later stage, while the current configuration for the installed Apps is preserved.
Android documentation and provide helpful information to create and manage notifications.
Moreover, to have a better understanding of 2nd Display and notification management, the is highly recommended.