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