dispatchCommand

open fun dispatchCommand(reactTag: Int, commandId: String, @Nullable commandArgs: ReadableArray)

Dispatches the commandId received by parameter to the view associated with the reactTag. The command will be processed in the UIThread.

Pre-Fabric, this is only called on the Native Module Thread.

Parameters

reactTag

that identifies the view that will receive this command

commandId

command id

commandArgs

ReadableArray parameters associated with the command


open fun dispatchCommand(reactTag: Int, commandId: Int, @Nullable commandArgs: ReadableArray)

Deprecated

Deprecated, use dispatchCommand instead.