Click or drag to resize

GoodRead Class

The class configures various types of notifications that are triggered upon a successful read. It includes options for enabling or disabling different notification methods, such as LED indicators, vibration, and an overlay on the screen.
Inheritance Hierarchy
System.Object
Com.Datalogic.Decode.Configuration.GoodRead

Namespace: Com.Datalogic.Decode.Configuration
Assembly: datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class GoodRead : PropertyGroup

The GoodRead type exposes the following members.

Constructors
NameDescription
Public methodGoodRead
Initializes a new instance of the GoodRead class
Public methodGoodRead
Initializes a new instance of the GoodRead class
Top
Properties
NameDescription
Public propertyGoodReadEnable
goodReadEnable requires the use of the good read notification on a successful read.
Public propertyGoodReadLedEnable
goodReadLedEnable requires the use of the led notification on a successful read.
Public propertyGoodReadOverlayBlackAsTransparent
goodReadOverlayBlackAsTransparent selects whether the black or white color in the overlay should be treated as transparent.
Public propertyGoodReadOverlayColor
goodReadOverlayColor selects which color to use on the overlay as notification on a successful read.
Public propertyGoodReadOverlayCustomShapeNameProfile
goodReadOverlayCustomShapeNameProfile selects which custom shape to use on the overlay as notification on a successful read.
Public propertyGoodReadOverlayEnable
goodReadOverlayEnable requires the use of an overlay as notification on a successful read.
Public propertyGoodReadOverlayLandscapeCustomPositionX
goodReadOverlayLandscapeCustomPositionX selects which custom position for the starting X coordinate (starting from the left) to use for the overlay in landscape mode.
Public propertyGoodReadOverlayLandscapeCustomPositionY
goodReadOverlayLandscapeCustomPositionY selects which custom position for the starting Y coordinate (starting from the top) to use for the overlay in landscape mode.
Public propertyGoodReadOverlayLandscapeCustomSizeMaxHeight
goodReadOverlayLandscapeCustomSizeMaxHeight selects which custom height for the overlay to use in landscape mode.
Public propertyGoodReadOverlayLandscapeCustomSizeMaxWidth
goodReadOverlayLandscapeCustomSizeMaxWidth selects which custom width for the overlay to use in landscape mode.
Public propertyGoodReadOverlayLandscapeDisplayPolicy
goodReadOverlayLandscapeDisplayPolicy selects which node to use for the overlay in landscape mode.
Public propertyGoodReadOverlayLandscapePositionPolicy
goodReadOverlayLandscapePositionPolicy selects which position to use for the overlay in landscape mode.
Public propertyGoodReadOverlayPortraitCustomPositionX
goodReadOverlayPortraitCustomPositionX selects which custom position for the starting X coordinate (starting from the left) to use for the overlay in portrait mode.
Public propertyGoodReadOverlayPortraitCustomPositionY
goodReadOverlayPortraitCustomPositionY selects which custom position for the starting Y coordinate (starting from the top) to use for the overlay in portrait mode.
Public propertyGoodReadOverlayPortraitCustomSizeMaxHeight
goodReadOverlayPortraitCustomSizeMaxHeight defines the max custom height for the overlay to use in portrait mode.
Public propertyGoodReadOverlayPortraitCustomSizeMaxWidth
goodReadOverlayPortraitCustomSizeMaxWidth defines the max custom width for the overlay to use in portrait mode.
Public propertyGoodReadOverlayPortraitDisplayPolicy
goodReadOverlayPortraitDisplayPolicy selects how to display the overlay in portrait mode.
Public propertyGoodReadOverlayPortraitPositionPolicy
goodReadOverlayPortraitPositionPolicy selects which position to use for the overlay in portrait mode.
Public propertyGoodReadOverlayPreserveColors
goodReadOverlayPreserveColors selects whether the original colors of the overlay should be preserved.
Public propertyGoodReadOverlayShapePolicy
goodReaderOverlayShapePolicy selects which shape to use on the overlay as notification on a successful read.
Public propertyGoodReadOverlayTransparency
goodReadOverlayTransparency selects the level of transparency to be applied to the overlay.
Public propertyGoodReadVibrateEnable
goodReadVibrateEnable requires the use of the vibrator notification on a successful read.
Public propertyGreenSpotEnable
greenSpotEnable requires the use of the green spot notification on a successful read.
Public propertyJniPeerMembers
To be added.
Public propertyThresholdClass
To be added.
Public propertyThresholdType
To be added.
Top
Remarks
The GoodRead class configures various types of notifications that are triggered upon a successful read. It includes options for enabling or disabling different notification methods, such as LED indicators, vibration, and an overlay on the screen.

The class provides properties for customizing each type of notification, allowing developers to fine-tune the user experience based on their specific requirements.

The GoodRead class also includes an advanced notification mechanism called the "Good Read Overlay". This overlay appears on the screen upon a successful read and can be customized in terms of color, shape, size, and position. The overlay is adaptable to both portrait and landscape modes, allowing for flexible configuration based on the device's orientation. The portrait and landscape properties are not mutually exclusive; both sets of properties should be configured. Depending on the device's orientation, the appropriate properties will be applied (portrait settings for portrait mode and landscape settings for landscape mode). The class GoodReadOverlayManager provides methods to manage custom images to be used as overlay.

[Android Documentation]

See Also