n><span>api<span class="token operator"> = </span><span class="breakable-word"><span class="token constant">23</span></span></span><wbr><span class="token punctuation">)</span></div></div><span class="token keyword">fun </span><a href="set-preferred-device.html"><span class="token function">setPreferredDevice</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">deviceInfo<span class="token operator">: </span><a href="https://developer.android.com/reference/kot