Inherits from NSObject
Declared in Bit6AudioPlayerController.h

Overview

Audio player allows to play an audio file.

Instance Methods

currentTime

Gets the audio file playing current time.

- (double)currentTime

Declared In

Bit6AudioPlayerController.h

duration

Gets the length of the audio file playing.

- (double)duration

Declared In

Bit6AudioPlayerController.h

filePathPlaying

Gets the path to the current audio file being played.

- (nullable NSString *)filePathPlaying

Return Value

path to the current audio file being played.

Declared In

Bit6AudioPlayerController.h

init

Unavailable init. Use Bit6.audioPlayer instead.

- (instancetype)init

Return Value

a new instance of the class.

Declared In

Bit6AudioPlayerController.h

startPlayingAudioFileAtPath:

Starts playing an audio file. You can listen to the Bit6AudioPlayingNotification to update your UI while playing an audio file.

- (void)startPlayingAudioFileAtPath:(NSString *)filePath

Parameters

filePath

Path to the audio file to play.

Declared In

Bit6AudioPlayerController.h

stopPlayingAudioFile

Stop the audio file playing at the time

- (void)stopPlayingAudioFile

Declared In

Bit6AudioPlayerController.h