just_audio/macos/Classes/AudioPlayer.h

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
};