This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Platform 1.28 Reference Guide

OVR_PeerConnectionState.h File Reference

Enumeration Type Documentation

enum OVR_PeerConnectionState.h.ovrPeerConnectionState_
Enumerator
ovrPeerState_Unknown
ovrPeerState_Connected
Connection to the peer is established.
ovrPeerState_Timeout
ovrPeerState_Closed

Typedef Documentation

typedef enum ovrPeerConnectionState_ ovrPeerConnectionState ( )

Function Documentation

const char* ovrPeerConnectionState_ToString ( ovrPeerConnectionState value )
Converts an ovrPeerConnectionState enum value to a string The returned string does not need to be freed
ovrPeerConnectionState ovrPeerConnectionState_FromString ( const char * str )
Converts a string representing an ovrPeerConnectionState enum value to an enum value
1
2
3
4
5
6
7
8
9
11
14
19
20
21
24
25
28
29
30
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!

#ifndef OVR_PEER_CONNECTION_STATE_H
#define OVR_PEER_CONNECTION_STATE_H

#include "OVR_Platform_Defs.h"

typedefenum ovrPeerConnectionState_ {
  ovrPeerState_Unknown,
  ovrPeerState_Connected,
  ovrPeerState_Timeout,
  ovrPeerState_Closed,
} ovrPeerConnectionState;

OVRPL_PUBLIC_FUNCTION(constchar*) ovrPeerConnectionState_ToString(ovrPeerConnectionState value);

OVRPL_PUBLIC_FUNCTION(ovrPeerConnectionState) ovrPeerConnectionState_FromString(constchar* str);

#endif
The documentation for this file was generated from the following file: OVR_PeerConnectionState.h