QtMobility Reference Documentation

QML Actuator Element

The Actuator element represents a feedback actuator. More...

Actuator instantiates the C++ class QFeedbackActuator

This element was introduced in Mobility 1.1.

Properties

Methods

Detailed Description

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

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

read-onlyactuatorId : int

This property holds the id of the feedback actuator. This property is read only.

This property group was introduced in Mobility 1.1.


enabled : bool

This property is true if the feedback actuator is enabled.

This property group was introduced in Mobility 1.1.


read-onlyname : string

This property holds the name of the feedback actuator. This property is read only.

This property group was introduced in Mobility 1.1.


read-onlystate : enumeration

This property holds the state of the feedback actuator. This property is read only.

This property group was introduced in Mobility 1.1.


read-onlyvalid : bool

This property is true if the actuator is valid. This property is read only.

This property group was introduced in Mobility 1.1.


Method Documentation

bool Actuator::isCapabilitySupported ( enumeration capability )

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.

This documentation was introduced in Mobility 1.1.


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.