Presence person holding information about a presence person.
- Source:
Members
-
id :string
-
Sets the id of a presence person.
Type:
- string
- Source:
-
<readonly> nbActivities :number
-
Gets the number of activities included in the presence person.
Type:
- number
- Source:
-
<readonly> nbActivitiesNotes :number
-
Gets the number of activities notes included in the presence person.
Type:
- number
- Source:
-
<readonly> nbNotes :number
-
Gets the number of notes included in the presence person.
Type:
- number
- Source:
Methods
-
addActivitiesNote(note) → {number}
-
Adds an activities note to a presence person.
Parameters:
Name Type Description note
external:LinphonePresenceNote The - Source:
Returns:
- Type
- number
-
addActivity(activity) → {number}
-
Adds an activity to a presence person.
Parameters:
Name Type Description activity
external:LinphonePresenceActivity The - Source:
Returns:
- Type
- number
-
addNote(note) → {number}
-
Adds a note to a presence person.
Parameters:
Name Type Description note
external:LinphonePresenceNote The - Source:
Returns:
- Type
- number
-
clearActivities() → {number}
-
Clears the activities of a presence person.
- Source:
Returns:
- Type
- number
-
clearActivitiesNotes() → {number}
-
Clears the activities notes of a presence person.
- Source:
Returns:
- Type
- number
-
clearNotes() → {number}
-
Clears the notes of a presence person.
- Source:
Returns:
- Type
- number
-
getNthActivitiesNote(idx) → {external:LinphonePresenceNote}
-
Gets the nth activities note of a presence person.
Parameters:
Name Type Description idx
number The index of the activities note to get (the first note having the index 0). - Source:
Returns:
-
getNthActivity(idx) → {external:LinphonePresenceActivity}
-
Gets the nth activity of a presence person.
Parameters:
Name Type Description idx
number The index of the activity to get (the first activity having the index 0). - Source:
Returns:
-
getNthNote(idx) → {external:LinphonePresenceNote}
-
Gets the nth note of a presence person.
Parameters:
Name Type Description idx
number The index of the note to get (the first note having the index 0). - Source:
Returns: