getInstance

Returns the singleton instance. This may be called from native or from Java code.