/************************************************************
|
* * 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>
|
|
@interface EMAudioPlayerUtil : NSObject
|
|
+ (BOOL)isPlaying;
|
|
// Get the path of what is currently being played
|
+ (NSString *)playingFilePath;
|
|
// Play the audio(wav)from the path
|
+ (void)asyncPlayingWithPath:(NSString *)aFilePath
|
completion:(void(^)(NSError *error))completon;
|
|
+ (void)stopCurrentPlaying;
|
|
@end
|