The XRNodeState class for input tracking appears to have an issue in the documentation - commands to get the position, rotation, velocity etc. have changed in 2019.1, but the documentation doesn’t mention the parameters the calls take.
All of their definitions should include a parameter that is the returned vector or quaternion, and all should return bool rather than void.
IE. bool TryGetPosition(out Vector3) rather than void TryGetPosition()