/* Wrapper generated by lp-gen-wrappers, do not edit*/
/**
* Presence model type holding information about the presence of a person.
* @external LinphonePresenceModel
**/
/**
* Gets the first activity of a presence model (there is usually only one).
* @member {external:LinphonePresenceActivity} external:LinphonePresenceModel#activity
* @readonly
**/
/**
* Sets the basic status of a presence model.
* @member {linphone.PresenceBasicStatus} external:LinphonePresenceModel#basicStatus
**/
/**
* Sets the contact of a presence model.
* @member {string} external:LinphonePresenceModel#contact
**/
/**
* Gets the number of activities included in the presence model.
* @member {number} external:LinphonePresenceModel#nbActivities
* @readonly
**/
/**
* Gets the number of persons included in the presence model.
* @member {number} external:LinphonePresenceModel#nbPersons
* @readonly
**/
/**
* Gets the number of services included in the presence model.
* @member {number} external:LinphonePresenceModel#nbServices
* @readonly
**/
/**
* Gets the timestamp of a presence model.
* @member {external:time_t} external:LinphonePresenceModel#timestamp
* @readonly
**/
/**
* Adds an activity to a presence model.
* @function external:LinphonePresenceModel#addActivity
* @param {external:LinphonePresenceActivity} activity - The
* @returns {number}
**/
/**
* Adds a note to a presence model.
* @function external:LinphonePresenceModel#addNote
* @param {string} note_content - The note to be added to the presence model.
* @param {string} lang - The language of the note to be added. Can be NULL if no language is to be specified for the note.
* @returns {number}
**/
/**
* Adds a person to a presence model.
* @function external:LinphonePresenceModel#addPerson
* @param {external:LinphonePresencePerson} person - The
* @returns {number}
**/
/**
* Adds a service to a presence model.
* @function external:LinphonePresenceModel#addService
* @param {external:LinphonePresenceService} service - The
* @returns {number}
**/
/**
* Clears the activities of a presence model.
* @function external:LinphonePresenceModel#clearActivities
* @returns {number}
**/
/**
* Clears all the notes of a presence model.
* @function external:LinphonePresenceModel#clearNotes
* @returns {number}
**/
/**
* Clears the persons of a presence model.
* @function external:LinphonePresenceModel#clearPersons
* @returns {number}
**/
/**
* Clears the services of a presence model.
* @function external:LinphonePresenceModel#clearServices
* @returns {number}
**/
/**
* Gets the first note of a presence model (there is usually only one).
* @function external:LinphonePresenceModel#getNote
* @param {string} lang - The language of the note to get. Can be NULL to get a note that has no language specified or to get the first note whatever language it is written into.
* @returns {external:LinphonePresenceNote}
**/
/**
* Gets the nth activity of a presence model.
* @function external:LinphonePresenceModel#getNthActivity
* @param {number} idx - The index of the activity to get (the first activity having the index 0).
* @returns {external:LinphonePresenceActivity}
**/
/**
* Gets the nth person of a presence model.
* @function external:LinphonePresenceModel#getNthPerson
* @param {number} idx - The index of the person to get (the first person having the index 0).
* @returns {external:LinphonePresencePerson}
**/
/**
* Gets the nth service of a presence model.
* @function external:LinphonePresenceModel#getNthService
* @param {number} idx - The index of the service to get (the first service having the index 0).
* @returns {external:LinphonePresenceService}
**/
/**
* Sets the activity of a presence model (limits to only one activity).
* @function external:LinphonePresenceModel#setActivity
* @param {linphone.PresenceActivityType} activity - The
* @param {string} description - An additional description of the activity to set for the model. Can be NULL if no additional description is to be added.
* @returns {number}
**/