📄 class_c_chat_service_searcher.html
字号:
</td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#c20004a34f60c2586a459c739098aa9b">ResponseParams()</a> <dl compact><dt><b>Returns:</b></dt><dd>Information about the device selected by the user </dd></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00299">299</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8h-source.html#l00227">CChatBtServiceSearcher::iResponse</a>.<p>Referenced by <a class="el" href="_chat_bt_8cpp-source.html#l00123">CChatBt::RunL()</a>.<div class="fragment"><pre class="fragment"><a name="l00300"></a>00300 {<a name="l00301"></a>00301 <span class="keywordflow">return</span> <a class="code" href="class_c_chat_bt_service_searcher.html#1bc4023d1979b118a3439ecdd2f4eb6e">iResponse</a>();<a name="l00302"></a>00302 }</pre></div><p> </td> </tr></table><a class="anchor" name="0b7e2b5c9c80bd53f50bc0e518a464ec"></a><!-- doxytag: member="CChatServiceSearcher::Finished" ref="0b7e2b5c9c80bd53f50bc0e518a464ec" args="(TInt aError=KErrNone)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CChatBtServiceSearcher::Finished </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TInt </td> <td class="mdname1" valign="top" nowrap> <em>aError</em> = <code>KErrNone</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#0b7e2b5c9c80bd53f50bc0e518a464ec">Finished()</a> The search has finished. Notify the observer that the process is complete. <p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00265">265</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00309">CChatBtServiceSearcher::HasFoundService()</a>, and <a class="el" href="_chat_bt_service_searcher_8h-source.html#l00209">CChatBtServiceSearcher::iStatusObserver</a>.<p>Referenced by <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00233">CChatBtServiceSearcher::AttributeRequestCompleteL()</a>, and <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00137">CChatBtServiceSearcher::NextRecordRequestCompleteL()</a>.<div class="fragment"><pre class="fragment"><a name="l00266"></a>00266 {<a name="l00267"></a>00267 <span class="keywordflow">if</span> ( aError == KErrNone && !<a class="code" href="class_c_chat_bt_service_searcher.html#a7ab55d982c2e9efc460aabc5420e185">HasFoundService</a>() )<a name="l00268"></a>00268 {<a name="l00269"></a>00269 aError = KErrNotFound;<a name="l00270"></a>00270 }<a name="l00271"></a>00271 User::RequestComplete( <a class="code" href="class_c_chat_bt_service_searcher.html#f32d5de215f836de78f1fe4cfa4abd3e">iStatusObserver</a>, aError );<a name="l00272"></a>00272 }</pre></div><p> </td> </tr></table><a class="anchor" name="c98b1fc6cda6402cdb0019d7eb807a7c"></a><!-- doxytag: member="CChatServiceSearcher::HasFinishedSearching" ref="c98b1fc6cda6402cdb0019d7eb807a7c" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TBool CChatBtServiceSearcher::HasFinishedSearching </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [protected, virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#c98b1fc6cda6402cdb0019d7eb807a7c">HasFinishedSearching()</a> Is the instance still wanting to search. <dl compact><dt><b>Returns:</b></dt><dd>EFalse if the instance wants searching to continue. </dd></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00279">279</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>Referenced by <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00233">CChatBtServiceSearcher::AttributeRequestCompleteL()</a>.<div class="fragment"><pre class="fragment"><a name="l00280"></a>00280 {<a name="l00281"></a>00281 <span class="keywordflow">return</span> EFalse;<a name="l00282"></a>00282 }</pre></div><p> </td> </tr></table><a class="anchor" name="a7ab55d982c2e9efc460aabc5420e185"></a><!-- doxytag: member="CChatServiceSearcher::HasFoundService" ref="a7ab55d982c2e9efc460aabc5420e185" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TBool CChatBtServiceSearcher::HasFoundService </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [protected, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#a7ab55d982c2e9efc460aabc5420e185">HasFoundService()</a> <dl compact><dt><b>Returns:</b></dt><dd>ETrue if a service has been found </dd></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00309">309</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8h-source.html#l00249">CChatBtServiceSearcher::iHasFoundService</a>.<p>Referenced by <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00265">CChatBtServiceSearcher::Finished()</a>.<div class="fragment"><pre class="fragment"><a name="l00310"></a>00310 {<a name="l00311"></a>00311 <span class="keywordflow">return</span> <a class="code" href="class_c_chat_bt_service_searcher.html#407431dfc0629433a93901ecf8326200">iHasFoundService</a>;<a name="l00312"></a>00312 }</pre></div><p> </td> </tr></table><a class="anchor" name="2a759a7d9eefa26695ecbec5584b4263"></a><!-- doxytag: member="CChatServiceSearcher::NextRecordRequestComplete" ref="2a759a7d9eefa26695ecbec5584b4263" args="(TInt aError, TSdpServRecordHandle aHandle, TInt aTotalRecordsCount)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CChatBtServiceSearcher::NextRecordRequestComplete </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TInt </td> <td class="mdname" nowrap> <em>aError</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TSdpServRecordHandle </td> <td class="mdname" nowrap> <em>aHandle</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TInt </td> <td class="mdname" nowrap> <em>aTotalRecordsCount</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#2a759a7d9eefa26695ecbec5584b4263">NextRecordRequestComplete()</a> Process the result of the next record request <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aError</em> </td><td>the error code </td></tr> <tr><td valign="top"></td><td valign="top"><em>aHandle</em> </td><td>the handle of the service record </td></tr> <tr><td valign="top"></td><td valign="top"><em>aTotalRecordsCount</em> </td><td>the total number of matching service records </td></tr> </table></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00118">118</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00137">CChatBtServiceSearcher::NextRecordRequestCompleteL()</a>.<div class="fragment"><pre class="fragment"><a name="l00122"></a>00122 {<a name="l00123"></a>00123 TRAPD( error, <a name="l00124"></a>00124 <a class="code" href="class_c_chat_bt_service_searcher.html#404bbdb6cd2c08c6bd7e40a4e05330c0">NextRecordRequestCompleteL</a>( aError, aHandle, aTotalRecordsCount ) );<a name="l00125"></a>00125 <a name="l00126"></a>00126 <span class="keywordflow">if</span> ( error != KErrNone ) <a name="l00127"></a>00127 {<a name="l00128"></a>00128 Panic( EChatBtServiceSearcherNextRecordRequestComplete );<a name="l00129"></a>00129 }<a name="l00130"></a>00130 }</pre></div><p> </td> </tr></table><a class="anchor" name="b379e7c6c82e99acbcd138c24daa38c7"></a><!-- doxytag: member="CChatServiceSearcher::AttributeRequestResult" ref="b379e7c6c82e99acbcd138c24daa38c7" args="(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, CSdpAttrValue *aAttrValue)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CChatBtServiceSearcher::AttributeRequestResult </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TSdpServRecordHandle </td> <td class="mdname" nowrap> <em>aHandle</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TSdpAttributeID </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -