<Type Name="Geolocation" FullName="Xamarin.Essentials.Geolocation">
  <TypeSignature Language="C#" Value="public static class Geolocation" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit Geolocation extends System.Object" />
  <TypeSignature Language="DocId" Value="T:Xamarin.Essentials.Geolocation" />
  <AssemblyInfo>
    <AssemblyName>Xamarin.Essentials</AssemblyName>
    <AssemblyVersion>1.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>Provides a way to get the current location of the device.</summary>
    <remarks></remarks>
  </Docs>
  <Members>
    <Member MemberName="GetLastKnownLocationAsync">
      <MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt; GetLastKnownLocationAsync ();" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1&lt;class Xamarin.Essentials.Location&gt; GetLastKnownLocationAsync() cil managed" />
      <MemberSignature Language="DocId" Value="M:Xamarin.Essentials.Geolocation.GetLastKnownLocationAsync" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
        <AssemblyName>Xamarin.Essentials</AssemblyName>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt;</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Returns the last known location of the device.</summary>
        <returns>Returns the location.</returns>
        <remarks>This location may be a recently cached location.</remarks>
      </Docs>
    </Member>
    <Member MemberName="GetLocationAsync">
      <MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt; GetLocationAsync ();" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1&lt;class Xamarin.Essentials.Location&gt; GetLocationAsync() cil managed" />
      <MemberSignature Language="DocId" Value="M:Xamarin.Essentials.Geolocation.GetLocationAsync" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
        <AssemblyName>Xamarin.Essentials</AssemblyName>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt;</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Returns the current location of the device.</summary>
        <returns>Returns the location.</returns>
        <remarks></remarks>
      </Docs>
    </Member>
    <Member MemberName="GetLocationAsync">
      <MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt; GetLocationAsync (Xamarin.Essentials.GeolocationRequest request);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1&lt;class Xamarin.Essentials.Location&gt; GetLocationAsync(class Xamarin.Essentials.GeolocationRequest request) cil managed" />
      <MemberSignature Language="DocId" Value="M:Xamarin.Essentials.Geolocation.GetLocationAsync(Xamarin.Essentials.GeolocationRequest)" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
        <AssemblyName>Xamarin.Essentials</AssemblyName>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt;</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="request" Type="Xamarin.Essentials.GeolocationRequest" />
      </Parameters>
      <Docs>
        <param name="request">The criteria to use when determining the location of the device.</param>
        <summary>Returns the current location of the device using the specified criteria.</summary>
        <returns>Returns the location.</returns>
        <remarks></remarks>
      </Docs>
    </Member>
    <Member MemberName="GetLocationAsync">
      <MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt; GetLocationAsync (Xamarin.Essentials.GeolocationRequest request, System.Threading.CancellationToken cancelToken);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1&lt;class Xamarin.Essentials.Location&gt; GetLocationAsync(class Xamarin.Essentials.GeolocationRequest request, valuetype System.Threading.CancellationToken cancelToken) cil managed" />
      <MemberSignature Language="DocId" Value="M:Xamarin.Essentials.Geolocation.GetLocationAsync(Xamarin.Essentials.GeolocationRequest,System.Threading.CancellationToken)" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
        <AssemblyName>Xamarin.Essentials</AssemblyName>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task&lt;Xamarin.Essentials.Location&gt;</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="request" Type="Xamarin.Essentials.GeolocationRequest" />
        <Parameter Name="cancelToken" Type="System.Threading.CancellationToken" />
      </Parameters>
      <Docs>
        <param name="request">The criteria to use when determining the location of the device.</param>
        <param name="cancelToken">A token for cancelling the operation.</param>
        <summary>Returns the current location of the device using the specified criteria.</summary>
        <returns>Returns the location.</returns>
        <remarks></remarks>
      </Docs>
    </Member>
  </Members>
</Type>
