From 3e8437ae559487362fae3525beb79c534c213a51 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 12 Jul 2018 13:44:34 +0800 Subject: [PATCH] bug修复和功能优化 --- screendisplay/Pods/EaseUI/EaseUI/EMUIKit/3rdparty/DeviceHelper/internal/EMAudioRecorderUtil.h | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/3rdparty/DeviceHelper/internal/EMAudioRecorderUtil.h b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/3rdparty/DeviceHelper/internal/EMAudioRecorderUtil.h new file mode 100755 index 0000000..f5f459e --- /dev/null +++ b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/3rdparty/DeviceHelper/internal/EMAudioRecorderUtil.h @@ -0,0 +1,30 @@ +/************************************************************ + * * Hyphenate CONFIDENTIAL + * __________________ + * Copyright (C) 2016 Hyphenate Inc. All rights reserved. + * + * NOTICE: All information contained herein is, and remains + * the property of Hyphenate Inc. + * Dissemination of this information or reproduction of this material + * is strictly forbidden unless prior written permission is obtained + * from Hyphenate Inc. + */ + +#import <Foundation/Foundation.h> +#import <AVFoundation/AVFoundation.h> +@interface EMAudioRecorderUtil : NSObject + ++(BOOL)isRecording; + +// Start recording ++ (void)asyncStartRecordingWithPreparePath:(NSString *)aFilePath + completion:(void(^)(NSError *error))completion; +// Stop recording ++(void)asyncStopRecordingWithCompletion:(void(^)(NSString *recordPath))completion; + +// Cancel recording ++(void)cancelCurrentRecording; + +// Current recorder ++(AVAudioRecorder *)recorder; +@end -- Gitblit v1.8.0