-
public class Binding
-
-
Constructor Summary
Constructors Constructor Description Binding()
-
Method Summary
Modifier and Type Method Description native voidstartSurface(int surfaceId, @NonNull() String moduleName, @NonNull() NativeMap initialProps)native voidstartSurfaceWithConstraints(int surfaceId, String moduleName, NativeMap initialProps, float minWidth, float maxWidth, float minHeight, float maxHeight, float offsetX, float offsetY, boolean isRTL, boolean doLeftAndRightSwapInRTL)native voidrenderTemplateToSurface(int surfaceId, String uiTemplate)native voidstopSurface(int surfaceId)native voidsetPixelDensity(float pointScaleFactor)native voidsetConstraints(int surfaceId, float minWidth, float maxWidth, float minHeight, float maxHeight, float offsetX, float offsetY, boolean isRTL, boolean doLeftAndRightSwapInRTL)native voiddriveCxxAnimations()native ReadableNativeMapgetInspectorDataForInstance(EventEmitterWrapper eventEmitterWrapper)voidregister(@NonNull() RuntimeExecutor runtimeExecutor, @Nullable() RuntimeScheduler runtimeScheduler, @NonNull() FabricUIManager fabricUIManager, @NonNull() EventBeatManager eventBeatManager, @NonNull() ComponentFactory componentFactory, @NonNull() ReactNativeConfig reactNativeConfig)voidunregister()native voidregisterSurface(SurfaceHandlerBinding surfaceHandler)native voidunregisterSurface(SurfaceHandlerBinding surfaceHandler)-
-
Method Detail
-
startSurface
native void startSurface(int surfaceId, @NonNull() String moduleName, @NonNull() NativeMap initialProps)
-
startSurfaceWithConstraints
native void startSurfaceWithConstraints(int surfaceId, String moduleName, NativeMap initialProps, float minWidth, float maxWidth, float minHeight, float maxHeight, float offsetX, float offsetY, boolean isRTL, boolean doLeftAndRightSwapInRTL)
-
renderTemplateToSurface
native void renderTemplateToSurface(int surfaceId, String uiTemplate)
-
stopSurface
native void stopSurface(int surfaceId)
-
setPixelDensity
native void setPixelDensity(float pointScaleFactor)
-
setConstraints
native void setConstraints(int surfaceId, float minWidth, float maxWidth, float minHeight, float maxHeight, float offsetX, float offsetY, boolean isRTL, boolean doLeftAndRightSwapInRTL)
-
driveCxxAnimations
native void driveCxxAnimations()
-
getInspectorDataForInstance
native ReadableNativeMap getInspectorDataForInstance(EventEmitterWrapper eventEmitterWrapper)
-
register
void register(@NonNull() RuntimeExecutor runtimeExecutor, @Nullable() RuntimeScheduler runtimeScheduler, @NonNull() FabricUIManager fabricUIManager, @NonNull() EventBeatManager eventBeatManager, @NonNull() ComponentFactory componentFactory, @NonNull() ReactNativeConfig reactNativeConfig)
-
unregister
void unregister()
-
registerSurface
native void registerSurface(SurfaceHandlerBinding surfaceHandler)
-
unregisterSurface
native void unregisterSurface(SurfaceHandlerBinding surfaceHandler)
-
-
-
-