Nextrek
@ 1154
Nextrek / iOS / Emmanuele Rossi / REWORKMostri / NewMostri / VC / Reader / ReaderVC.h
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
// // ReaderVC.h // NewMostri // // Created by DBraccini_Nextrek on 11/09/2019. // Copyright © 2019 Nextrek. All rights reserved. // #import <UIKit/UIKit.h> #import "../../../AppConfig.h" #import <WebKit/WebKit.h> #import <AVFoundation/AVFoundation.h> #import <AVKit/AVKit.h> @interface ReaderVC : UIViewController { int indexNumber; int adMultiplier; BOOL isPlaying; AVAudioPlayer *mp; int TimeToEp; int durationInSeconds; int playerState; UIScreen *screen; CGRect fullScreenRect; NSTimer *timer; } @property int indexNumber; //@property (nonatomic) int timeToEp; //@property (nonatomic) int AdMultiplier @property (strong, nonatomic) NSURL *urlToPlay; @property (strong, nonatomic) IBOutlet WKWebView *contentWebView; @property (strong, nonatomic) IBOutlet UIView *fadeView; @property (strong, nonatomic) IBOutlet UIButton *goBackButton; @property (strong, nonatomic) IBOutlet UIButton *goOnButton; @property (strong, nonatomic) IBOutlet UIButton *playPauseButton; @property (strong, nonatomic) IBOutlet UIImageView *pictureView; @property (strong, nonatomic) IBOutlet UIButton *mostraButton; @property (strong, nonatomic) AVAudioPlayer *mp; @property (strong, nonatomic) IBOutlet UIButton *Close; @property (strong, nonatomic) IBOutlet UISlider *slider; - (IBAction)doChangeAudioInstantFromSlider; - (id)initWithIndex:(int)indexToShow; - (IBAction)doPlayPause; - (IBAction)doGoOnGoBack:(id)sender; - (IBAction)Close:(id)sender; - (IBAction)doSyncImages; - (void) chapterToShow:(int)index; @end |