23 lines
387 B
Objective-C
23 lines
387 B
Objective-C
#import <FlutterMacOS/FlutterMacOS.h>
|
|
|
|
@interface AudioPlayer : NSObject<FlutterStreamHandler>
|
|
|
|
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar playerId:(NSString*)idParam configuredSession:(BOOL)configuredSession;
|
|
|
|
@end
|
|
|
|
enum PlaybackState {
|
|
none,
|
|
stopped,
|
|
paused,
|
|
playing,
|
|
connecting,
|
|
completed
|
|
};
|
|
|
|
enum LoopMode {
|
|
loopOff,
|
|
loopOne,
|
|
loopAll
|
|
};
|