There was an error while loading. Please reload this page.
1 parent 162cb6a commit 5b21e13Copy full SHA for 5b21e13
1 file changed
documentation/content/docs/api/jindong-core/core-api.mdx
@@ -211,6 +211,17 @@ val composedPattern = buildHapticPattern {
211
}
212
```
213
214
+If included patterns overlap in time, they are not summed. A single vibration motor
215
+plays one amplitude at a time, so at each instant the strongest active event wins:
216
+
217
+```kotlin
218
+val composed = buildHapticPattern {
219
+ include(strongPattern) // e.g. 0-100ms at HIGH
220
+ include(softPattern) // e.g. 50-150ms at LIGHT
221
+}
222
+// 0-100ms plays at HIGH (it dominates the overlap), then 100-150ms plays at LIGHT.
223
+```
224
225
## Examples
226
227
### ViewModel Usage
0 commit comments