versions of identifiers for this contact."""
return self._identifiers
+
+
+ # -----------------------------------------------------------------------
+ def get_photo(self):
+ """Return the photo property, or None. The result is of type
+ EContactPhoto."""
+
+ photo = self._contact.get_property('photo')
+ return cast(c_void_p(hash(photo)), POINTER(EContactPhoto))
# -----------------------------------------------------------------------
except:
print "FAILED to get photo from URL %s" % url
return False
-
-
- # -----------------------------------------------------------------------
- def has_photo(self):
- # FIXME
- return False
# -----------------------------------------------------------------------