\doxysection{com.\+tritondigital.\+util.\+Location\+Util Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1util_1_1LocationUtil}{}\label{classcom_1_1tritondigital_1_1util_1_1LocationUtil}\index{com.tritondigital.util.LocationUtil@{com.tritondigital.util.LocationUtil}}


Contains utility methods to help use the location manager in an app.  


\doxysubsubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1util_1_1LocationUtil_aef0d15726ebf9fcade85f398a80f96d9}\label{classcom_1_1tritondigital_1_1util_1_1LocationUtil_aef0d15726ebf9fcade85f398a80f96d9} 
static void {\bfseries prefetch\+Network\+Location} (Context context)
\begin{DoxyCompactList}\small\item\em Prefetch the network provider location in order to increase the chances of having a valid location when "{}get\+Last\+Known\+Location()"{} will get called. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1util_1_1LocationUtil_a9f39441921ff6911e72e9eef5f49d8ae}\label{classcom_1_1tritondigital_1_1util_1_1LocationUtil_a9f39441921ff6911e72e9eef5f49d8ae} 
static Location {\bfseries get\+Last\+Known\+Network\+Location} (Context context)
\begin{DoxyCompactList}\small\item\em Returns the last known network provider location. \end{DoxyCompactList}\item 
static boolean \mbox{\hyperlink{classcom_1_1tritondigital_1_1util_1_1LocationUtil_a03b0ec7dd3b7c9bf8dd83938f36ca620}{is\+Any\+Location\+Provider\+Enabled}} (Context context)
\begin{DoxyCompactList}\small\item\em Tells if any location provider is enabled. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Contains utility methods to help use the location manager in an app. 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1util_1_1LocationUtil_a03b0ec7dd3b7c9bf8dd83938f36ca620}\label{classcom_1_1tritondigital_1_1util_1_1LocationUtil_a03b0ec7dd3b7c9bf8dd83938f36ca620} 
\index{com.tritondigital.util.LocationUtil@{com.tritondigital.util.LocationUtil}!isAnyLocationProviderEnabled@{isAnyLocationProviderEnabled}}
\index{isAnyLocationProviderEnabled@{isAnyLocationProviderEnabled}!com.tritondigital.util.LocationUtil@{com.tritondigital.util.LocationUtil}}
\doxysubsubsection{\texorpdfstring{isAnyLocationProviderEnabled()}{isAnyLocationProviderEnabled()}}
{\footnotesize\ttfamily static boolean com.\+tritondigital.\+util.\+Location\+Util.\+is\+Any\+Location\+Provider\+Enabled (\begin{DoxyParamCaption}\item[{Context}]{context }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Tells if any location provider is enabled. 

Ignores security exceptions. 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
util/src/main/java/com/tritondigital/util/Location\+Util.\+java\end{DoxyCompactItemize}
