AP.getLocation not documented

I just hit this as well and I am confused why this is not documented (anymore?). @rwhitbeck there is a post here that refers to AP.getLocation but like @marc mentioned this is different from AP.navigator.getLocation.

This method is still documented for Bitbucket Cloud: AP