Description
The Heartbeat
property of the HapticPattern
class provides a predefined haptic pattern that simulates the sensation of a heartbeat. This static property can be used to create a rhythmic, pulsing feedback that mimics the natural rhythm of a heartbeat, which can be useful in applications where a calming or life-like feedback is desired.
Usage
To use the Heartbeat
haptic pattern, simply access it as a static property of the HapticPattern
class. This pattern can be applied to devices capable of haptic feedback to simulate a heartbeat sensation.
Example
// Example of using the Heartbeat haptic pattern
HapticPattern heartbeatPattern = HapticPattern.Heartbeat;
// Assuming a method to apply the haptic pattern to a device
ApplyHapticPatternToDevice(heartbeatPattern);