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
const char * key[Get]
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.
const char * stringValue[Get]
The string value associated with the key, if the valueType is ovrKeyValuePairType_String. If the valueType is not ovrKeyValuePairType_String, this field is ignored.
int intValue[Get]
The integer value associated with the key, if the valueType is ovrKeyValuePairType_Integer. If the valueType is not ovrKeyValuePairType_Integer, this field is ignored.
double doubleValue[Get]
The double value associated with the key, if the valueType is ovrKeyValuePairType_Double. If the valueType is not ovrKeyValuePairType_Double, this field is ignored.