pulsar_types library

Classes

AdaptivePreset
Platform-adaptive haptic preset supplying separate ios and android configs.
AdaptivePresetCallback
An AdaptivePresetConfig that invokes a callback when played.
AdaptivePresetConfig
Platform-specific haptic configuration for AdaptiveHaptics.
AdaptivePresetPattern
An AdaptivePresetConfig that plays a PatternData pattern.
ContinuousPattern
A continuous haptic pattern defined by amplitude and frequency curves.
DiscretePoint
A discrete haptic event. time is in milliseconds. amplitude and frequency are 0.0–1.0.
PatternData
Full haptic pattern combining a continuous curve and discrete events.
ValuePoint
A point in a continuous haptic curve. time is in milliseconds. value is 0.0–1.0.

Enums

HapticSupport
Maps to CompatibilityMode on Android and Pulsar's support model on iOS. Ordinal values match the native CompatibilityMode enum order.
RealtimeComposerStrategy
Android-only haptic composition strategy. Ordinal values match the Android RealtimeComposerStrategy enum order.