/documentation/wifilocalizationservice/api/com/whereabout/location/LocationManager.WifiLocalizationListener.html

http://eyes-free.googlecode.com/ · HTML · 219 lines · 172 code · 27 blank · 20 comment · 0 complexity · 440527f585111172998b2406b3bb8304 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_18) on Fri Aug 27 17:46:37 PDT 2010 -->
  6. <TITLE>
  7. LocationManager.WifiLocalizationListener
  8. </TITLE>
  9. <META NAME="date" CONTENT="2010-08-27">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="LocationManager.WifiLocalizationListener";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/whereabout/location/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  39. </TR>
  40. </TABLE>
  41. </TD>
  42. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  43. </EM>
  44. </TD>
  45. </TR>
  46. <TR>
  47. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  48. &nbsp;<A HREF="../../../com/whereabout/location/LocationManager.html" title="class in com.whereabout.location"><B>PREV CLASS</B></A>&nbsp;
  49. &nbsp;<A HREF="../../../com/whereabout/location/LocationManager.WifiLocationTaggingListener.html" title="interface in com.whereabout.location"><B>NEXT CLASS</B></A></FONT></TD>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. <A HREF="../../../index.html?com/whereabout/location/LocationManager.WifiLocalizationListener.html" target="_top"><B>FRAMES</B></A> &nbsp;
  52. &nbsp;<A HREF="LocationManager.WifiLocalizationListener.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  53. &nbsp;<SCRIPT type="text/javascript">
  54. <!--
  55. if(window==top) {
  56. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  57. }
  58. //-->
  59. </SCRIPT>
  60. <NOSCRIPT>
  61. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  62. </NOSCRIPT>
  63. </FONT></TD>
  64. </TR>
  65. <TR>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  70. </TR>
  71. </TABLE>
  72. <A NAME="skip-navbar_top"></A>
  73. <!-- ========= END OF TOP NAVBAR ========= -->
  74. <HR>
  75. <!-- ======== START OF CLASS DATA ======== -->
  76. <H2>
  77. <FONT SIZE="-1">
  78. com.whereabout.location</FONT>
  79. <BR>
  80. Interface LocationManager.WifiLocalizationListener</H2>
  81. <DL>
  82. <DT><B>Enclosing class:</B><DD><A HREF="../../../com/whereabout/location/LocationManager.html" title="class in com.whereabout.location">LocationManager</A></DD>
  83. </DL>
  84. <HR>
  85. <DL>
  86. <DT><PRE>public static interface <B>LocationManager.WifiLocalizationListener</B></DL>
  87. </PRE>
  88. <P>
  89. Implement this listener to receive callbacks from the LocationManager.
  90. <P>
  91. <P>
  92. <HR>
  93. <P>
  94. <!-- ========== METHOD SUMMARY =========== -->
  95. <A NAME="method_summary"><!-- --></A>
  96. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  97. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  98. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  99. <B>Method Summary</B></FONT></TH>
  100. </TR>
  101. <TR BGCOLOR="white" CLASS="TableRowColor">
  102. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  103. <CODE>&nbsp;void</CODE></FONT></TD>
  104. <TD><CODE><B><A HREF="../../../com/whereabout/location/LocationManager.WifiLocalizationListener.html#onWifiLocalizationResult(int, Location)">onWifiLocalizationResult</A></B>(int&nbsp;status,
  105. Location&nbsp;result)</CODE>
  106. <BR>
  107. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method will be called when the location result is obtained..</TD>
  108. </TR>
  109. </TABLE>
  110. &nbsp;
  111. <P>
  112. <!-- ============ METHOD DETAIL ========== -->
  113. <A NAME="method_detail"><!-- --></A>
  114. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  115. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  116. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  117. <B>Method Detail</B></FONT></TH>
  118. </TR>
  119. </TABLE>
  120. <A NAME="onWifiLocalizationResult(int, Location)"><!-- --></A><H3>
  121. onWifiLocalizationResult</H3>
  122. <PRE>
  123. void <B>onWifiLocalizationResult</B>(int&nbsp;status,
  124. Location&nbsp;result)</PRE>
  125. <DL>
  126. <DD>This method will be called when the location result is obtained..
  127. <P>
  128. <DD><DL>
  129. <DT><B>Parameters:</B><DD><CODE>status</CODE> - This will always be 0.<DD><CODE>result</CODE> - the <CODE>Location</CODE> object that contains the information about the
  130. computed location. Call getExtras() on this object to obtain a <CODE>Bundle</CODE>
  131. object containing additional information such as all matching location names,
  132. and their match scores sorted in decreasing order, along with the map names,
  133. X-Y coordinate and lat-lon for all matching locations. Use the constants in
  134. <A HREF="../../../com/whereabout/location/LocationManager.html" title="class in com.whereabout.location"><CODE>LocationManager</CODE></A> to retrieve various fields in
  135. the <CODE>Bundle</CODE> object.</DL>
  136. </DD>
  137. </DL>
  138. <!-- ========= END OF CLASS DATA ========= -->
  139. <HR>
  140. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  141. <A NAME="navbar_bottom"><!-- --></A>
  142. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  143. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  144. <TR>
  145. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  146. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  147. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  148. <TR ALIGN="center" VALIGN="top">
  149. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/whereabout/location/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  150. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  151. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  152. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  153. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  154. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  155. </TR>
  156. </TABLE>
  157. </TD>
  158. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  159. </EM>
  160. </TD>
  161. </TR>
  162. <TR>
  163. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  164. &nbsp;<A HREF="../../../com/whereabout/location/LocationManager.html" title="class in com.whereabout.location"><B>PREV CLASS</B></A>&nbsp;
  165. &nbsp;<A HREF="../../../com/whereabout/location/LocationManager.WifiLocationTaggingListener.html" title="interface in com.whereabout.location"><B>NEXT CLASS</B></A></FONT></TD>
  166. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  167. <A HREF="../../../index.html?com/whereabout/location/LocationManager.WifiLocalizationListener.html" target="_top"><B>FRAMES</B></A> &nbsp;
  168. &nbsp;<A HREF="LocationManager.WifiLocalizationListener.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  169. &nbsp;<SCRIPT type="text/javascript">
  170. <!--
  171. if(window==top) {
  172. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  173. }
  174. //-->
  175. </SCRIPT>
  176. <NOSCRIPT>
  177. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  178. </NOSCRIPT>
  179. </FONT></TD>
  180. </TR>
  181. <TR>
  182. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  183. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  184. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  185. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  186. </TR>
  187. </TABLE>
  188. <A NAME="skip-navbar_bottom"></A>
  189. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  190. <HR>
  191. </BODY>
  192. </HTML>