1 | /*
|
2 | * Copyright (c) Facebook, Inc. and its affiliates.
|
3 | *
|
4 | * This source code is licensed under the MIT license found in the
|
5 | * LICENSE file in the root directory of this source tree.
|
6 | */
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | // A RCTView with additional properties and methods for user interaction using the Apple TV focus engine.
|
14 | @interface RCTTVView : RCTView
|
15 |
|
16 | /**
|
17 | * TV event handlers
|
18 | */
|
19 | @property (nonatomic, assign) BOOL isTVSelectable; // True if this view is TV-focusable
|
20 |
|
21 | /**
|
22 | * Properties for Apple TV focus parallax effects
|
23 | */
|
24 | @property (nonatomic, copy) NSDictionary *tvParallaxProperties;
|
25 |
|
26 | /**
|
27 | * TV preferred focus
|
28 | */
|
29 | @property (nonatomic, assign) BOOL hasTVPreferredFocus;
|
30 |
|
31 | @end
|