receive Command
Subclasses may use this method to receive events/commands directly from JS through the . Good example of such a command would be scrollTo
request with coordinates for a ReactScrollView instance.
Parameters
root
View instance that should receive the command
command Id
code of the command
args
optional arguments for the command
Deprecated
Subclasses may use this method to receive events/commands directly from JS through the . Good example of such a command would be scrollTo
request with coordinates for a ScrollView instance.
This method is deprecated use receiveCommand instead.
Parameters
root
View instance that should receive the command
command Id
code of the command
args
optional arguments for the command