2019-11-30 15:28:17 +00:00
|
|
|
#import <Flutter/Flutter.h>
|
|
|
|
|
|
|
|
@interface AudioPlayer : NSObject<FlutterStreamHandler>
|
|
|
|
|
2020-05-20 14:38:26 +00:00
|
|
|
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar playerId:(NSString*)idParam configuredSession:(BOOL)configuredSession;
|
2019-11-30 15:28:17 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
enum PlaybackState {
|
|
|
|
none,
|
|
|
|
stopped,
|
|
|
|
paused,
|
|
|
|
playing,
|
2019-12-27 05:43:09 +00:00
|
|
|
connecting,
|
|
|
|
completed
|
2019-11-30 15:28:17 +00:00
|
|
|
};
|
2020-07-27 17:54:00 +00:00
|
|
|
|
|
|
|
enum LoopMode {
|
|
|
|
loopOff,
|
|
|
|
loopOne,
|
|
|
|
loopAll
|
|
|
|
};
|