-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public class AnimationsDebugModule extends NativeAnimationsDebugModuleSpec
Module that records debug information during transitions (animated navigation events such as going from one screen to another).
-
-
Constructor Summary
Constructors Constructor Description AnimationsDebugModule(ReactApplicationContext reactContext, DeveloperSettings catalystSettings)
-
Method Summary
Modifier and Type Method Description String
getName()
void
startRecordingFps()
void
stopRecordingFps(double animationStopTimeMs)
Called when an animation finishes. void
invalidate()
The CatalystInstance is going away with Venice. -
-
Constructor Detail
-
AnimationsDebugModule
AnimationsDebugModule(ReactApplicationContext reactContext, DeveloperSettings catalystSettings)
-
-
Method Detail
-
startRecordingFps
void startRecordingFps()
-
stopRecordingFps
void stopRecordingFps(double animationStopTimeMs)
Called when an animation finishes. The caller should include the animation stop time in ms(unix time) so that we know when the animation stopped from the JS perspective and we don'tcount time after as being part of the animation.
-
invalidate
void invalidate()
The CatalystInstance is going away with Venice. Therefore, the TurboModule infra introduces theinvalidate() method to allow NativeModules to clean up after themselves.
-
-
-
-