compatibilityWith(_:)
Compares network compatibility tokens between the local device and another device.
Declaration
final func compatibilityWith(_ otherToken: NetworkCompatibilityToken) -> NetworkCompatibilityToken.CompatibilityParameters
- otherToken:
The token for the remote client against which the local device checks compatibility
Return Value
Returns NetworkCompatibilityToken.Compatibility.compatible if the local client and the remote client represented by otherToken can be synced. Any other result indicates that the two devices are incompatible and you shouldn’t proceed with the connection.