Share via


MCEncryptionPreference Enum

Definition

An enumeration whose values specify whether an MCSession should encrypt its connection. Used with MCSession(MCPeerID, SecIdentity, MCEncryptionPreference).

[ObjCRuntime.Native]
public enum MCEncryptionPreference
[<ObjCRuntime.Native>]
type MCEncryptionPreference = 
Inheritance
MCEncryptionPreference
Attributes

Fields

Name Value Description
Optional 0

No preference.

Required 1

Connections should be encrypted.

None 2

A preference for unencrypted connections.

Applies to