API reference

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 com.meta.horizon.platform.ovr.models.NetSyncConnection.

Constructors

NetSyncOptions ()
Signature
com.meta.horizon.platform.ovr.options.NetSyncOptions.NetSyncOptions()

Protected Methods

finalize ()
Signature
void com.meta.horizon.platform.ovr.options.NetSyncOptions.finalize()
Returns
void

Methods

getHandle ()
Signature
long com.meta.horizon.platform.ovr.options.NetSyncOptions.getHandle()
Returns
long
setVoipGroup ( value )
If provided, immediately set the voip_group to this value upon connection and can be retrieved using com.meta.horizon.platform.ovr.models.NetSyncSession#getVoipGroup()
Signature
void com.meta.horizon.platform.ovr.options.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. There are three modes: com.meta.horizon.platform.ovr.enums.NetSyncVoipStreamMode#Unknown, com.meta.horizon.platform.ovr.enums.NetSyncVoipStreamMode#Ambisonic, com.meta.horizon.platform.ovr.enums.NetSyncVoipStreamMode#Mono.
Signature
void com.meta.horizon.platform.ovr.options.NetSyncOptions.setVoipStreamDefault(NetSyncVoipStreamMode value)
Parameters
value: NetSyncVoipStreamMode
Returns
void
setZoneId ( value )
A string represents the unique identifier within the current application grouping.
Signature
void com.meta.horizon.platform.ovr.options.NetSyncOptions.setZoneId(String value)
Parameters
value: String
Returns
void