JXStartSoundView.h 783 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // JXStartSoundView.h
  3. // shiku_im
  4. //
  5. // Created by 123 on 2020/6/12.
  6. // Copyright © 2020 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <AudioToolbox/AudioToolbox.h>
  10. #import <AVFoundation/AVFoundation.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface JXStartSoundView : UIView
  13. @property (nonatomic,strong) AVAudioPlayer *player;
  14. @property (nonatomic,copy) NSString *strURL;
  15. -(void)createSoundStrUrl2:(NSString *)strURl messageText:(UITextView *)messageText valueInt:(int )value;
  16. -(void)createSoundStrUrl2:(NSString *)strURl valueInt:(int )value;
  17. //内方法
  18. +(void)createSoundStrUrl:(NSString *)strURl valueInt:(int )value;
  19. +(void)createSoundStrUrl:(NSString *)strURl messageText:(UITextView *)messageText valueInt:(int )value;
  20. @end
  21. NS_ASSUME_NONNULL_END