just_audio/macos/Classes/AudioPlayer.h

23 lines
387 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
enum PlaybackState {
none,
stopped,
paused,
playing,
connecting,
completed
};
2020-07-27 17:54:00 +00:00
enum LoopMode {
loopOff,
loopOne,
loopAll
};