Sensory class

This class contains the sensory components of Aureus. This covers animations, haptics, our sound library, and more.

Constructors

Sensory()

Properties

attentionAudioPath String
getter/setter pair
confirmationAudioPath String
getter/setter pair
disableAudioPath String
getter/setter pair
enableAudioPath String
getter/setter pair
errorAudioPath String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
holdAudioPath String
getter/setter pair
notificationAudioPath String
getter/setter pair
player ↔ AudioPlayer
Calls the Haptic Feedback engine and plays an accompanying sound file for the different types of gestures that happen.
getter/setter pair
praiseAudioPath String
getter/setter pair
pressAudioPath String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
swipeAudioPath String
getter/setter pair
urgentAudioPath String
getter/setter pair

Methods

createSensation(sensationType sense) Future<void>
A function that calls the Haptic Engine and the sound library.
dispose() → void
Prepares the audio player for disposal, put this function in your dispose method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare() → void
Prepares the audio player for use, put this function in your initState method.
runAudioPlayer(String path) Future<void>
A reusable function to play the sound.
toString() String
A string representation of this object.
inherited

Operators

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