lastTimePlayed property

DateTime? lastTimePlayed
getter/setter pair

The DateTime when the sound was last played.

This can be used in conjunction with retriggerDelay to prevent a sound from being played too frequently. It's typically updated by the audio playback system.

Implementation

DateTime? lastTimePlayed;