span><span class="token operator"> -&gt; </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html">Unit</a></span></span><span class="token punctuation">)</span></div><p class="paragraph">Declares an inner service with the given UUID.</p><p class="paragraph">Inner services are services that are included in the primary service.</p><p class="paragraph">Sample code:</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">Service(&lt;Some UUID&gt;) {<br>  