SimpleHapticsController.SendHapticFeedbackForDuration 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过输入设备启动触觉反馈,并在指定的时间内继续。
public:
virtual void SendHapticFeedbackForDuration(SimpleHapticsControllerFeedback ^ feedback, double intensity, TimeSpan playDuration) = SendHapticFeedbackForDuration;
void SendHapticFeedbackForDuration(SimpleHapticsControllerFeedback const& feedback, double const& intensity, TimeSpan const& playDuration);
public void SendHapticFeedbackForDuration(SimpleHapticsControllerFeedback feedback, double intensity, System.TimeSpan playDuration);
function sendHapticFeedbackForDuration(feedback, intensity, playDuration)
Public Sub SendHapticFeedbackForDuration (feedback As SimpleHapticsControllerFeedback, intensity As Double, playDuration As TimeSpan)
参数
- feedback
- SimpleHapticsControllerFeedback
触觉反馈的类型。