mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Expose SurfaceID as part ReactRootView
Summary: This diff exposes the surfaceID as part of ReactRootView. Changelog: [internal] Reviewed By: JoshuaGross Differential Revision: D18474014 fbshipit-source-id: 98f651b211d3cc4df88c6b1eb257bc12129eff57
This commit is contained in:
committed by
Facebook Github Bot
parent
76f41a0578
commit
f0b6f8441b
@@ -48,4 +48,13 @@ public interface ReactRoot {
|
||||
|
||||
/** Sets a flag that determines whether to log that content appeared on next view added. */
|
||||
void setShouldLogContentAppeared(boolean shouldLogContentAppeared);
|
||||
|
||||
/**
|
||||
* @return a {@link String} that represents the root js application that is being rendered with
|
||||
* this {@link ReactRoot}
|
||||
* @deprecated We recommend to not use this method as it is will be replaced in the near future.
|
||||
*/
|
||||
@Deprecated
|
||||
@Nullable
|
||||
String getSurfaceID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user