RQVoiceManager.h 430 B

12345678910111213141516171819202122
  1. //
  2. // RQVoiceManager.h
  3. // YJZS
  4. //
  5. // Created by 张嵘 on 2022/2/25.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. #define RQ_VOICE_MANAGER [RQVoiceManager sharedManager]
  10. @interface RQVoiceManager : NSObject
  11. @property (nonatomic, readonly, assign) BOOL voiceSwitch;
  12. + (RQVoiceManager *)sharedManager;
  13. - (void)setVoiceSwitch:(BOOL)voiceSwitch;
  14. - (void)playString:(NSString *)str;
  15. @end
  16. NS_ASSUME_NONNULL_END