Ocean
Ocean::Platform::Meta::Quest Namespace Reference

Namespace of the Platform Meta Quest library. More...

Namespaces

 Application
 Namespace of the Platform Meta Quest Application library.
 
 OpenXR
 Namespace of the Platform Meta Quest OpenXR library.
 
 PlatformSDK
 Namespace of the Platform Meta Quest Platform SDK library.
 

Data Structures

class  Device
 This class implements functions for Meta's Quest devices. More...
 
class  Utilities
 This class implements utility functions for Meta Quest platforms. More...
 

Functions

uint32_t PlatformMetaDevice_externalDeviceType (const std::string &productModel, const std::string &productName)
 Returns the type of the device. More...
 
std::string PlatformMetaDevice_externalDeviceName (const uint32_t deviceType)
 Returns the name of a device which is based on external knowledge. More...
 

Detailed Description

Namespace of the Platform Meta Quest library.

The Namespace Ocean::Platform::Meta::Quest is used in the entire Ocean Platform Meta Quest Library.

Function Documentation

◆ PlatformMetaDevice_externalDeviceName()

std::string Ocean::Platform::Meta::Quest::PlatformMetaDevice_externalDeviceName ( const uint32_t  deviceType)

Returns the name of a device which is based on external knowledge.

Parameters
deviceTypeThe device type for which the name will be returned
Returns
The device name, "Unknown" if unknown

◆ PlatformMetaDevice_externalDeviceType()

uint32_t Ocean::Platform::Meta::Quest::PlatformMetaDevice_externalDeviceType ( const std::string &  productModel,
const std::string &  productName 
)

Returns the type of the device.

Parameters
productModelThe product model for which the enum type will be returned
productNameThe product name for which the enum type will be returned
Returns
The device type, DT_UNKNOWN if unknown