Enum NearbyConnectionType
- Namespace
- Plugin.Maui.NearbyConnectivity
- Assembly
- Plugin.Maui.NearbyConnectivity.dll
Specifies how aggressively a connection may use the radio, trading throughput against disruption to other connections on the device.
public enum NearbyConnectionType
Fields
Balanced = 0Balances throughput against disruption to other connections. This is the default and the recommended choice for mixed workloads, such as messaging with occasional attachments.
HighBandwidth = 1Prioritizes throughput at the cost of disrupting other connections on the device. Use this for large file transfers, where speed matters more than coexistence.
NonDisruptive = 2Prioritizes leaving other connections undisturbed at the cost of throughput. Use this for small, infrequent messages alongside other network activity.
Remarks
Android only. Multipeer Connectivity on iOS exposes no equivalent setting, so this value is ignored there.