// // YMSoundShowcaseViewModel.h // MSYOUPAI // // Created by YoMi on 2024/3/8. // Copyright © 2024 MS. All rights reserved. // #import "MSYOUPAIViewModel.h" NS_ASSUME_NONNULL_BEGIN typedef void(^TemplateVoiceBlock)(NSString *voiceUrl, NSInteger voiceDuration); @interface YMSoundShowcaseViewModel : MSYOUPAIViewModel @property (nonatomic, copy) TemplateVoiceBlock templateVoiceBlock; /// 刷新语音提词器数据 - (void)refreshVoiceTelepromptertData; /// 上传模板语音 - (void)uploadTemplateVoiceURL:(NSURL*)templateVoiceURL TemplateVoiceDuration:(NSInteger)templateVoiceDuration; /// 语音提词器列表 @property (nonatomic, strong, readonly) NSArray *voiceTeleprompterDataArray; /// 语音提词器内容 @property (nonatomic, strong, readonly) NSAttributedString *voiceTeleprompterContent; @end NS_ASSUME_NONNULL_END