Actuator QML Type
The Actuator element represents a feedback actuator. More...
Import Statement: | import |
Instantiates: | QFeedbackActuator |
Properties
- actuatorId : int
- enabled : bool
- name : string
- state : enumeration
- valid : bool
Methods
- bool isCapabilitySupported(enumeration capability)
Detailed Description
The Actuator class maps directly to the QFeedbackActuator C++ class, and can be used with HapticsEffect elements.
There are several predefined enumerations and constants provided in this object:
1. Capability
- Envelope - Value specifying that the device can bound its intensity by an envelope.
- Period - Value specifying that the device can play periodic effects.
2. State
- Busy - The actuator is busy.
- Ready - The actuator is ready to play an effect.
- Unknown - The actuator is in an unknown state.
See also HapticsEffect and QFeedbackActuator.
Property Documentation
This property holds the state of the feedback actuator. This property is read only.
Method Documentation
Returns if the actuator supports the supplied capability, available capabilities are:
- Envelope - Value specifying that the device can bound its intensity by an Envelope.
- Period - Value specifying that the device can play periodic effects.