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