VLCTransportBar.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*****************************************************************************
  2. * VLC for iOS
  3. *****************************************************************************
  4. * Copyright (c) 2015 VideoLAN. All rights reserved.
  5. * $Id$
  6. *
  7. * Authors: Tobias Conradi <videolan # tobias-conradi.de>
  8. *
  9. * Refer to the COPYING file of the official project for license.
  10. *****************************************************************************/
  11. #import <UIKit/UIKit.h>
  12. NS_ASSUME_NONNULL_BEGIN
  13. typedef NS_ENUM(NSUInteger, VLCTransportBarHint) {
  14. VLCTransportBarHintNone,
  15. VLCTransportBarHintScanForward,
  16. VLCTransportBarHintJumpForward10,
  17. VLCTransportBarHintJumpBackward10,
  18. };
  19. IB_DESIGNABLE @interface VLCTransportBar : UIView
  20. @property (nonatomic) IBInspectable CGFloat bufferStartFraction;
  21. @property (nonatomic) IBInspectable CGFloat bufferEndFraction;
  22. @property (nonatomic) IBInspectable CGFloat playbackFraction;
  23. @property (nonatomic) IBInspectable CGFloat scrubbingFraction;
  24. @property (nonatomic, getter=isScrubbing) IBInspectable BOOL scrubbing;
  25. @property (nonatomic, readonly) UILabel *markerTimeLabel;
  26. @property (nonatomic, readonly) UILabel *remainingTimeLabel;
  27. @property (nonatomic) VLCTransportBarHint hint;
  28. @end
  29. NS_ASSUME_NONNULL_END