Skip to navigation

VIAudioFileErrorType

VoximplantCore · iOS SDK v3

View as Markdown

Enum that contains error types for VIAudioFile playback failures.

@objc enum VIAudioFileErrorType

Values

case alreadyPlaying

Playback was requested while the audio file is already playing.

case callKitActivated

CallKit activated the audio session and playback was stopped.

case destroyed

The VIAudioFile instance was deallocated while playing.

case failedToConfigureAudioSession

The audio session could not be configured for playback.

case failedToInitialize

The audio file player could not be created from the provided URL or data.

case internalError

Unexpected internal failure while playing the audio file.

case interrupted

The audio session was interrupted (or media services were lost) and playback was stopped.

Initializers

init(rawValue:)

init?(rawValue: Int)

Inherited from RawRepresentable.init(rawValue:).

Properties

description

var description: String { get }

Error type description.

Default Implementations

Equatable Implementations

Equatable.!=(::)

RawRepresentable Implementations

RawRepresentable.hash(into:) RawRepresentable.hashValue

Relationships

Conforms To: Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable, Swift.RawRepresentable