AudioPlayer.h 377 B

12345678910111213141516171819202122
  1. #import <FlutterMacOS/FlutterMacOS.h>
  2. @interface AudioPlayer : NSObject<FlutterStreamHandler>
  3. - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar playerId:(NSString*)idParam configuredSession:(BOOL)configuredSession;
  4. @end
  5. enum ProcessingState {
  6. none,
  7. loading,
  8. buffering,
  9. ready,
  10. completed
  11. };
  12. enum LoopMode {
  13. loopOff,
  14. loopOne,
  15. loopAll
  16. };