Titanium.Contacts.getPersonByID - issues
Hi there,
I've searched everywhere on the documentation, kitchensink sourcecode, but I can't see how to get the id of a person. In the API docs you mention method getPersonByID - but in the Titanium.Contacts.Person API there is no mention of any ID field. So how is one supposed to use this method???
thanks!
2 Answers
-
Check this post Contact ID
"For iOS,
recordId
is the property that holds the unique ID. For Android,id
is the unique ID." - Tony -
Hi Jason, this is the method to be used for some specific id.
like getAllPeople() method will return you all the people and then you can get the id for later use with this method.