UIDevice+VLC.h 1.0 KB

123456789101112131415161718192021222324252627282930
  1. /*****************************************************************************
  2. * UIDevice+VLC.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2017 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import <UIKit/UIKit.h>
  13. typedef NS_ENUM(NSUInteger, VLCSpeedCategory) {
  14. VLCSpeedCategoryNotSet = 0,
  15. VLCSpeedCategoryOneDevices, // < iOS 9 and not supported anymore
  16. VLCSpeedCategoryTwoDevices, // iPhone 4S, iPad 2 and 3, iPod 4 and 5
  17. VLCSpeedCategoryThreeDevices, // iPhone 5 + 5S, iPad 4, iPad Air, iPad mini 2G
  18. VLCSpeedCategoryFourDevices, // iPhone 6 + 6S, 2014+2015 iPads and newer
  19. };
  20. @interface UIDevice (VLC)
  21. @property (readonly) VLCSpeedCategory vlcSpeedCategory;
  22. @property (readonly) NSNumber *VLCFreeDiskSpace;
  23. @property (readonly) BOOL VLCHasExternalDisplay;
  24. @end