mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [Internal] See T118587955 Reviewed By: RSNara Differential Revision: D36026423 fbshipit-source-id: 26cfcf318af4a5061e94bd0286c0433c06886d8e
36 lines
1.0 KiB
Objective-C
36 lines
1.0 KiB
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTDefines.h>
|
|
|
|
RCT_EXTERN NSString *const RCTUserInterfaceStyleDidChangeNotification;
|
|
RCT_EXTERN NSString *const RCTUserInterfaceStyleDidChangeNotificationTraitCollectionKey;
|
|
|
|
/*
|
|
* Preemptive View Allocation
|
|
*/
|
|
RCT_EXTERN BOOL RCTExperimentGetPreemptiveViewAllocationDisabled(void);
|
|
RCT_EXTERN void RCTExperimentSetPreemptiveViewAllocationDisabled(BOOL value);
|
|
|
|
/*
|
|
* W3C Pointer Events
|
|
*/
|
|
RCT_EXTERN BOOL RCTGetDispatchW3CPointerEvents(void);
|
|
RCT_EXTERN void RCTSetDispatchW3CPointerEvents(BOOL value);
|
|
|
|
/*
|
|
* Validate RCTEventEmitter
|
|
*/
|
|
RCT_EXTERN BOOL RCTGetValidateCanSendEventInRCTEventEmitter(void);
|
|
RCT_EXTERN void RCTSetValidateCanSendEventInRCTEventEmitter(BOOL value);
|
|
|
|
/*
|
|
* Memory Pressure Unloading Level
|
|
*/
|
|
RCT_EXTERN BOOL RCTGetMemoryPressureUnloadLevel(void);
|
|
RCT_EXTERN void RCTSetMemoryPressureUnloadLevel(int value);
|