FWAudioPlayer
@interface FWAudioPlayer : NSObject
FWAudioPlayer
-
Undocumented
Declaration
Objective-C
@property (class, nonatomic, readonly) FWAudioPlayer *sharedInstance
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, nullable) AVQueuePlayer *audioPlayer
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<FWAudioPlayerDelegate> delegate
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<FWAudioPlayerDataSource> dataSource
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSInteger itemsCount
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray *itemURLs
-
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL disableLogs
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSArray<AVPlayerItem *> *playerItems
-
Undocumented
Declaration
Objective-C
@property (nonatomic) FWAudioPlayerRepeatMode repeatMode
-
Undocumented
Declaration
Objective-C
@property (nonatomic) FWAudioPlayerShuffleMode shuffleMode
-
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL isMemoryCached
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isPlaying
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger lastItemIndex
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) AVPlayerItem *currentItem
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) FWAudioPlayerStatus playerStatus
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float playingItemCurrentTime
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) float playingItemDurationTime
-
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL observePeriodicTime
-
should not use this method outside of audioPlayerLoadItemAtIndex:preBuffer: scope
Declaration
Objective-C
- (void)setupPlayerItemWithURL:(nonnull id)url index:(NSInteger)index;
-
Undocumented
Declaration
Objective-C
- (void)playItemFromIndex:(NSInteger)startIndex;
-
Undocumented
Declaration
Objective-C
- (void)removeAllItems;
-
Undocumented
Declaration
Objective-C
- (void)removeQueueItems;
-
Undocumented
Declaration
Objective-C
- (nullable NSNumber *)getAudioIndex:(nullable AVPlayerItem *)item;
-
Undocumented
Declaration
Objective-C
- (void)removeItemAtIndex:(NSInteger)index;
-
Undocumented
Declaration
Objective-C
- (void)moveItemFromIndex:(NSInteger)from toIndex:(NSInteger)to;
-
Undocumented
Declaration
Objective-C
- (void)play;
-
Undocumented
Declaration
Objective-C
- (void)pause;
-
Undocumented
Declaration
Objective-C
- (void)playPrevious;
-
Undocumented
Declaration
Objective-C
- (void)playNext;
-
Undocumented
Declaration
Objective-C
- (void)seekToTime:(double)CMTime;
-
Undocumented
Declaration
Objective-C
- (void)seekToTime:(double)CMTime withCompletionBlock:(nullable void (^)(BOOL finished))completionBlock;
-
Undocumented
Declaration
Objective-C
- (id)addBoundaryTimeObserverForTimes:(NSArray *)times queue:(nullable dispatch_queue_t)queue usingBlock:(void (^)(void))block;
-
Undocumented
Declaration
Objective-C
- (id)addPeriodicTimeObserverForInterval:(CMTime)interval queue:(nullable dispatch_queue_t)queue usingBlock:(void (^)(CMTime time))block;
-
Undocumented
Declaration
Objective-C
- (void)removeTimeObserver:(id)observer;
-
Undocumented
Declaration
Objective-C
- (void)destroyPlayer;