NYVoiceManager.h 549 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // NYVoiceManager.h
  3. // jiaPei
  4. //
  5. // Created by Ning.ge on 2023/7/26.
  6. // Copyright © 2023 JCZ. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. #define NY_VOICE_MANAGER [NYVoiceManager sharedManager]
  11. @interface NYVoiceManager : NSObject
  12. + (NYVoiceManager *)sharedManager;
  13. - (void)ny_configureTTSVoiceDK;
  14. //开播合成播放
  15. - (void)startPayVoiceActionText:(NSString *)text;
  16. //暂停合成播放
  17. - (void)pausePayVoiceAction;
  18. //停止合成播放
  19. - (void)stopPayVoiceAction;
  20. @end
  21. NS_ASSUME_NONNULL_END