O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

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

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

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

Public methods

createIntent

@NonNull fun createIntent(
    @NonNull context: Context,
    @Nullable input: Void?
): Intent

parseResult

@Nullable fun parseResult(
    resultCode: Int,
    @Nullable intent: Intent?
): Uri?