PickContact
class PickContact : ActivityResultContract<Void!, Uri!>
kotlin.Any | ||
↳ | androidx.activity.result.contract.ActivityResultContract<java.lang.Void, android.net.Uri> | |
↳ | androidx.activity.result.contract.ActivityResultContracts.PickContact |
An ActivityResultContract
to request the user to pick a contact from the contacts app.
The result is a content:
Uri
.
Summary
Public constructors | |
---|---|
<init>() An |
Public methods | |
---|---|
Intent |
createIntent(@NonNull context: Context, @Nullable input: Void?) |
Uri? |
parseResult(resultCode: Int, @Nullable intent: Intent?) |
Inherited functions | |
---|---|
Public constructors
<init>
PickContact()
An ActivityResultContract
to request the user to pick a contact from the contacts app.
The result is a content:
Uri
.
See Also