AudioSessionException class

The platform audio session could not be configured for, or does not permit, the requested audio operation (iOS; macOS has no audio session, so engine failures there keep their generic error codes). Common reasons:

  • Recording was started while the app-managed audio session (AudioSessionManagementMode.manual) has a category without input.
  • The system rejected the audio session configuration.
Inheritance

Constructors

AudioSessionException([String msg = 'Audio session error'])

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
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