Oculus Touch Controllers Location in C++

How to get Oculus Touch controllers position and orientation in C++? I use GetHandPositionAndOrientation(…) function for Vive, but it’s a member of SteamVR API, not Oculus API. Does it work with Oculus controllers? I doubt that and can’t find an equal function in Oculus Input Plugin/UE4 documentation.

Thank you.