Bit6AudioPlayerController Class Reference
| Inherits from | NSObject |
| Declared in | Bit6AudioPlayerController.h |
Instance Methods
currentTime
Gets the audio file playing current time.
- (double)currentTimeDeclared In
Bit6AudioPlayerController.hduration
Gets the length of the audio file playing.
- (double)durationDeclared In
Bit6AudioPlayerController.hfilePathPlaying
Gets the path to the current audio file being played.
- (nullable NSString *)filePathPlayingReturn Value
path to the current audio file being played.
Declared In
Bit6AudioPlayerController.hstartPlayingAudioFileAtPath: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 ))errorHandlerParameters
- filePath
Path to the audio file to play.
- errorHandler
block to call if an error occurs
Declared In
Bit6AudioPlayerController.h