Feedback
Defined in namespace Scandit.DataCapture.Core.Common.Feedback
- Vibration
class Vibration
Added in version 6.8.0
A vibration, to be emitted for example when a code has been successfully scanned.
- DefaultVibration
static Vibration DefaultVibration { get; }
Added in version 6.8.0
The default vibration for a successful scan.
- SelectionHapticFeedback
static Vibration SelectionHapticFeedback { get; }
Added in version 6.8.0
It creates haptics to indicate a change in selection. In particular it uses UISelectionFeedbackGenerator. Please note that if the device does not have the Taptic Engine, no vibration will be emitted.
- SuccessHapticFeedback
static Vibration SuccessHapticFeedback { get; }
Added in version 6.8.0
It creates haptics to communicate successes. This is a notification feedback type, indicating that a task has completed successfully. In particular it uses UINotificationFeedbackGenerator with type UINotificationFeedbackTypeSuccess. Please note that if the device does not have the Taptic Engine, no vibration will be emitted.
- Sound
class Sound
Added in version 6.8.0
A sound, to be played for example when a code has been successfully scanned.
- Sound()
Sound(
string
source)Added in version 6.8.0
Creates a new Sound loading the given file.
- Feedback
class Feedback : IDisposable
Added in version 6.8.0
A feedback consisting of a sound and vibration, for example to be provided by a device when a code has been successfully scanned.
- DefaultFeedback
static Feedback DefaultFeedback { get; }
Added in version 6.8.0
The default feedback consisting of a default sound and a default vibration.
- Sound
Sound Sound { get; }
Added in version 6.8.0
The sound to be played when a feedback is required. If null, no sound is played. Depending on the device’s ring mode and/or volume settings, no sound may be played even if this property is properly set to a non-null instance.
- Vibration
Vibration Vibration { get; }
Added in version 6.8.0
The vibration to be emitted when a feedback is required. If null, no vibration is emitted. This property is further influenced by the device’s ring mode: the device may not vibrate even if this property is properly set to a non-null instance.
- Feedback()
Feedback(Vibration vibration)
Added in version 6.8.0
Creates a Feedback that emits the given vibration, but plays no sound.
- Feedback()
Feedback(Sound sound)
Added in version 6.8.0
Creates a Feedback that plays the given sound, but emits no vibration.