TVEventControl

Runtime toggles for OS-level TV remote integration points.

TV relevance: TV-specific compatibility API. Methods currently exist for API-shape parity and log web not-implemented warnings.

TVEventControl mirrors the React Native TV API shape. In this web TV fork these methods are currently present for compatibility and warn that they are not implemented on web.

import { TVEventControl } from 'react-native';

TVEventControl.enableTVMenuKey();

API

Static methods

enableTVMenuKey () => void

Compatibility stub. Logs a warning on web.

disableTVMenuKey () => void

Compatibility stub. Logs a warning on web.

enableTVPanGesture () => void

Compatibility stub. Logs a warning on web.

disableTVPanGesture () => void

Compatibility stub. Logs a warning on web.

enableGestureHandlersCancelTouches () => void

Compatibility stub. Logs a warning on web.

disableGestureHandlersCancelTouches () => void

Compatibility stub. Logs a warning on web.

Updated
React Native Web for TVPortions Copyright © Nicolas Gallagher, Meta Platforms, Inc., Facebook, Inc. and affiliates, and other contributors as noted in file headers and THIRD_PARTY_NOTICES.md. Modifications and TV extensions Copyright © Harpreet Singh and contributors.