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

NetSyncOptions Class

The NetSyncOption configures network connections, focusing on VoIP data streams. It includes 'zone_id' for unique identifiers within the application, 'voip_stream_default' to set default VoIP stream modes, and 'voip_group' to assign a VoIP group upon connection. It can be set when create a new connection and retrieved using Models.NetSyncConnection.

Constructors & Destructors

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.
If provided, immediately set the voip_group to this value upon connection and can be retrieved using NetSyncSession::VoipGroup
When a new remote voip user connects, default that connection to this stream type by default. There are three modes: NetSyncVoipStreamMode.Unknown, NetSyncVoipStreamMode.Ambisonic, NetSyncVoipStreamMode.Mono.
A string represents the unique identifier within the current application grouping.

Static Member Functions

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.
Did you find this page helpful?