In object:setFocus() document, is this statement correct for the multitouch case?

In object:setFocus() document --> http://docs.coronalabs.com/api/type/StageObject/setFocus.html

there is some description like below:

When multitouch is not enabled (default), StageObject:setFocus() works as follows: StageObject:setFocus( obj, nil ) behaves like StageObject:setFocus( nil ) StageObject:setFocus( obj, touchID ) behaves like StageObject:setFocus( obj )

Is this statement correct?

StageObject:setFocus( obj, nil )

Shouldn’t it be this instead?

StageObject:setFocus( nil, touchID )

Or I misunderstand something?

I believe the documentation is correct.  In single touch mode there is no touch ID and in that case, setFocus() either takes the object to give the focus to or nil to return focus to the stage.  Basically it’s saying in single touch mode, there is only one parameter which is either the object or nil.  In multi-touch mode, there is a second parameter and that in that case obj is required as the first parameter for both.

Rob

I believe the documentation is correct.  In single touch mode there is no touch ID and in that case, setFocus() either takes the object to give the focus to or nil to return focus to the stage.  Basically it’s saying in single touch mode, there is only one parameter which is either the object or nil.  In multi-touch mode, there is a second parameter and that in that case obj is required as the first parameter for both.

Rob