SKInCallViewController.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // InCallViewController.h
  3. // JCSampleOC
  4. //
  5. // Created by Ginger on 2017/10/12.
  6. // Copyright © 2017年 juphoon. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface SKInCallViewController : UIViewController
  10. //video view
  11. @property (nonatomic, strong) UIView* localView;
  12. @property (nonatomic, strong) UIView* remoteView;
  13. @property (nonatomic, strong) UIView* smallView;
  14. //base view
  15. @property (nonatomic, strong) IBOutlet UIImageView *backgroudView;
  16. @property (nonatomic, strong) IBOutlet UIView *mIngHeaderView;
  17. @property (nonatomic, strong) IBOutlet UILabel *mIngNameLabel;
  18. @property (nonatomic, strong) IBOutlet UILabel *mIngTimeLabel;
  19. @property (nonatomic, strong) IBOutlet UILabel *mIngNetWorkLabel;
  20. @property (nonatomic, strong) IBOutlet UIView *mWaitHeaderView;
  21. @property (nonatomic, strong) IBOutlet UIImageView *mWaitHeadImage;
  22. @property (nonatomic, strong) IBOutlet UILabel *mWaitNameLabel;
  23. @property (nonatomic, strong) IBOutlet UILabel *mWaitInHintLabel;
  24. @property (nonatomic, strong) IBOutlet UILabel *mWaitOutHintLabel;
  25. @property (nonatomic, strong) IBOutlet UIView *mInVideoView;
  26. @property (nonatomic, strong) IBOutlet UIView *mOutView;
  27. @property (nonatomic, strong) IBOutlet UIView *mIngView;
  28. // selected 为相机打开状态, default 为相机关闭状态
  29. @property (nonatomic, strong) IBOutlet UIButton *switchCameraBtn;
  30. // selected 为保持通话状态, default 为未保持通话状态, disable 为被保持通话状态
  31. @property (nonatomic, strong) IBOutlet UIButton *holdBtn;
  32. // selected 为静音状态, default 为正常状态
  33. @property (nonatomic, strong) IBOutlet UIButton *muteBtn;
  34. // selected 为听筒模式, default 为扬声器模式
  35. @property (nonatomic, strong) IBOutlet UIButton *speakerBtn;
  36. @property (nonatomic, strong) IBOutlet UIButton *endCallBtn;
  37. - (void)startTimer;
  38. - (void)stopTimer;
  39. @end