public final class

ActivityResultContracts.PickContact

extends ActivityResultContract<java.lang.Void, Uri>

 java.lang.Object

androidx.activity.result.contract.ActivityResultContract<java.lang.Void, Uri>

↳androidx.activity.result.contract.ActivityResultContracts.PickContact

Overview

An ActivityResultContract to request the user to pick a contact from the contacts app.

The result is a content: .

Summary

Constructors
publicPickContact()

Methods
public abstract IntentcreateIntent(Context context, java.lang.Object input)

Create an intent that can be used for

public abstract java.lang.ObjectparseResult(int resultCode, Intent intent)

Convert result obtained from to O

from ActivityResultContract<I, O>getSynchronousResult
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public PickContact()

Methods

public abstract Intent createIntent(Context context, java.lang.Object input)

Create an intent that can be used for

public abstract java.lang.Object parseResult(int resultCode, Intent intent)

Convert result obtained from to O