<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.webapps:dokkaHtmlPartial/jsMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="-web-app/index.html">WebApp</a><spanclass="token punctuation">.</span><ahref="on-q-r-text-received.html"><spanclass="token function">onQRTextReceived</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">eventHandler<spanclass="token operator">: </span><ahref="index.html#-618807793%2FClasslikes%2F155593271">QRTextReceivedEventHandler</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spanclass="token punctuation">(</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span><spanclass="token operator"> -></span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">The callback which should be used in case you want to turn off events handling</p></span></div></div>