summaryrefslogtreecommitdiff
path: root/docs/Protocols.html
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-03-27 13:27:22 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-03-27 13:27:22 -0400
commit47eb08c4ef2d49f837ffcd94a9c7706cb86b05eb (patch)
tree08079b84f17e1064486a2b013b8112ed954c9b47 /docs/Protocols.html
parent1eb81bed80013a7f6ccac09ec0924585e8559507 (diff)
downloadsdl_ios-47eb08c4ef2d49f837ffcd94a9c7706cb86b05eb.tar.gz
Update for v. 5.2.0
Diffstat (limited to 'docs/Protocols.html')
-rw-r--r--docs/Protocols.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/Protocols.html b/docs/Protocols.html
index 3e0fbdbfe..bfa46ab68 100644
--- a/docs/Protocols.html
+++ b/docs/Protocols.html
@@ -232,6 +232,14 @@
*/</span>
<span class="k">-</span> <span class="p">(</span><span class="kt">void</span><span class="p">)</span><span class="nf">systemContext</span><span class="p">:(</span><span class="n">nullable</span> <span class="n"><a href="Type Definitions.html#/c:SDLSystemContext.h@T@SDLSystemContext">SDLSystemContext</a></span><span class="p">)</span><span class="nv">oldContext</span> <span class="nf">didChangeToContext</span><span class="p">:(</span><span class="n"><a href="Type Definitions.html#/c:SDLSystemContext.h@T@SDLSystemContext">SDLSystemContext</a></span><span class="p">)</span><span class="nv">newContext</span><span class="p">;</span>
+<span class="cm">/**
+ * Called when the lifecycle manager detected a language mismatch. In case of a language mismatch the manager should change the apps registration by updating the lifecycle configuration to the specified language. If the app can support the specified language it should return an Object of SDLLifecycleConfigurationUpdate, otherwise it should return nil to indicate that the language is not supported.
+ *
+ * @param language The language of the connected head unit the manager is trying to update the configuration.
+ * @return An object of SDLLifecycleConfigurationUpdate if the head unit language is supported, otherwise nil to indicate that the language is not supported.
+ */</span>
+<span class="k">-</span> <span class="p">(</span><span class="n">nullable</span> <span class="n"><a href="Classes/SDLLifecycleConfigurationUpdate.html">SDLLifecycleConfigurationUpdate</a></span> <span class="o">*</span><span class="p">)</span><span class="nf">managerShouldUpdateLifecycleToLanguage</span><span class="p">:(</span><span class="n"><a href="Type Definitions.html#/c:SDLLanguage.h@T@SDLLanguage">SDLLanguage</a></span><span class="p">)</span><span class="nv">language</span><span class="p">;</span>
+
<span class="k">@end</span></code></pre>