|
@@ -35,15 +35,6 @@
|
|
|
#import "errorAlertTool.h"
|
|
|
#import "DFPlayer.h"
|
|
|
|
|
|
-@protocol PlayerViewControllerDelegate <NSObject>
|
|
|
-
|
|
|
-@optional
|
|
|
-- (void)playerViewControllerBackWithPhoneIndex:(NSInteger)phoneIndex;
|
|
|
-- (void)shortcutBackWithPhoneID:(NSInteger)phoneID phoneVaild:(BOOL)phoneVaild; // 快捷方式 云手机已过期
|
|
|
-// 激活码试用云手机续费
|
|
|
-- (void)playerViewControllerActiveCodeRenewBackWithPhoneIndex:(NSInteger)phoneIndex;
|
|
|
-
|
|
|
-@end
|
|
|
|
|
|
@class PlayerControlView;
|
|
|
|
|
@@ -122,24 +113,10 @@
|
|
|
@property(nonatomic,assign) BOOL isCodeSuspendAudioType;//手动暂停播放音乐
|
|
|
|
|
|
|
|
|
-//最后一帧回调
|
|
|
-@property (nonatomic, copy) void (^block)(void); //saveCIImageAction
|
|
|
-//返回回传 最后一帧
|
|
|
-@property (nonatomic, copy) void (^LastImageblock)(UIImage *image,NSString *deviceId,NSArray *cloudPhones); //saveCIImageAction
|
|
|
-
|
|
|
-
|
|
|
-@property (nonatomic, weak) id<PlayerViewControllerDelegate> delegate;
|
|
|
-
|
|
|
-@property (nonatomic, strong) UIAlertController *alertController;
|
|
|
-typedef void(^sureActionBlock)(UIAlertController *alertView);
|
|
|
-typedef void(^cancelActionBlock)(UIAlertController *alertController);
|
|
|
-typedef void(^completiongeBlock) (int stats , NSString *backData);
|
|
|
-
|
|
|
-
|
|
|
-(void)showNewIndicator;
|
|
|
-(void)removeNewIndicator;
|
|
|
|
|
|
--(void)initAlertWithTitle:(NSString *_Nullable)title message:(NSString *)message sureActionBlock:(sureActionBlock)sureActionBlock;
|
|
|
+
|
|
|
- (void)saveCIImageAction:(NSString *)deviceId;
|
|
|
- (void)toStopRecoder;
|
|
|
- (void)toStopAudioRecoder;
|
|
@@ -157,16 +134,6 @@ typedef void(^completiongeBlock) (int stats , NSString *backData);
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-#pragma mark - 提示框
|
|
|
-- (void)showAlertWithTitle:(NSAttributedString*_Nullable)atbTitle
|
|
|
- message:(NSAttributedString*_Nullable)atbmessage
|
|
|
- tilteAlignment:(NSTextAlignment)tilteAlignment
|
|
|
- messageAlignment:(NSTextAlignment)messageAlignment
|
|
|
- sureAction:(UIAlertAction*_Nullable)sureAction
|
|
|
- cancelAction:(UIAlertAction*_Nullable)cancelAction;
|
|
|
-
|
|
|
-
|
|
|
#pragma mark - 设置是否可以播放声音和动画
|
|
|
-(void)setShowImgAndVoiceTypeFun:(bool)isCan;
|
|
|
|