Bit6AudioPlayerController Class Reference
Inherits from | NSObject |
Declared in | Bit6AudioPlayerController.h |
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
startPlayingAudioFileAtPath:errorHandler:
Starts playing an audio file. You can listen to the Bit6AudioPlayingNotification
to update your UI while playing an audio file.
- (void)startPlayingAudioFileAtPath:(nonnull NSString *)filePath errorHandler:(nullable void ( ^ ) ( NSError *_Nonnull error ))errorHandler
Parameters
- filePath
Path to the audio file to play.
- errorHandler
block to call if an error occurs
Declared In
Bit6AudioPlayerController.h