API reference

NetSyncOptions Class

Constructors

NetSyncOptions ()
Creates a new instance of ::NetSyncOptions which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
Signature
Oculus.Platform.NetSyncOptions.NetSyncOptions()

Methods

SetVoipGroup ( value )
If provided, immediately set the voip_group to this value upon connection.
Signature
void Oculus.Platform.NetSyncOptions.SetVoipGroup(string value)
Parameters
value: string
Returns
void
SetVoipStreamDefault ( value )
When a new remote voip user connects, default that connection to this stream type by default.
Signature
void Oculus.Platform.NetSyncOptions.SetVoipStreamDefault(NetSyncVoipStreamMode value)
Parameters
Returns
void
SetZoneId ( value )
Unique identifier within the current application grouping.
Signature
void Oculus.Platform.NetSyncOptions.SetZoneId(string value)
Parameters
value: string
Returns
void

Static Methods

operator IntPtr ( options )
This operator allows you to pass an instance of the ::NetSyncOptions class to native C code as an IntPtr. The operator returns the handle of the options object, or IntPtr.Zero if the object is null.
Signature
static Oculus.Platform.NetSyncOptions.operator IntPtr(NetSyncOptions options)
Parameters