Home | History | Annotate | Download | only in emergency

Lines Matching defs:Contact

34      * Returns a {@link Contact} that contains all the relevant information of the contact indexed
37 public static Contact getContact(Context context, Uri contactUri) {
86 return new Contact(contactLookupUri, contactUri, name, phoneNumber, phoneType, photo);
89 /** Returns whether the contact uri is not null and corresponds to an existing contact. */
108 /** Wrapper for a contact with a phone number. */
109 public static class Contact {
110 /** The lookup uri is necessary to display the contact. */
113 * The contact uri is associated to a particular phone number and can be used to reload that
117 /** The display name of the contact. */
119 /** The emergency contact's phone number selected by the user. */
121 /** The emergency contact's phone number type (mobile, work, home, etc). */
123 /** The contact's photo. */
126 /** Constructs a new contact. */
127 public Contact(Uri contactLookupUri,
141 /** Returns the contact's CONTENT_LOOKUP_URI. Use this to display the contact. */
147 * The contact uri as defined in ContactsContract.CommonDataKinds.Phone.CONTENT_URI. Use
148 * this to reload the contact. This links to a particular phone number of the emergency
149 * contact
155 /** Returns the display name of the contact. */
170 /** Returns the photo assigned to this contact. */