Add a new Persona to the PersonaStore.
Accepted keys for details
are: - PersonaStore.detail_key (PersonaDetail.AVATAR) - PersonaStore.detail_key
(PersonaDetail.BIRTHDAY) - PersonaStore.detail_key (PersonaDetail.EMAIL_ADDRESSES) - PersonaStore.detail_key (PersonaDetail.FULL_NAME) -
PersonaStore.detail_key (PersonaDetail.GENDER) - PersonaStore.detail_key (PersonaDetail.IM_ADDRESSES) - PersonaStore.detail_key
(PersonaDetail.IS_FAVOURITE) - PersonaStore.detail_key (PersonaDetail.NICKNAME) - PersonaStore.detail_key (PersonaDetail.PHONE_NUMBERS) -
PersonaStore.detail_key (PersonaDetail.POSTAL_ADDRESSES) - PersonaStore.detail_key (PersonaDetail.ROLES) - PersonaStore.detail_key
(PersonaDetail.STRUCTURED_NAME) - PersonaStore.detail_key (PersonaDetail.LOCAL_IDS) - PersonaStore.detail_key (PersonaDetail.LOCATION) -
PersonaStore.detail_key (PersonaDetail.WEB_SERVICE_ADDRESSES) - PersonaStore.detail_key (PersonaDetail.NOTES) - PersonaStore.detail_key
(PersonaDetail.URLS) - PersonaStore.detail_key (PersonaDetail.GROUPS)
See Folks.PersonaStore.add_persona_from_details.
Folks.PersonaStoreError.STORE_OFFLINE |
if the store hasn’t been prepared |
Folks.PersonaStoreError.CREATE_FAILED |
if creating the persona in the EDS store failed |
0.6.0