Click or drag to resize

SoftSpot Class

Inheritance Hierarchy
Object
  Com.Datalogic.SoftspotSoftSpot

Namespace:  Com.Datalogic.Softspot
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class SoftSpot : Object

The SoftSpot type exposes the following members.

Constructors
  NameDescription
Public methodSoftSpot
Initializes a new instance of the SoftSpot class
Top
Properties
  NameDescription
Public propertyEnabled
When SoftSpot is enabled then it will either be currently showing, or a notification is available to show.
Public propertyJniPeerMembers
To be added.
Public propertyLockState
Get current lock state (can I move it around the screen on finger drag?)
Public propertyPosition
Current X/Y position
Public propertyPositionMax
Maximum X/Y position
Public propertyPositionMin
Minimum X/Y position
Public propertyScale
Current scale multiplier
Public propertyScaleMax
Maximum scale multiplier
Public propertyScaleMin
Minimum scale multiplier
Public propertyVibrator
Is vibration enabled when using SoftSpot?
Top
Methods
  NameDescription
Public methodClearCustomImage
Delete the custom image for the given ImageEnum.
Public methodClearWorkingArea
Reset the working area to the whole screen.
Public methodGetImage
Get the image in use for the given ActionType and ImageState values.
Public methodGetWorkingArea
Get Area that SoftSpot can move within
Public methodHide
Hide SoftSpot.
Public methodLock
Set lock state of SoftSpot, it impacts SoftSpot motion ability on finger dragging events.
Public methodSetCustomImage(ImageEnum, File)
Copy the image located at the given filepath, then assigns the custom imageEnum to use that image.
Public methodSetCustomImage(ImageEnum, Byte)
Copy the image in the byte array, then assigns the custom imageEnum to use that image.
Public methodSetDecodedDuration
Set the duration for how long the decoded image should be displayed on screen after a good read before switching back to the Normal
Public methodSetImage
Set the image to use when SoftSpot has the given ActionType and ImageState values.
Public methodSetWorkingArea
Public methodShow
Show SoftSpot.
Top
Fields
  NameDescription
Public fieldStatic memberTimeoutMillis
API will return the last known value if SoftSpot does not respond before the timeout.
Top
Remarks
API to configure SoftSpot. All X/Y coordinates are based at the top-left of the screen. The left of the screen is where X is 0, and the top of the screen is where Y is 0.

[Android Documentation]

See Also