Surface Mounting Manager
Constructors
Link copied to clipboard
constructor(surfaceId: Int, @NonNull jsResponderHandler: JSResponderHandler, @NonNull viewManagerRegistry: ViewManagerRegistry, @NonNull rootViewManager: RootViewManager, @NonNull mountItemExecutor: MountingManager.MountItemExecutor, @NonNull reactContext: ThemedReactContext)
Functions
Link copied to clipboard
Link copied to clipboard
open fun createView(@NonNull componentName: String, reactTag: Int, @Nullable props: ReadableMap, @Nullable stateWrapper: StateWrapper, @Nullable eventEmitterWrapper: EventEmitterWrapper, isLayoutable: Boolean)
Link copied to clipboard
open fun createViewUnsafe(@NonNull componentName: String, reactTag: Int, @Nullable props: ReadableMap, @Nullable stateWrapper: StateWrapper, @Nullable eventEmitterWrapper: EventEmitterWrapper, isLayoutable: Boolean)
Perform view creation without any safety checks.
Link copied to clipboard
Link copied to clipboard
open fun enqueuePendingEvent(reactTag: Int, eventName: String, canCoalesceEvent: Boolean, @Nullable params: WritableMap, eventCategory: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun preallocateView(@NonNull componentName: String, reactTag: Int, @Nullable props: ReadableMap, @Nullable stateWrapper: StateWrapper, isLayoutable: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun receiveCommand(reactTag: Int, @NonNull commandId: String, @Nullable commandArgs: ReadableArray)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Stop surface and all operations within it.
Link copied to clipboard
Link copied to clipboard
We update the event emitter from the main thread when the view is mounted.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard