Transmits a collection of bytes to all connected peers.
- iOS 3.0–7.0Deprecated
- macOS 10.8–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–2.0Deprecated
The bytes to be sent.
The mechanism used to send the data.
If the data could not be queued, an
NSErrorobject describing the error.
true if the data was successfully queued for transmission;
false if the session object was unable to queue the data.
The session queues the data and transmits it when the network is free.