测试版
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef CicadaAudioSessionDelegate_h
|
||||
#define CicadaAudioSessionDelegate_h
|
||||
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
#import <TargetConditionals.h>
|
||||
|
||||
@protocol CicadaAudioSessionDelegate <NSObject>
|
||||
#if TARGET_OS_IPHONE
|
||||
@optional
|
||||
- (BOOL)setActive:(BOOL)active error:(NSError **)outError;
|
||||
|
||||
@optional
|
||||
- (BOOL)setCategory:(NSString *)category withOptions:(AVAudioSessionCategoryOptions)options error:(NSError **)outError;
|
||||
|
||||
@optional
|
||||
- (BOOL)setCategory:(AVAudioSessionCategory)category mode:(AVAudioSessionMode)mode routeSharingPolicy:(AVAudioSessionRouteSharingPolicy)policy options:(AVAudioSessionCategoryOptions)options error:(NSError **)outError;
|
||||
#endif
|
||||
@end
|
||||
|
||||
#endif /* CicadaAudioSessionDelegate_h */
|
||||
Reference in New Issue
Block a user