Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLTransportError

SDLTransportError Enumeration Reference

Section Contents

Overview

Errors associated with transport.

SDLTransportErrorUnknown

Connection cannot be established due to a reason not listed here.

Objective-C

SDLTransportErrorUnknown = -1

Swift

case unknown = -1

SDLTransportErrorConnectionRefused

TCP connection is refused. Probably specified port number is invalid, or SDL Core is not running on the head unit.

Objective-C

SDLTransportErrorConnectionRefused = -2

Swift

case connectionRefused = -2

SDLTransportErrorConnectionTimedOut

TCP connection cannot be established within given time. Probably because of wrong IP address, or the connection may be blocked by a firewall.

Objective-C

SDLTransportErrorConnectionTimedOut = -3

Swift

case connectionTimedOut = -3

SDLTransportErrorNetworkDown

TCP connection cannot be established since network is down. Probably the phone is not connected to the correct network.

Objective-C

SDLTransportErrorNetworkDown = -4

Swift

case networkDown = -4
View on GitHub.com
Previous Section Next Section