encryptionPreference
A value indicating whether the connection prefers encrypted connections, unencrypted connections, or has no preference.
Declaration
var encryptionPreference: MCEncryptionPreference { get }Discussion
You set this value when you initialize the session object. It cannot be changed later. For possible values, see MCEncryptionPreference