Qt Mobility Reference Documentation

QML Feedback Element

The Feedback object defines a number of constants More...

Detailed Description

This element is part of the QtMobility.feedback 1.1 module.

There are several predefined enumerations and constants provided in this class:

1. Duration This enum describes the possible predefined duration types. Generally a specific value in milliseconds can be supplied instead of one of these values.

  • Feedback.Infinite - Infinite effect duration

2. State This enum describes the state of the effect. An effect will be in one of these states.

  • Feedback.Stopped - The effect is not running. This is the initial state.
  • Feedback.Paused - Paused The effect is paused.
  • Feedback.Running - The effect is running.
  • Feedback.Loading - The effect is loading.

3. ErrorType This enum describes the possible errors happening on the effect.

  • Feedback.UnknownError - An unknown error occurred.
  • Feedback.DeviceBusy - The feedback could not start because the device is busy, the device could be busy if a higher-priority client is using the haptics/actuator device.

See also FileEffect, ThemeEffect, HapticsEffect, and QFeedbackEffect.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.