SoLoudCppException class abstract
A base class for all SoLoud exceptions that are thrown from the C++ side.
These exceptions correspond to the errors define in the PlayerErrors enum.
- Inheritance
-
- Object
- SoLoudException
- SoLoudCppException
- Implementers
- SoLoudAudioFormatNotSupportedCppException
- SoLoudBackendNotInitedException
- SoLoudBufferStreamCanBePlayedOnlyOnceCppException
- SoLoudBufferStreamWithReleasedBufferTypeCannotBeSeekedCppException
- SoLoudDllNotFoundException
- SoLoudFailedToCreateDecoderCppException
- SoLoudFailedToDecodeOpusPacketCppException
- SoLoudFileLoadFailedException
- SoLoudFileNotFoundException
- SoLoudFilterAlreadyAddedException
- SoLoudFilterNotFoundException
- SoLoudFilterParameterGetErrorCppException
- SoLoudHashIsNotABufferStreamCppException
- SoLoudInvalidParameterException
- SoLoudMaxFilterNumberReachedException
- SoLoudNoPlaybackDevicesFoundCppException
- SoLoudNotImplementedException
- SoLoudNullPointerException
- SoLoudOpusOggVorbisLibsNotFoundCppException
- SoLoudOutOfMemoryException
- SoLoudPcmBufferFullCppException
- SoLoudPlayerAlreadyInitializedException
- SoLoudReadSamplesFailedToGetDataFormatCppException
- SoLoudReadSamplesFailedToReadPcmFramesCppException
- SoLoudReadSamplesFailedToSeekPcmCppException
- SoLoudReadSamplesNoBackendCppException
- SoLoudSoundHandleNotFoundCppException
- SoLoudSoundHashNotFoundCppException
- SoLoudStreamEndedAlreadyCppException
- SoLoudUnknownErrorException
- SoLoudVisualizationNotEnabledException
- SoLoudWrongBufferTypeToAskForTimeConsumedCppException
Constructors
- SoLoudCppException([String? message])
-
Creates a new SoLoud exception that is thrown from the C++ side.
const
- SoLoudCppException.fromPlayerError(PlayerErrors error)
-
Takes a
PlayerErrorsenum value and returns a corresponding exception. This is useful when we need to convert a C++ error to a Dart exception.factory - SoLoudCppException.fromReadSampleError(ReadSamplesErrors error)
-
Takes a ReadSamplesErrors enum value and returns a corresponding
exception.
This is useful when we need to convert a C++ error to a Dart exception.
factory
Properties
- description → String
-
A verbose description of what this exception means, in general.
Don't confuse with the optional message parameter, which is there
to explain what exactly went wrong in that particular case.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
A message that explains what exactly went wrong in that particular case.
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