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

NetSync Class

It represents a network synchronization system that allows multiple clients to connect and communicate with each other in real-time. It provides a way to manage and facilitate real-time communication and data synchronization between multiple clients in a networked environment and it can be retrieved using Models.NetSyncConnection.

Static Methods

SetConnectionStatusChangedNotificationCallback ( callback )
Sent when the status of a connection has changed. The payload will be a type of Models.NetSyncConnection.
Signature
static void Oculus.Platform.NetSync.SetConnectionStatusChangedNotificationCallback(Message< Models.NetSyncConnection >.Callback callback)
Returns
void
SetSessionsChangedNotificationCallback ( callback )
Sent when the list of known connected sessions has changed. Contains the new list of sessions. The payload will be a type of Models.NetSyncSessionsChangedNotification.
Signature
static void Oculus.Platform.NetSync.SetSessionsChangedNotificationCallback(Message< Models.NetSyncSessionsChangedNotification >.Callback callback)
Returns
void