Contents

includesPeerToPeer

Specifies whether to also publish, resolve, or monitor this service over peer-to-peer Bluetooth and Wi-Fi, if available.

Declaration

var includesPeerToPeer: Bool { get set }

Discussion

This property must be set before calling publish() or publish(options:), resolve(withTimeout:)`, or startMonitoring() in order to take effect.

See Also

Configuring Network Services