Path: blob/master/thirdparty/openxr/src/loader/android_utilities.h
9917 views
// Copyright (c) 2020-2025 The Khronos Group Inc.1// Copyright (c) 2020-2021, Collabora, Ltd.2//3// SPDX-License-Identifier: Apache-2.0 OR MIT4//5// Initial Author: Rylie Pavlik <[email protected]>67#pragma once8#ifdef __ANDROID__910#include "wrap/android.content.h"1112#include <string>13namespace Json {14class Value;15} // namespace Json1617namespace openxr_android {18using wrap::android::content::Context;1920/*!21* Find the single active OpenXR runtime on the system, and return a constructed JSON object representing it.22*23* @param context An Android context, preferably an Activity Context.24* @param[out] virtualManifest The Json::Value to fill with the virtual manifest.25*26* @return 0 on success, something else on failure.27*/28int getActiveRuntimeVirtualManifest(wrap::android::content::Context const &context, Json::Value &virtualManifest);29} // namespace openxr_android3031#endif // __ANDROID__323334