Home | History | Annotate | Download | only in dataitem

Lines Matching defs:im

23 import android.provider.ContactsContract.CommonDataKinds.Im;
27 * Represents an IM data item, wrapping the columns in
28 * {@link ContactsContract.CommonDataKinds.Im}.
45 final ImDataItem im = new ImDataItem(new ContentValues(item.getContentValues()), true);
46 im.setMimeType(Im.CONTENT_ITEM_TYPE);
47 return im;
54 return getContentValues().getAsString(Im.DATA);
59 return getContentValues().getAsString(Im.LABEL);
63 * Values are one of Im.PROTOCOL_
66 return getContentValues().getAsInteger(Im.PROTOCOL);
74 return getContentValues().getAsString(Im.CUSTOM_PROTOCOL);
78 Integer result = getContentValues().getAsInteger(Im.CHAT_CAPABILITY);
92 // IM can have the same data put different protocol. These should not collapse.
99 return getProtocol() == Im.PROTOCOL_CUSTOM;
101 return that.getProtocol() == Im.PROTOCOL_CUSTOM;
106 } else if (getProtocol() == Im.PROTOCOL_CUSTOM &&