The FeedbackEffect element is the base class for all feedback effects. More...
Inherited by FileEffect and HapticsEffect.
This element was introduced in Mobility 1.1.
This element is part of the QtMobility.feedback 1.1 module.
You can't create one of these elements directly, but several other elements inherit the methods and properties of these elements.
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.
2. State This enum describes the state of the effect. An effect will be in one of these states.
3. ErrorType This enum describes the possible errors happening on the effect.
See also FileEffect, ThemeEffect, HapticsEffect, and QFeedbackEffect.
duration : int |
The duration of the effect, in milliseconds. This is 0 for effects of unknown duration, or Feedback.Infinite for effects that don't stop.
This property group was introduced in Mobility 1.1.
See also Feedback.
This property holds the error status of the FeedbackEffect. The error is one of the following values:
This property group was introduced in Mobility 1.1.
See also Feedback and QFeedbackEffect::ErrorType.
paused : bool |
This property is true if this feedback effect is paused.
This property group was introduced in Mobility 1.1.
running : bool |
This property is true if this feedback effect is running.
This property group was introduced in Mobility 1.1.
This is the current state of the effect. It is one of:
This property group was introduced in Mobility 1.1.
See also Feedback.