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

OVR_Platform_Internal.h File

Overview

Enumerations

enum
ovrMessageTypeInternal_ {
ovrMessageTypeInternal_.ovrMessage_AbuseReport_LaunchAdvancedReportFlow = 0x4CB13A6E, ovrMessageTypeInternal_.ovrMessage_Application_ExecuteCoordinatedLaunch = 0x267DB4F4, ovrMessageTypeInternal_.ovrMessage_Application_GetInstalledApplications = 0x520F744C, ovrMessageTypeInternal_.ovrMessage_Avatar_UpdateMetaData = 0x7BCFD98E, ovrMessageTypeInternal_.ovrMessage_Cal_FinalizeApplication = 0x1DA9CBD5, ovrMessageTypeInternal_.ovrMessage_Cal_GetSuggestedApplications = 0x56707015, ovrMessageTypeInternal_.ovrMessage_Cal_ProposeApplication = 0x4E83F2DD, ovrMessageTypeInternal_.ovrMessage_Colocation_GetCurrentMapUuid = 0x34557EB2, ovrMessageTypeInternal_.ovrMessage_Colocation_RequestMap = 0x3215666D, ovrMessageTypeInternal_.ovrMessage_Colocation_ShareMap = 0x186DC4DD, ovrMessageTypeInternal_.ovrMessage_DeviceApplicationIntegrity_GetAttestationToken = 0x102FA3DE, ovrMessageTypeInternal_.ovrMessage_GraphAPI_Get = 0x30FF006E, ovrMessageTypeInternal_.ovrMessage_GraphAPI_Post = 0x76A5A7C4, ovrMessageTypeInternal_.ovrMessage_HTTP_Get = 0x6FB63223, ovrMessageTypeInternal_.ovrMessage_HTTP_GetToFile = 0x4E81DC59, ovrMessageTypeInternal_.ovrMessage_HTTP_MultiPartPost = 0x5842D210, ovrMessageTypeInternal_.ovrMessage_HTTP_Post = 0x6B36A54F, ovrMessageTypeInternal_.ovrMessage_Livestreaming_IsAllowedForApplication = 0x0B6D8D76, ovrMessageTypeInternal_.ovrMessage_Livestreaming_StartPartyStream = 0x7B2F5CDC, ovrMessageTypeInternal_.ovrMessage_Livestreaming_StartStream = 0x501AC7BE, ovrMessageTypeInternal_.ovrMessage_Livestreaming_StopPartyStream = 0x27670F58, ovrMessageTypeInternal_.ovrMessage_Livestreaming_StopStream = 0x44E40DCA, ovrMessageTypeInternal_.ovrMessage_Livestreaming_UpdateMicStatus = 0x1C577D87, ovrMessageTypeInternal_.ovrMessage_NetSync_Connect = 0x646D855F, ovrMessageTypeInternal_.ovrMessage_NetSync_Disconnect = 0x1569FEB5, ovrMessageTypeInternal_.ovrMessage_NetSync_GetSessions = 0x6ED60A35, ovrMessageTypeInternal_.ovrMessage_NetSync_GetVoipAttenuation = 0x112ACA17, ovrMessageTypeInternal_.ovrMessage_NetSync_GetVoipAttenuationDefault = 0x577BA8A0, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipAttenuation = 0x3497D7F6, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipAttenuationModel = 0x6A94AD8E, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipChannelCfg = 0x5C95A4F3, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipGroup = 0x58129C8E, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipListentoChannels = 0x5ED0EA32, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipMicSource = 0x3302F770, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipSessionMuted = 0x5585FF0A, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipSpeaktoChannels = 0x2DAFCDD5, ovrMessageTypeInternal_.ovrMessage_NetSync_SetVoipStreamMode = 0x67E19D37, ovrMessageTypeInternal_.ovrMessage_Party_Create = 0x1AD31B4F, ovrMessageTypeInternal_.ovrMessage_Party_GatherInApplication = 0x7287C183, ovrMessageTypeInternal_.ovrMessage_Party_Get = 0x5E8953BD, ovrMessageTypeInternal_.ovrMessage_Party_GetCurrentForUser = 0x58CBFF2A, ovrMessageTypeInternal_.ovrMessage_Party_Invite = 0x35B5C4E3, ovrMessageTypeInternal_.ovrMessage_Party_Join = 0x68027C73, ovrMessageTypeInternal_.ovrMessage_Party_Leave = 0x329206D1, ovrMessageTypeInternal_.ovrMessage_RichPresence_SetDestination = 0x4F32E10D, ovrMessageTypeInternal_.ovrMessage_RichPresence_SetIsJoinable = 0x3E9B1F61, ovrMessageTypeInternal_.ovrMessage_RichPresence_SetLobbySession = 0x71010917, ovrMessageTypeInternal_.ovrMessage_RichPresence_SetMatchSession = 0x63DFFC8E, ovrMessageTypeInternal_.ovrMessage_Room_CreateOrUpdateAndJoinNamed = 0x7C8E0A91, ovrMessageTypeInternal_.ovrMessage_Room_GetNamedRooms = 0x077D6E8C, ovrMessageTypeInternal_.ovrMessage_Room_GetSocialRooms = 0x61881D76, ovrMessageTypeInternal_.ovrMessage_User_CancelRecordingForReportFlow = 0x03E0D149, ovrMessageTypeInternal_.ovrMessage_User_GetLinkedAccounts = 0x5793F456, ovrMessageTypeInternal_.ovrMessage_User_GetUserCapabilities = 0x121C317C, ovrMessageTypeInternal_.ovrMessage_User_LaunchReportFlow = 0x5662A011, ovrMessageTypeInternal_.ovrMessage_User_LaunchReportFlow2 = 0x7F835863, ovrMessageTypeInternal_.ovrMessage_User_NewEntitledTestUser = 0x11741F03, ovrMessageTypeInternal_.ovrMessage_User_NewTestUser = 0x36E84F8C, ovrMessageTypeInternal_.ovrMessage_User_NewTestUserFriends = 0x1ED726C7, ovrMessageTypeInternal_.ovrMessage_User_StartRecordingForReportFlow = 0x6C6E33E3, ovrMessageTypeInternal_.ovrMessage_User_StopRecordingAndLaunchReportFlow = 0x60788C8B, ovrMessageTypeInternal_.ovrMessage_User_StopRecordingAndLaunchReportFlow2 = 0x19C2B32B, ovrMessageTypeInternal_.ovrMessage_User_TestUserCreateDeviceManifest = 0x6570B2BD, ovrMessageTypeInternal_.ovrMessage_Voip_ReportAppVoipSessions = 0x185251CE
}
enum
enum
enum
enum

Functions

void
ovr_PlatformInitializeStandaloneAccessTokenWithRequestURI
( const char * requestURIPrefix,
const char * accessToken )
void
ovr_PlatformInitializeStandaloneAccessToken
( const char * accessToken )
bool
void
void
void
void
ovr_Log_NewEvent
( const char * eventName,
const ovrPlatformLogValue * values,
size_t length )
void
ovr_Log_Event
( const ovrPlatformLogValue * values,
size_t length )
void
ovr_Log_NewUnifiedEvent
( ovrLogEventName eventName,
const ovrPlatformLogValue * values,
size_t length )
void
ovr_Log_UnifiedEvent
( ovrLogEventName eventName,
const ovrPlatformLogValue * values,
size_t length )
void
void
void
ovr_Livestream_InitializeForCastingWithVideoSpecAndBitrateAndDataChannel
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
int videoMaxBitrateKbps,
bool enableJsonDataChannel )
void
void
void
ovr_AudioManager_SetTuneInMode
( bool isInTuneInMode )
void
void
int
void
size_t
ovr_Voip_PluginGetSystemVoipPeers
( ovrID * peers,
size_t size )
void
Deprecated: Returns a null video track.
size_t
ovr_Party_PluginGetVideoStreamingParticipants
( ovrID * participants,
size_t size )
Deprecated: Will always return 0.
void
ovr_Party_PluginAddGameAudioToInput
( int16_t * pcmData,
size_t pcmDataLength,
int frequency,
int numChannels,
float volume,
int64_t trackID,
int bitsPerSample )
void
void
ovr_Party_PluginSetVoipVolume
( float scaleFactor )
float
float
void
ovr_Party_SetVoipVolume
( float volume )
bool
bool
void
ovr_Voip_SetSystemVoipPassthrough
( bool passthrough )
void
bool
void
ovr_Livestream_StartUnsupportedPackage
( const char * packageName )
void
void
ovr_Livestream_AddGameAudioToInput
( int16_t * pcmData,
size_t pcmDataLength,
int frequency,
int numChannels,
float volume,
int64_t trackID,
int bitsPerSample )
void
ovr_Vrcamera_SetVrcameraAvailable
( bool isAvailable )
size_t
ovr_Microphone_PluginGetPCMShared
( ovrID uid,
int16_t * outputBuffer,
size_t outputBufferSizeElements )
void
void
int
void
void
bool
ovr_UnityInitWrapper
( const char * appId )
void
ovr_UnityInitWrapperAsynchronous
( const char * appId )
ovr_HTTP_GetWithMessageType
( const char * url,
int messageType )
bool
ovr_UnityInitWrapperStandalone
( const char * appID,
LogFunctionPtr logptr )
void
const char *
void
void
ovr_CapturedAudioRenderer_StorePCM
int16_t * pcmData,
size_t pcmDataLength,
int frequency,
int numChannels,
float volume,
int64_t trackID,
int bitsPerSample )
size_t
ovr_CapturedAudioRenderer_RetrievePCM
int16_t * outputBuffer,
size_t outputBufferLength,
int frequency,
int numChannel )
const char *
ovr_Application_ExecuteCoordinatedLaunch
( unsigned long long appID,
unsigned long long roomID )
ovr_Avatar_UpdateMetaData
( const char * avatarMetaData,
const char * imageFilePath )
ovr_Colocation_RequestMap
( const char * uuid )
ovr_Colocation_ShareMap
( const char * uuid )
ovr_DeviceApplicationIntegrity_GetAttestationToken
( const char * challenge_nonce )
ovr_GraphAPI_Get
( const char * url )
ovr_GraphAPI_Post
( const char * url )
ovr_HTTP_Get
( const char * url )
ovr_HTTP_GetToFile
( const char * url,
const char * diskFile )
ovr_HTTP_MultiPartPost
( const char * url,
const char * filepath_param_name,
const char * filepath,
const char * access_token,
ovrKeyValuePair * post_params,
unsigned int numItems )
ovr_HTTP_Post
( const char * url )
ovr_HTTP_StartTransfer
( const char * url,
ovrKeyValuePair * headers,
size_t count )
bool
ovr_HTTP_Write
( ovrRequest transferId,
const void * bytes,
size_t length )
Writes data to the stream identified by a given `transferId'.
void
void
ovr_Livestream_InitializeForCasting
( const char * endpoint,
const char * token,
const char * session )
Initializes a connection via a custom HTTP endpoint.
void
ovr_Livestream_InitializeForCastingNativeReceiver
( const char * endpoint,
const char * token,
const char * session,
int videoWidth,
int videoHeight,
int videoFps,
int videoMaxBitrateKbps )
void
ovr_Livestream_InitializeForCastingWithTurnServers
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
int videoMaxBitrateKbps,
bool enableTurnServer,
bool enableTcpTurnServer,
bool enableAssembleOfferWhileTrickleIce )
Initializes a cast connection with turn servers options.
void
ovr_Livestream_InitializeForCastingWithVideoSpec
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps )
void
ovr_Livestream_InitializeForCastingWithVideoSpecAndBitrate
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
int videoMaxBitrateKbps )
void
ovr_Livestream_InitializeForCastingWithVideoSpecAndDataChannel
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
bool enableJsonDataChannel )
void
ovr_Livestream_InitializeMWSConnection
( const char * fbAccessToken,
ovrID streamID )
void
ovr_Livestream_SendToJsonDataChannel
( const char * jsonString )
Send data to livestream webrtc data channel.
void
ovr_Livestream_Start
( const char * packageName )
Starts a livestream to streamID from packageName.
void
Stops the current livestream.
ovr_Livestreaming_IsAllowedForApplication
( const char * packageName )
const char *
ovr_NetSync_Disconnect
( long long connection_id )
ovr_NetSync_GetSessions
( long long connection_id )
ovr_NetSync_GetVoipAttenuation
( long long connection_id )
ovr_NetSync_SetVoipAttenuation
( long long connection_id,
const float * distances,
const float * decibels,
size_t count )
ovr_NetSync_SetVoipAttenuationModel
( long long connection_id,
const char * name,
const float * distances,
const float * decibels,
size_t count )
ovr_NetSync_SetVoipChannelCfg
( long long connection_id,
const char * channel_name,
const char * attnmodel,
bool disable_spatialization )
ovr_NetSync_SetVoipGroup
( long long connection_id,
const char * group_id )
ovr_NetSync_SetVoipListentoChannels
( long long connection_id,
const char ** listento_channels,
size_t count )
ovr_NetSync_SetVoipMicSource
( long long connection_id,
ovr_NetSync_SetVoipSessionMuted
( long long connection_id,
ovrID session_id,
bool muted )
ovr_NetSync_SetVoipSpeaktoChannels
( long long connection_id,
const char ** speakto_channels,
size_t count )
ovr_NetSync_SetVoipStreamMode
( long long connection_id,
ovrID sessionId,
size_t
ovr_NetSync_GetAmbisonicFloatPCM
( long long connection_id,
float * outputBuffer,
size_t outputBufferNumElements )
size_t
ovr_NetSync_GetAmbisonicInt16PCM
( long long connection_id,
int16_t * outputBuffer,
size_t outputBufferNumElements )
size_t
ovr_NetSync_GetAmbisonicInterleavedFloatPCM
( long long connection_id,
float * outputBuffer,
size_t outputBufferNumElements )
size_t
ovr_NetSync_GetAmbisonicInterleavedInt16PCM
( long long connection_id,
int16_t * outputBuffer,
size_t outputBufferNumElements )
bool
ovr_NetSync_GetListenerPosition
( long long connection_id,
ovrID sessionId,
ovrNetSyncVec3 * position )
size_t
ovr_NetSync_GetMonostreamFloatPCM
( long long connection_id,
ovrID sessionId,
float * outputBuffer,
size_t outputBufferNumElements )
size_t
ovr_NetSync_GetMonostreamInt16PCM
( long long connection_id,
ovrID session_id,
int16_t * outputBuffer,
size_t outputBufferNumElements )
size_t
bool
ovr_NetSync_GetVoipAmplitude
( long long connection_id,
ovrID sessionId,
float * amplitude )
void
ovr_NetSync_SetListenerPosition
( long long connection_id,
const ovrNetSyncVec3 * position )
ovr_Party_Get
( ovrID partyID )
ovr_Party_Invite
( ovrID partyID,
ovrID userID )
ovr_Party_Join
( ovrID partyID )
ovr_Party_Leave
( ovrID partyID )
size_t
ovr_Party_PluginGetPCMWithTimestamp
( ovrID userId,
int16_t * buffer,
size_t numElements,
uint32_t * timestamp )
int
bool
void
ovr_Party_PluginStartVideoStreaming
( const char * packageName )
void
void
void
void
Sends a request to the system to start party chat.
void
Sends a request to the system to stop party chat.
ovr_RichPresence_SetDestination
( const char * api_name )
ovr_RichPresence_SetIsJoinable
( bool is_joinable )
ovr_User_CancelRecordingForReportFlow
( const char * recordingUUID )
ovr_User_LaunchReportFlow2
( ovrID optionalUserID,
ovrAbuseReportOptionsHandle abuseReportOptions )
ovr_User_StopRecordingAndLaunchReportFlow
( ovrID optionalUserID,
const char * optionalRecordingUUID )
ovr_User_StopRecordingAndLaunchReportFlow2
( ovrID optionalUserID,
const char * optionalRecordingUUID,
ovrAbuseReportOptionsHandle abuseReportOptions )
ovr_User_TestUserCreateDeviceManifest
( const char * deviceID,
ovrID * appIDs,
int numAppIDs )
ovr_Voip_ReportAppVoipSessions
( unsigned long long * sessionIDs )

Details

Enumeration Types

enum OVR_Platform_Internal.h.ovrMessageTypeInternal_
Enumerator
ovrMessage_AbuseReport_LaunchAdvancedReportFlow
= 0x4CB13A6E
ovrMessage_Application_ExecuteCoordinatedLaunch
= 0x267DB4F4
ovrMessage_Application_GetInstalledApplications
= 0x520F744C
ovrMessage_Avatar_UpdateMetaData
= 0x7BCFD98E
ovrMessage_Cal_FinalizeApplication
= 0x1DA9CBD5
ovrMessage_Cal_GetSuggestedApplications
= 0x56707015
ovrMessage_Cal_ProposeApplication
= 0x4E83F2DD
ovrMessage_Colocation_GetCurrentMapUuid
= 0x34557EB2
ovrMessage_Colocation_RequestMap
= 0x3215666D
ovrMessage_Colocation_ShareMap
= 0x186DC4DD
ovrMessage_DeviceApplicationIntegrity_GetAttestationToken
= 0x102FA3DE
ovrMessage_GraphAPI_Get
= 0x30FF006E
ovrMessage_GraphAPI_Post
= 0x76A5A7C4
ovrMessage_HTTP_Get
= 0x6FB63223
ovrMessage_HTTP_GetToFile
= 0x4E81DC59
ovrMessage_HTTP_MultiPartPost
= 0x5842D210
ovrMessage_HTTP_Post
= 0x6B36A54F
ovrMessage_Livestreaming_IsAllowedForApplication
= 0x0B6D8D76
ovrMessage_Livestreaming_StartPartyStream
= 0x7B2F5CDC
ovrMessage_Livestreaming_StartStream
= 0x501AC7BE
ovrMessage_Livestreaming_StopPartyStream
= 0x27670F58
ovrMessage_Livestreaming_StopStream
= 0x44E40DCA
ovrMessage_Livestreaming_UpdateMicStatus
= 0x1C577D87
ovrMessage_NetSync_Connect
= 0x646D855F
ovrMessage_NetSync_Disconnect
= 0x1569FEB5
ovrMessage_NetSync_GetSessions
= 0x6ED60A35
ovrMessage_NetSync_GetVoipAttenuation
= 0x112ACA17
ovrMessage_NetSync_GetVoipAttenuationDefault
= 0x577BA8A0
ovrMessage_NetSync_SetVoipAttenuation
= 0x3497D7F6
ovrMessage_NetSync_SetVoipAttenuationModel
= 0x6A94AD8E
ovrMessage_NetSync_SetVoipChannelCfg
= 0x5C95A4F3
ovrMessage_NetSync_SetVoipGroup
= 0x58129C8E
ovrMessage_NetSync_SetVoipListentoChannels
= 0x5ED0EA32
ovrMessage_NetSync_SetVoipMicSource
= 0x3302F770
ovrMessage_NetSync_SetVoipSessionMuted
= 0x5585FF0A
ovrMessage_NetSync_SetVoipSpeaktoChannels
= 0x2DAFCDD5
ovrMessage_NetSync_SetVoipStreamMode
= 0x67E19D37
ovrMessage_Party_Create
= 0x1AD31B4F
ovrMessage_Party_GatherInApplication
= 0x7287C183
ovrMessage_Party_Get
= 0x5E8953BD
ovrMessage_Party_GetCurrentForUser
= 0x58CBFF2A
ovrMessage_Party_Invite
= 0x35B5C4E3
ovrMessage_Party_Join
= 0x68027C73
ovrMessage_Party_Leave
= 0x329206D1
ovrMessage_RichPresence_SetDestination
= 0x4F32E10D
ovrMessage_RichPresence_SetIsJoinable
= 0x3E9B1F61
ovrMessage_RichPresence_SetLobbySession
= 0x71010917
ovrMessage_RichPresence_SetMatchSession
= 0x63DFFC8E
ovrMessage_Room_CreateOrUpdateAndJoinNamed
= 0x7C8E0A91
ovrMessage_Room_GetNamedRooms
= 0x077D6E8C
ovrMessage_Room_GetSocialRooms
= 0x61881D76
ovrMessage_User_CancelRecordingForReportFlow
= 0x03E0D149
ovrMessage_User_GetLinkedAccounts
= 0x5793F456
ovrMessage_User_GetUserCapabilities
= 0x121C317C
ovrMessage_User_LaunchReportFlow
= 0x5662A011
ovrMessage_User_LaunchReportFlow2
= 0x7F835863
ovrMessage_User_NewEntitledTestUser
= 0x11741F03
ovrMessage_User_NewTestUser
= 0x36E84F8C
ovrMessage_User_NewTestUserFriends
= 0x1ED726C7
ovrMessage_User_StartRecordingForReportFlow
= 0x6C6E33E3
ovrMessage_User_StopRecordingAndLaunchReportFlow
= 0x60788C8B
ovrMessage_User_StopRecordingAndLaunchReportFlow2
= 0x19C2B32B
ovrMessage_User_TestUserCreateDeviceManifest
= 0x6570B2BD
ovrMessage_Voip_ReportAppVoipSessions
= 0x185251CE
enum OVR_Platform_Internal.h.ovrCloudStorageLocation_
Enumerator
ovrCloudStorageLocation_Local
= 0
ovrCloudStorageLocation_Remote
= 1
enum OVR_Platform_Internal.h.ovrLivestreamMicStatus_
Enumerator
ovrLivestreamMicStatus_Enabled
= 0
ovrLivestreamMicStatus_Disabled
= 1
enum OVR_Platform_Internal.h.ovrLivestreamHeadphoneStatus_
Enumerator
ovrLivestreamHeadphoneStatus_Disconnected
= 0
ovrLivestreamHeadphoneStatus_Connected
= 1
enum OVR_Platform_Internal.h.ovrConfigOptionInternal_
Enumerator
ovrConfigOption_DisableFbns
= 0x5B1FEDA6
ovrConfigOption_DisableP2pNetworking
= 0x1CDE5DDE
ovrConfigOption_EnableCowatching
= 0x7DD1C46E

Typedefs

typedef void* ovrSystemPermissionHandle ( )
No description available.
typedef enum ovrMessageTypeInternal_ ovrMessageTypeInternal ( )
No description available.
typedef enum ovrCloudStorageLocation_ ovrCloudStorageLocation ( )
No description available.
typedef enum ovrLivestreamMicStatus_ ovrLivestreamMicStatus ( )
No description available.
typedef enum ovrLivestreamHeadphoneStatus_ ovrLivestreamHeadphoneStatus ( )
No description available.
typedef void* ovrCaptureredAudioRendererHandle ( )
No description available.
typedef void* video_track_t ( )
No description available.
typedef struct ovrVoipCodecOptions* ovrVoipCodecOptionsHandle ( )
No description available.
typedef enum ovrConfigOptionInternal_ ovrConfigOptionInternal ( )
No description available.

Functions

void ovr_PlatformInitializeStandaloneAccessTokenWithRequestURI
( const char * requestURIPrefix,
const char * accessToken )
No description available.
void ovr_PlatformInitializeStandaloneAccessToken
( const char * accessToken )
No description available.
ovrRequest ovr_SystemPermissions_GetStatus
( ovrPermissionType permType )
No description available.
ovrRequest ovr_SystemPermissions_LaunchDeeplink
( ovrPermissionType permType )
No description available.
ovrSystemPermissionHandle ovr_Message_GetSystemPermission
( const ovrMessageHandle obj )
No description available.
bool ovr_SystemPermission_GetHasPermission
No description available.
ovrPermissionGrantStatus ovr_SystemPermission_GetPermissionGrantStatus
No description available.
void ovr_CrashApplication ( )
No description available.
void ovr_LogoutUser ( )
No description available.
void ovr_PlatformTeardownPlugin ( )
No description available.
void ovr_Log_NewEvent
( const char * eventName,
const ovrPlatformLogValue * values,
size_t length )
No description available.
void ovr_Log_Event
( const ovrPlatformLogValue * values,
size_t length )
No description available.
void ovr_Log_NewUnifiedEvent
( ovrLogEventName eventName,
const ovrPlatformLogValue * values,
size_t length )
No description available.
void ovr_Log_UnifiedEvent
( ovrLogEventName eventName,
const ovrPlatformLogValue * values,
size_t length )
No description available.
ovrVoipEncoderHandle ovr_Voip_CreateEncoderWithOptions
No description available.
void ovr_Voip_SetMicrophoneFilterCallbackWithFixedSizeBuffer
size_t bufferSizeElements )
No description available.
void ovr_Livestream_SetHeadphoneStatus
No description available.
void ovr_Livestream_InitializeForCastingWithVideoSpecAndBitrateAndDataChannel
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
int videoMaxBitrateKbps,
bool enableJsonDataChannel )
No description available.
void ovr_AudioManager_SetCurrentHeadphoneStatus
No description available.
void ovr_AudioManager_SetCurrentMountStatus
( bool isMounted )
No description available.
void ovr_AudioManager_SetTuneInMode
( bool isInTuneInMode )
No description available.
void ovr_Voip_PluginSetSystemVoipDisabled
( bool disabled )
No description available.
void ovr_Voip_PluginSetSystemVoipPassthrough
( bool passthrough )
No description available.
int ovr_Voip_PluginSetSystemVoipPassthrough2
( bool passthrough )
No description available.
void ovr_Voip_PluginSetSystemVoipSuppressed
( bool suppressed )
No description available.
size_t ovr_Voip_PluginGetSystemVoipPeers
( ovrID * peers,
size_t size )
No description available.
void ovr_Voip_PluginSetMicrophoneMuted
( ovrVoipMuteState muted )
No description available.
ovrLivestreamMicStatus ovr_Livestreaming_PluginGetMicrophoneMuted ( )
No description available.
video_track_t ovr_Party_PluginGetVideoStreamingTrackForParticipant
( ovrID userId )
Deprecated: Returns a null video track.
size_t ovr_Party_PluginGetVideoStreamingParticipants
( ovrID * participants,
size_t size )
Deprecated: Will always return 0.
void ovr_Party_PluginAddGameAudioToInput
( int16_t * pcmData,
size_t pcmDataLength,
int frequency,
int numChannels,
float volume,
int64_t trackID,
int bitsPerSample )
No description available.
void ovr_Party_PluginSetGameAudioMuted
( bool muted )
No description available.
void ovr_Party_PluginSetVoipVolume
( float scaleFactor )
No description available.
float ovr_Party_PluginGetVoipVolume ( )
No description available.
float ovr_Party_GetVoipVolume ( )
No description available.
void ovr_Party_SetVoipVolume
( float volume )
No description available.
bool ovr_Party_PluginIsParticipantConnectedToMWS
( ovrID participantID )
No description available.
bool ovr_Party_PluginHasParticipantRecentlySpoken
( ovrID participantID )
No description available.
void ovr_Voip_SetSystemVoipPassthrough
( bool passthrough )
No description available.
void ovr_Voip_SetSystemVoipMicrophoneMuted
( ovrVoipMuteState muted )
No description available.
bool ovr_Voip_GetSystemVoipPassthrough ( )
No description available.
void ovr_Livestream_StartUnsupportedPackage
( const char * packageName )
No description available.
ovrRequest ovr_Livestreaming_LaunchLivestreamingFlow ( )
No description available.
ovrRequest ovr_Livestreaming_UpdateCommentsOverlayVisibility
( bool isVisible )
No description available.
ovrRequest ovr_Livestreaming_GetStatus ( )
No description available.
ovrRequest ovr_Livestreaming_PauseStream ( )
No description available.
ovrRequest ovr_Livestreaming_ResumeStream ( )
No description available.
void ovr_Livestream_SetMicStatus
No description available.
void ovr_Livestream_AddGameAudioToInput
( int16_t * pcmData,
size_t pcmDataLength,
int frequency,
int numChannels,
float volume,
int64_t trackID,
int bitsPerSample )
No description available.
void ovr_Vrcamera_SetVrcameraAvailable
( bool isAvailable )
No description available.
size_t ovr_Microphone_PluginGetPCMShared
( ovrID uid,
int16_t * outputBuffer,
size_t outputBufferSizeElements )
No description available.
void ovr_Microphone_PluginSharedMicrophoneDisableNoiseSuppressor
( ovrID uid )
No description available.
void ovr_Microphone_PluginSharedMicrophoneEnableNoiseSuppressor
( ovrID uid )
No description available.
int ovr_Microphone_PluginGetSocketFDShared
( ovrID uid )
No description available.
void ovr_Microphone_PluginSharedStop
( ovrID uid )
No description available.
void ovr_SetPlatformLogFunc
( LogFunctionPtr logFunc )
No description available.
bool ovr_UnityInitWrapper
( const char * appId )
No description available.
void ovr_UnityInitGlobals
( LogFunctionPtr logptr )
No description available.
ovrRequest ovr_UnityInitWrapperAsynchronous
( const char * appId )
No description available.
ovrRequest ovr_HTTP_GetWithMessageType
( const char * url,
int messageType )
No description available.
bool ovr_UnityInitWrapperStandalone
( const char * appID,
LogFunctionPtr logptr )
No description available.
void ovr_UnityResetTestPlatform ( )
No description available.
const char* ovr_GetGatekeepers ( )
No description available.
ovrCaptureredAudioRendererHandle ovr_CapturedAudioRenderer_New ( )
No description available.
void ovr_CapturedAudioRenderer_Delete
No description available.
void ovr_CapturedAudioRenderer_StorePCM
int16_t * pcmData,
size_t pcmDataLength,
int frequency,
int numChannels,
float volume,
int64_t trackID,
int bitsPerSample )
No description available.
size_t ovr_CapturedAudioRenderer_RetrievePCM
int16_t * outputBuffer,
size_t outputBufferLength,
int frequency,
int numChannel )
No description available.
ovrKeyValuePair ovr_ConfigOption_CreateInternal
int value )
No description available.
const char* ovrConfigOptionInternal_toString
( ovrConfigOptionInternal configOption )
No description available.
ovrRequest ovr_AbuseReport_LaunchAdvancedReportFlow
( ovrID content_id,
ovrAdvancedAbuseReportOptionsHandle abuse_report_options )
No description available.
ovrRequest ovr_Application_ExecuteCoordinatedLaunch
( unsigned long long appID,
unsigned long long roomID )
No description available.
ovrRequest ovr_Application_GetInstalledApplications ( )
No description available.
ovrRequest ovr_Avatar_UpdateMetaData
( const char * avatarMetaData,
const char * imageFilePath )
No description available.
ovrRequest ovr_Colocation_GetCurrentMapUuid ( )
No description available.
ovrRequest ovr_Colocation_RequestMap
( const char * uuid )
No description available.
ovrRequest ovr_Colocation_ShareMap
( const char * uuid )
No description available.
ovrRequest ovr_DeviceApplicationIntegrity_GetAttestationToken
( const char * challenge_nonce )
No description available.
ovrRequest ovr_GraphAPI_Get
( const char * url )
No description available.
ovrRequest ovr_GraphAPI_Post
( const char * url )
No description available.
ovrRequest ovr_HTTP_Get
( const char * url )
No description available.
ovrRequest ovr_HTTP_GetToFile
( const char * url,
const char * diskFile )
No description available.
ovrRequest ovr_HTTP_MultiPartPost
( const char * url,
const char * filepath_param_name,
const char * filepath,
const char * access_token,
ovrKeyValuePair * post_params,
unsigned int numItems )
No description available.
ovrRequest ovr_HTTP_Post
( const char * url )
No description available.
ovrRequest ovr_HTTP_StartTransfer
( const char * url,
ovrKeyValuePair * headers,
size_t count )
Initiates an HTTP transfer to a given URL. Returns an id that can be used to write data to the stream. A message will be posted when new data is received or in case of an error.
bool ovr_HTTP_Write
( ovrRequest transferId,
const void * bytes,
size_t length )
Writes data to the stream identified by a given `transferId'.
void ovr_HTTP_WriteEOM
( ovrRequest transferId )
Indicates that the no more data will be sent to the server. The connection will eventually be closed. Note that we might still receive data from the server for a little while.
void ovr_Livestream_InitializeForCasting
( const char * endpoint,
const char * token,
const char * session )
Initializes a connection via a custom HTTP endpoint.
void ovr_Livestream_InitializeForCastingNativeReceiver
( const char * endpoint,
const char * token,
const char * session,
int videoWidth,
int videoHeight,
int videoFps,
int videoMaxBitrateKbps )
Initializes a connection via a custom HTTP endpoint with video spec and bitrate parameters
void ovr_Livestream_InitializeForCastingWithTurnServers
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
int videoMaxBitrateKbps,
bool enableTurnServer,
bool enableTcpTurnServer,
bool enableAssembleOfferWhileTrickleIce )
Initializes a cast connection with turn servers options.
void ovr_Livestream_InitializeForCastingWithVideoSpec
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps )
Initializes a connection via a custom HTTP endpoint with video spec parameters (use default max bitrate to 3000 kbps)
void ovr_Livestream_InitializeForCastingWithVideoSpecAndBitrate
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
int videoMaxBitrateKbps )
Initializes a connection via a custom HTTP endpoint with video spec and bitrate parameters
void ovr_Livestream_InitializeForCastingWithVideoSpecAndDataChannel
( const char * endpoint,
const char * token,
const char * session,
int videoHeight,
int videoWidth,
int videoFps,
bool enableJsonDataChannel )
Initializes a connection via a custom HTTP endpoint with video spec and data channel parameters (use default max bitrate to 3000 kbps)
void ovr_Livestream_InitializeMWSConnection
( const char * fbAccessToken,
ovrID streamID )
Initializes a connection to the MWS with a Facebook UID and FBUID/Oculus FB App access token
void ovr_Livestream_SendToJsonDataChannel
( const char * jsonString )
Send data to livestream webrtc data channel.
void ovr_Livestream_Start
( const char * packageName )
Starts a livestream to streamID from packageName.
void ovr_Livestream_Stop ( )
Stops the current livestream.
ovrRequest ovr_Livestreaming_IsAllowedForApplication
( const char * packageName )
No description available.
ovrRequest ovr_Livestreaming_StartPartyStream ( )
No description available.
ovrRequest ovr_Livestreaming_StartStream
No description available.
ovrRequest ovr_Livestreaming_StopPartyStream ( )
No description available.
ovrRequest ovr_Livestreaming_StopStream ( )
No description available.
ovrRequest ovr_Livestreaming_UpdateMicStatus
No description available.
const char* ovr_Message_GetStringForJavascript
( ovrMessageHandle message )
returns a json formatted string to be sent to javascript / ReactVR it is populated by the public CAPI, so that we don't increase our compatibility surface. It's always a json array with a single json object inside of it. The only key will always be data/error. The keys are defined to be the same as in models.yaml so we can codegen easily.
ovrRequest ovr_NetSync_Connect
( ovrNetSyncOptionsHandle connect_options )
No description available.
ovrRequest ovr_NetSync_Disconnect
( long long connection_id )
No description available.
ovrRequest ovr_NetSync_GetSessions
( long long connection_id )
No description available.
ovrRequest ovr_NetSync_GetVoipAttenuation
( long long connection_id )
No description available.
ovrRequest ovr_NetSync_GetVoipAttenuationDefault ( )
No description available.
ovrRequest ovr_NetSync_SetVoipAttenuation
( long long connection_id,
const float * distances,
const float * decibels,
size_t count )
No description available.
ovrRequest ovr_NetSync_SetVoipAttenuationModel
( long long connection_id,
const char * name,
const float * distances,
const float * decibels,
size_t count )
No description available.
ovrRequest ovr_NetSync_SetVoipChannelCfg
( long long connection_id,
const char * channel_name,
const char * attnmodel,
bool disable_spatialization )
No description available.
ovrRequest ovr_NetSync_SetVoipGroup
( long long connection_id,
const char * group_id )
No description available.
ovrRequest ovr_NetSync_SetVoipListentoChannels
( long long connection_id,
const char ** listento_channels,
size_t count )
No description available.
ovrRequest ovr_NetSync_SetVoipMicSource
( long long connection_id,
No description available.
ovrRequest ovr_NetSync_SetVoipSessionMuted
( long long connection_id,
ovrID session_id,
bool muted )
No description available.
ovrRequest ovr_NetSync_SetVoipSpeaktoChannels
( long long connection_id,
const char ** speakto_channels,
size_t count )
No description available.
ovrRequest ovr_NetSync_SetVoipStreamMode
( long long connection_id,
ovrID sessionId,
No description available.
size_t ovr_NetSync_GetAmbisonicFloatPCM
( long long connection_id,
float * outputBuffer,
size_t outputBufferNumElements )
Gets all available samples of ambisonic mixed voice data and copies it into outputBuffer. Returns the number of frames copied.
This function can be safely called from any thread.
size_t ovr_NetSync_GetAmbisonicInt16PCM
( long long connection_id,
int16_t * outputBuffer,
size_t outputBufferNumElements )
Gets all available samples of ambisonic mixed voice data and copies it into outputBuffer. Returns the number of frames copied.
This function can be safely called from any thread.
size_t ovr_NetSync_GetAmbisonicInterleavedFloatPCM
( long long connection_id,
float * outputBuffer,
size_t outputBufferNumElements )
Gets all available samples of ambisonic mixed voice data and copies it into outputBuffer. Returns the number of frames copied.
This function can be safely called from any thread.
size_t ovr_NetSync_GetAmbisonicInterleavedInt16PCM
( long long connection_id,
int16_t * outputBuffer,
size_t outputBufferNumElements )
Gets all available samples of ambisonic mixed voice data and copies it into outputBuffer. Returns the number of frames copied.
This function can be safely called from any thread.
bool ovr_NetSync_GetListenerPosition
( long long connection_id,
ovrID sessionId,
ovrNetSyncVec3 * position )
Populates the given 3 element array with the position of the given session. If the given session has never called set_listener_position, or if the position has not yet been replicated, this method will set each to { 0, 0, 0 }
The coordinate system used for ambisonic mixing is as right handed: positive X pointing right, positive Y pointing upward, positive Z pointing backward
A value of 1.0 is equal to 1 meter.
size_t ovr_NetSync_GetMonostreamFloatPCM
( long long connection_id,
ovrID sessionId,
float * outputBuffer,
size_t outputBufferNumElements )
Gets all available samples of monostream voice data for the given networking session identifier and copies it into outputBuffer. Returns the number of frames copied.
This function can be safely called from any thread.
size_t ovr_NetSync_GetMonostreamInt16PCM
( long long connection_id,
ovrID session_id,
int16_t * outputBuffer,
size_t outputBufferNumElements )
Gets all available samples of monostream voice data for the given networking session identifier and copies it into outputBuffer. Returns the number of frames copied.
This function can be safely called from any thread.
size_t ovr_NetSync_GetPcmBufferMaxSamples ( )
Returns the maximum number of samples that an output buffer will need to hold.
bool ovr_NetSync_GetVoipAmplitude
( long long connection_id,
ovrID sessionId,
float * amplitude )
gets the voip amplitude of other sessions. the amplitude range is from [0.0f, 1.0f]
when successfully set the function returns true, else false.
void ovr_NetSync_SetListenerPosition
( long long connection_id,
const ovrNetSyncVec3 * position )
Sets the position of the listener for spatialized audio, which is used to mix the ambisonic stream on the server. This is also used as the position for the microphone.
ovrRequest ovr_Party_Create ( )
No description available.
ovrRequest ovr_Party_GatherInApplication
( ovrID partyID,
ovrID appID )
No description available.
ovrRequest ovr_Party_Get
( ovrID partyID )
No description available.
ovrRequest ovr_Party_GetCurrentForUser
( ovrID userID )
No description available.
ovrRequest ovr_Party_Invite
( ovrID partyID,
ovrID userID )
No description available.
ovrRequest ovr_Party_Join
( ovrID partyID )
No description available.
ovrRequest ovr_Party_Leave
( ovrID partyID )
No description available.
size_t ovr_Party_PluginGetPCMWithTimestamp
( ovrID userId,
int16_t * buffer,
size_t numElements,
uint32_t * timestamp )
This internal-only method is used by the platform plugin to extract audio frames for a given user. See ovr_Voip_GetPCMWithTimestamp() for details.
int ovr_Party_PluginGetSharedMemHandle ( )
Returns a handle to a shared memory object that can be used to receive pcm data in passthrough mode.
ovrVoipMuteState ovr_Party_PluginGetVoipMicrophoneMuted ( )
Internal use only. Noop if called from a 3P app context. Gets party chat microphone mute status.
bool ovr_Party_PluginGetVoipPassthrough ( )
Internal use only. Noop if called from a 3P app context. Returns true if we are in voip passthrough mode.
ovrSystemVoipStatus ovr_Party_PluginGetVoipStatus ( )
Internal use only. Noop if called from a 3P app context. Gets party chat status.
void ovr_Party_PluginStartVideoStreaming
( const char * packageName )
This internal-only method is used by the platform plugin in order to enable video streaming to the party.
void ovr_Party_PluginStartVoip
( ovrID partyId )
This internal-only method is called by the platform plugin in order to set up a conference call with all members of the given party.
void ovr_Party_PluginStopVideoStreaming ( )
This internal-only method is used by the platform plugin in order to disable video streaming to the party.
void ovr_Party_PluginStopVoip ( )
This internal-only method is called by the platform plugin after leaving the party in order to stop the conference call.
void ovr_Party_StartVoip
( ovrID partyId )
Sends a request to the system to start party chat.
void ovr_Party_StopVoip ( )
Sends a request to the system to stop party chat.
ovrRequest ovr_RichPresence_SetDestination
( const char * api_name )
No description available.
ovrRequest ovr_RichPresence_SetIsJoinable
( bool is_joinable )
No description available.
ovrRequest ovr_RichPresence_SetLobbySession
( const char * id )
No description available.
ovrRequest ovr_RichPresence_SetMatchSession
( const char * id )
No description available.
ovrRequest ovr_User_CancelRecordingForReportFlow
( const char * recordingUUID )
No description available.
ovrRequest ovr_User_GetLinkedAccounts
( ovrUserOptionsHandle userOptions )
No description available.
ovrRequest ovr_User_GetUserCapabilities ( )
No description available.
ovrRequest ovr_User_LaunchReportFlow
( ovrID userID )
No description available.
ovrRequest ovr_User_LaunchReportFlow2
( ovrID optionalUserID,
ovrAbuseReportOptionsHandle abuseReportOptions )
No description available.
ovrRequest ovr_User_NewEntitledTestUser ( )
No description available.
ovrRequest ovr_User_NewTestUser ( )
No description available.
ovrRequest ovr_User_NewTestUserFriends ( )
No description available.
ovrRequest ovr_User_StartRecordingForReportFlow ( )
No description available.
ovrRequest ovr_User_StopRecordingAndLaunchReportFlow
( ovrID optionalUserID,
const char * optionalRecordingUUID )
No description available.
ovrRequest ovr_User_StopRecordingAndLaunchReportFlow2
( ovrID optionalUserID,
const char * optionalRecordingUUID,
ovrAbuseReportOptionsHandle abuseReportOptions )
No description available.
ovrRequest ovr_User_TestUserCreateDeviceManifest
( const char * deviceID,
ovrID * appIDs,
int numAppIDs )
No description available.
ovrRequest ovr_Voip_ReportAppVoipSessions
( unsigned long long * sessionIDs )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon