MultiplayerPeerToHostRequirements Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets threshold requirements that apply to each connection between a host candidate and a session member.
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class MultiplayerPeerToHostRequirements
type MultiplayerPeerToHostRequirements = class
interface __IMultiplayerPeerToHostRequirementsPublicNonVirtuals
Public NotInheritable Class MultiplayerPeerToHostRequirements
- Inheritance
-
MultiplayerPeerToHostRequirements
- Attributes
-
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute
Examples
The following example shows the format of the JSON object that represents this class:
"peerToHostRequirements": {
"latencyMaximum": 250,
"bandwidthDownMinimum" : 100000,
"bandwidthUpMinimum" : 1000,
"hostSelectionMetric" : "bandwidthUp"
},
Properties
BandwidthDownMinimumInKilobitsPerSecond |
The minimum bandwidth in kilobits per second for information sent from the host to the peer. |
BandwidthUpMinimumInKilobitsPerSecond |
The minimum bandwidth in kilobits per second for information sent from the peer to the host. |
HostSelectionMetric |
Indicates which metric was used to select the host. |
LatencyMaximum |
The maximum latency for the peer to host connection. |