59 lines
1.6 KiB
Objective-C
59 lines
1.6 KiB
Objective-C
//
|
|
// 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
|