AdaptivePreset class

Platform-adaptive haptic preset supplying separate ios and android configs.

Pass to Pulsar.createAdaptiveHaptics; the correct config is selected at runtime.

Constructors

AdaptivePreset({required AdaptivePresetConfig ios, required AdaptivePresetConfig android})
Creates an AdaptivePreset with platform-specific ios and android configs.
const

Properties

android AdaptivePresetConfig
Config used on Android devices.
final
hashCode int
The hash code for this object.
no setterinherited
ios AdaptivePresetConfig
Config used on iOS devices.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited