You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.6 KiB
58 lines
1.6 KiB
// |
|
// WXYZ_AudioSettingHelper.h |
|
// WXReader |
|
// |
|
// Created by Andrew on 2020/3/18. |
|
// Copyright © 2020 Andrew. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
@interface WXYZ_AudioSettingHelper : NSObject |
|
|
|
interface_singleton |
|
|
|
// 倒计时 |
|
- (NSInteger)getReadTiming; |
|
|
|
- (void)setReadTimingWithIndex:(NSInteger)readTimingIndex; |
|
|
|
- (NSArray *)getReadTimingKeys; |
|
|
|
- (NSArray *)getReadTimingValues; |
|
|
|
// 开始倒计时 |
|
- (void)startTimingFinishBlock:(void(^)(void))finishBlock; |
|
|
|
- (void)getCurrentTimingBlock:(void(^)(NSUInteger currentTime))currentTimeBlock finishBlock:(void(^)(void))finishBlock; |
|
|
|
// 声音 |
|
- (NSString *)getReadVoiceTitleWithProducitionType:(TFProductionType)productionType; |
|
|
|
- (NSInteger)getReadVoiceWithProducitionType:(TFProductionType)productionType; |
|
|
|
- (void)setReadVoiceWithIndex:(NSInteger)readVoiceIndex producitionType:(TFProductionType)productionType; |
|
|
|
- (NSArray *)getReadVoiceKeysWithProducitionType:(TFProductionType)productionType; |
|
|
|
- (NSArray *)getReadVoiceValuesWithProducitionType:(TFProductionType)productionType; |
|
|
|
// 语速 |
|
- (NSInteger)getReadSpeedWithProducitionType:(TFProductionType)productionType; |
|
|
|
- (void)setReadSpeedWithIndex:(NSInteger)readSpeedIndex producitionType:(TFProductionType)productionType; |
|
|
|
- (NSArray *)getReadSpeedKeysWithProducitionType:(TFProductionType)productionType; |
|
|
|
- (NSArray *)getReadSpeedValuesWithProducitionType:(TFProductionType)productionType; |
|
|
|
|
|
- (void)playPageViewShow:(BOOL)show productionType:(TFProductionType)productionType; |
|
|
|
- (BOOL)isPlayPageShowingWithProductionType:(TFProductionType)productionType; |
|
|
|
@end |
|
|
|
NS_ASSUME_NONNULL_END
|
|
|