<Type Name="Contacts" FullName="Microsoft.Maui.Essentials.Contacts">
  <TypeSignature Language="C#" Value="public static class Contacts" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit Contacts extends System.Object" />
  <TypeSignature Language="DocId" Value="T:Microsoft.Maui.Essentials.Contacts" />
  <AssemblyInfo>
    <AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
    <AssemblyVersion>1.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>API class for working with contacts on the device.</summary>
    <remarks></remarks>
  </Docs>
  <Members>
    <Member MemberName="GetAllAsync">
      <MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task&lt;System.Collections.Generic.IEnumerable&lt;Microsoft.Maui.Essentials.Contact&gt;&gt; GetAllAsync (System.Threading.CancellationToken cancellationToken = null);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1&lt;class System.Collections.Generic.IEnumerable`1&lt;class Microsoft.Maui.Essentials.Contact&gt;&gt; GetAllAsync(valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
      <MemberSignature Language="DocId" Value="M:Microsoft.Maui.Essentials.Contacts.GetAllAsync(System.Threading.CancellationToken)" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task&lt;System.Collections.Generic.IEnumerable&lt;Microsoft.Maui.Essentials.Contact&gt;&gt;</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
      </Parameters>
      <Docs>
        <param name="cancellationToken">A token for cancelling the operation</param>
        <summary>Gets a collection of all the contacts on the device.</summary>
        <returns>Returns a collection of contacts on the device.</returns>
        <remarks></remarks>
      </Docs>
    </Member>
    <Member MemberName="PickContactAsync">
      <MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task&lt;Microsoft.Maui.Essentials.Contact&gt; PickContactAsync ();" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1&lt;class Microsoft.Maui.Essentials.Contact&gt; PickContactAsync() cil managed" />
      <MemberSignature Language="DocId" Value="M:Microsoft.Maui.Essentials.Contacts.PickContactAsync" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Threading.Tasks.Task&lt;Microsoft.Maui.Essentials.Contact&gt;</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Starts file picker for selecting a single contact.</summary>
        <returns>Returns a single contact, or null if the user cancelled the operation.</returns>
        <remarks></remarks>
      </Docs>
    </Member>
  </Members>
</Type>
