just_audio/macos/Classes/AudioPlayer.h

22 lines
377 B
C
Raw Normal View History

2020-04-06 15:02:57 +00:00
#import <FlutterMacOS/FlutterMacOS.h>
@interface AudioPlayer : NSObject<FlutterStreamHandler>
2020-07-27 17:54:00 +00:00
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar playerId:(NSString*)idParam configuredSession:(BOOL)configuredSession;
2020-04-06 15:02:57 +00:00
@end
2020-08-04 17:24:52 +00:00
enum ProcessingState {
2020-04-06 15:02:57 +00:00
none,
2020-08-04 17:24:52 +00:00
loading,
buffering,
ready,
2020-04-06 15:02:57 +00:00
completed
};
2020-07-27 17:54:00 +00:00
enum LoopMode {
loopOff,
loopOne,
loopAll
};