SimpleHapticsController.SendHapticFeedback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SendHapticFeedback(SimpleHapticsControllerFeedback) |
Start haptic feedback by the input device. |
SendHapticFeedback(SimpleHapticsControllerFeedback, Double) |
Start haptic feedback by the input device with the specified intensity. |
SendHapticFeedback(SimpleHapticsControllerFeedback)
Start haptic feedback by the input device.
public:
virtual void SendHapticFeedback(SimpleHapticsControllerFeedback ^ feedback) = SendHapticFeedback;
/// [Windows.Foundation.Metadata.Overload("SendHapticFeedback")]
void SendHapticFeedback(SimpleHapticsControllerFeedback const& feedback);
[Windows.Foundation.Metadata.Overload("SendHapticFeedback")]
public void SendHapticFeedback(SimpleHapticsControllerFeedback feedback);
function sendHapticFeedback(feedback)
Public Sub SendHapticFeedback (feedback As SimpleHapticsControllerFeedback)
Parameters
- feedback
- SimpleHapticsControllerFeedback
The type of haptic feedback.
- Attributes
Applies to
SendHapticFeedback(SimpleHapticsControllerFeedback, Double)
Start haptic feedback by the input device with the specified intensity.
public:
virtual void SendHapticFeedback(SimpleHapticsControllerFeedback ^ feedback, double intensity) = SendHapticFeedback;
/// [Windows.Foundation.Metadata.Overload("SendHapticFeedbackWithIntensity")]
void SendHapticFeedback(SimpleHapticsControllerFeedback const& feedback, double const& intensity);
[Windows.Foundation.Metadata.Overload("SendHapticFeedbackWithIntensity")]
public void SendHapticFeedback(SimpleHapticsControllerFeedback feedback, double intensity);
function sendHapticFeedback(feedback, intensity)
Public Sub SendHapticFeedback (feedback As SimpleHapticsControllerFeedback, intensity As Double)
Parameters
- feedback
- SimpleHapticsControllerFeedback
The type of haptic feedback.
- intensity
-
Double
double
The strength of the haptic feedback based on the capability of the input device.
- 0 disables haptic feedback
- 1.0 is maximum strength
- Attributes