2019-11-30 15:28:17 +00:00
|
|
|
#import <Flutter/Flutter.h>
|
|
|
|
|
|
|
|
@interface AudioPlayer : NSObject<FlutterStreamHandler>
|
|
|
|
|
|
|
|
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar playerId:(NSString*)idParam;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
enum PlaybackState {
|
|
|
|
none,
|
|
|
|
stopped,
|
|
|
|
paused,
|
|
|
|
playing,
|
|
|
|
buffering,
|
2019-12-27 05:43:09 +00:00
|
|
|
connecting,
|
|
|
|
completed
|
2019-11-30 15:28:17 +00:00
|
|
|
};
|