MCPcopy Create free account
hub / github.com/cocos/cocos-engine / getRuntimeVersion

Method getRuntimeVersion

native/cocos/platform/java/modules/XRInterface.cpp:451–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451uint32_t XRInterface::getRuntimeVersion() {
452#if CC_USE_XR
453 return xr::XrEntry::getInstance()->getXRConfig(cc::xr::XRConfigKey::RUNTIME_VERSION).getInt();
454#else
455 return 1;
456#endif
457}
458
459void XRInterface::initialize(void *javaVM, void *activity) {
460#if CC_USE_XR

Callers 1

onClientConnectedMethod · 0.80

Calls 2

getXRConfigMethod · 0.80
getIntMethod · 0.45

Tested by

no test coverage detected