17 lines
296 B
C
17 lines
296 B
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
|
||
|
};
|