A local identifier that represents the device on which your app is currently running.
- iOS 7.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 10.0+
You set this value when you initialize the session object. It cannot be changed later.
Creating a Session
The delegate object that handles session-related events.
A value indicating whether the connection prefers encrypted connections, unencrypted connections, or has no preference.