Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08e54cf4 authored by cketti's avatar cketti
Browse files

Updated JavaDoc for getEmailFromContactPicker()

parent 3b5492f5
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -175,11 +175,13 @@ public abstract class Contacts {
    public abstract Intent contactPickerIntent();

    /**
     * Given a contact picker intent, returns the primary email address of that
     * contact.
     * Given a contact picker intent, returns a {@code ContactItem} instance for that contact.
     *
     * @param intent The {@link Intent} returned by this contact picker.
     * @return The primary email address of the picked contact.
     * @param intent
     *         The {@link Intent} returned by the contact picker.
     *
     * @return A {@link ContactItem} instance describing the picked contact. Or {@code null} if the
     *         contact doesn't have any email addresses.
     */
    public abstract ContactItem getEmailFromContactPicker(final Intent intent);