summaryrefslogtreecommitdiff
path: root/docs/Enums/SDLManagerError.html
blob: 0cbfc892f5276347d42e50afd8e072a1712e08f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<h1>SDLManagerError Enumeration Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section-SDLManagerErrorRPCRequestFailed">SDLManagerErrorRPCRequestFailed</a></li>
  <li><a href="#section-SDLManagerErrorNotConnected">SDLManagerErrorNotConnected</a></li>
  <li><a href="#section-SDLManagerErrorNotReady">SDLManagerErrorNotReady</a></li>
  <li><a href="#section-SDLManagerErrorUnknownRemoteError">SDLManagerErrorUnknownRemoteError</a></li>
  <li><a href="#section-SDLManagerErrorManagersFailedToStart">SDLManagerErrorManagersFailedToStart</a></li>
  <li><a href="#section-SDLManagerErrorRegistrationFailed">SDLManagerErrorRegistrationFailed</a></li>
  <li><a href="#section-SDLManagerErrorRegistrationSuccessWithWarning">SDLManagerErrorRegistrationSuccessWithWarning</a></li>
  <li><a href="#section-SDLManagerErrorCancelled">SDLManagerErrorCancelled</a></li>
</ul>

<h3>Overview</h3>

<p>Errors associated with the SDLManager class.</p>


<section class="section task-group-section">
  <h3 id="section-SDLManagerErrorRPCRequestFailed">
      SDLManagerErrorRPCRequestFailed
  </h3>
  
  <p>An RPC request failed to send.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorRPCRequestFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">rpcRequestFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerErrorNotConnected">
      SDLManagerErrorNotConnected
  </h3>
  
  <p>Some action was attempted that requires a connection to the remote head unit.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorNotConnected</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">notConnected</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerErrorNotReady">
      SDLManagerErrorNotReady
  </h3>
  
  <p>Some action was attempted before the ready state was reached.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorNotReady</span> <span class="o">=</span> <span class="o">-</span><span class="mi">3</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">notReady</span> <span class="o">=</span> <span class="o">-</span><span class="mi">3</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerErrorUnknownRemoteError">
      SDLManagerErrorUnknownRemoteError
  </h3>
  
  <p>The remote system encountered an unknown error.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorUnknownRemoteError</span> <span class="o">=</span> <span class="o">-</span><span class="mi">4</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">unknownRemoteError</span> <span class="o">=</span> <span class="o">-</span><span class="mi">4</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerErrorManagersFailedToStart">
      SDLManagerErrorManagersFailedToStart
  </h3>
  
  <p>One or more of the sub-managers failed to start.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorManagersFailedToStart</span> <span class="o">=</span> <span class="o">-</span><span class="mi">5</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">managersFailedToStart</span> <span class="o">=</span> <span class="o">-</span><span class="mi">5</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerErrorRegistrationFailed">
      SDLManagerErrorRegistrationFailed
  </h3>
  
  <p>Registering with the remote system failed.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorRegistrationFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">6</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">registrationFailed</span> <span class="o">=</span> <span class="o">-</span><span class="mi">6</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerErrorRegistrationSuccessWithWarning">
      SDLManagerErrorRegistrationSuccessWithWarning
  </h3>
  
  <p>Registering with the remote system was successful, but had a warning.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorRegistrationSuccessWithWarning</span> <span class="o">=</span> <span class="o">-</span><span class="mi">7</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">registrationSuccessWithWarning</span> <span class="o">=</span> <span class="o">-</span><span class="mi">7</span></code></pre>

  
  
  
  <h3 id="section-SDLManagerErrorCancelled">
      SDLManagerErrorCancelled
  </h3>
  
  <p>Request operations were cancelled before they could be sent</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="n">SDLManagerErrorCancelled</span> <span class="o">=</span> <span class="o">-</span><span class="mi">8</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">case</span> <span class="n">cancelled</span> <span class="o">=</span> <span class="o">-</span><span class="mi">8</span></code></pre>

  
  
  
</section>