ReleaseMode enum
This enum is meant to be used as a parameter of setReleaseMode method.
It represents the behavior of AudioPlayer when an audio is finished or stopped.
Values
- release → const ReleaseMode
- 
  Releases all resources, just like calling release method. In Android, the media player is quite resource-intensive, and this will let it go. Data will be buffered again when needed (if it's a remote file, it will be downloaded again). In iOS and macOS, works just like stop method. This is the default behavior. 
- loop → const ReleaseMode
- 
  Keeps buffered data and plays again after completion, creating a loop. Notice that calling stop method is not enough to release the resources when this mode is being used. 
- stop → const ReleaseMode
- 
  Stops audio playback but keep all resources intact. Use this if you intend to play again later. 
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- index → int
- 
  A numeric identifier for the enumerated value.
  no setterinherited
- name → String
- 
      Available on Enum, provided by the EnumName extension The name of the enum value.no setter
- 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
Constants
- 
    values
  → const List<ReleaseMode> 
- A constant List of the values in this enum, in order of their declaration.