FBTVNavigationTracker-Private.h 809 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * Copyright (c) 2018-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import <Foundation/Foundation.h>
  10. #if TARGET_OS_TV
  11. @interface FBTVNavigationItem ()
  12. @property (nonatomic, readonly) NSString *uid;
  13. @property (nonatomic, readonly) NSMutableSet<NSNumber *>* directions;
  14. + (instancetype)itemWithUid:(NSString *) uid;
  15. @end
  16. @interface FBTVNavigationTracker ()
  17. - (FBTVDirection)horizontalDirectionWithItem:(FBTVNavigationItem *)item andDelta:(CGFloat)delta;
  18. - (FBTVDirection)verticalDirectionWithItem:(FBTVNavigationItem *)item andDelta:(CGFloat)delta;
  19. @end
  20. #endif