API reference
API reference
Select your platform
No SDKs available
No versions available

ovrKeyValuePair Struct

The ovrKeyValuePair struct represents a key-value pair, where the key is a string and the value can be either an integer, a double, or a string. This struct is used to represent data in the Oculus Platform API. See more details here.

Fields

The key component of the ovrKeyValuePair struct. It is a string value representing the key.
The type of value stored in the ovrKeyValuePair struct. Can be one of ovrKeyValuePairType: ovrKeyValuePairType_Integer, ovrKeyValuePairType_Double, ovrKeyValuePairType_String or ovrKeyValuePairType_Unknown.
The string value associated with the key, if the valueType is ovrKeyValuePairType_String. If the valueType is not ovrKeyValuePairType_String, this field is ignored.
The integer value associated with the key, if the valueType is ovrKeyValuePairType_Integer. If the valueType is not ovrKeyValuePairType_Integer, this field is ignored.
The double value associated with the key, if the valueType is ovrKeyValuePairType_Double. If the valueType is not ovrKeyValuePairType_Double, this field is ignored.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon