SimpleHapticsController Class

Definition

Provides access to a single haptic input device.

public ref class SimpleHapticsController sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772163)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SimpleHapticsController final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772163)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SimpleHapticsController
Public NotInheritable Class SimpleHapticsController
Inheritance
SimpleHapticsController
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Properties

Id

Gets the identifier for the haptic input device.

IsIntensitySupported

Gets whether the haptic input device supports feedback intensity.

IsPlayCountSupported

Gets whether the haptic input device supports feedback counts.

IsPlayDurationSupported

Gets whether the haptic input device supports feedback duration.

IsReplayPauseIntervalSupported

Gets whether the haptic input device supports pause intervals between feedback cycles.

SupportedFeedback

Gets the types of feedback supported by the haptic input device.

Methods

SendHapticFeedback(SimpleHapticsControllerFeedback)

Start haptic feedback by the input device.

SendHapticFeedback(SimpleHapticsControllerFeedback, Double)

Start haptic feedback by the input device with the specified intensity.

SendHapticFeedbackForDuration(SimpleHapticsControllerFeedback, Double, TimeSpan)

Start haptic feedback by the input device and continue for the specified amount of time.

SendHapticFeedbackForPlayCount(SimpleHapticsControllerFeedback, Double, Int32, TimeSpan)

Start haptic feedback by the input device and repeat for the specified number of times.

StopFeedback()

Terminates haptic feedback by the input device.

Applies to

See also