Class PresencePerson
Presence person holding information about a presence person.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class PresencePerson : LinphoneObject
Properties
Id
Gets the id of a presence person.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | A pointer to a dynamically allocated string containing the id, or null in case of error. |
NbActivities
Gets the number of activities included in the presence person.
Declaration
public uint NbActivities { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of activities included in the PresencePerson object. |
NbActivitiesNotes
Gets the number of activities notes included in the presence person.
Declaration
public uint NbActivitiesNotes { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of activities notes included in the PresencePerson object. |
NbNotes
Gets the number of notes included in the presence person.
Declaration
public uint NbNotes { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of notes included in the PresencePerson object. |
Methods
AddActivitiesNote(PresenceNote)
Adds an activities note to a presence person.
Declaration
public void AddActivitiesNote(PresenceNote note)
Parameters
Type | Name | Description |
---|---|---|
PresenceNote | note | The PresenceNote object to add to the person. |
AddActivity(PresenceActivity)
Adds an activity to a presence person.
Declaration
public void AddActivity(PresenceActivity activity)
Parameters
Type | Name | Description |
---|---|---|
PresenceActivity | activity | The PresenceActivity object to add to the person. |
AddNote(PresenceNote)
Adds a note to a presence person.
Declaration
public void AddNote(PresenceNote note)
Parameters
Type | Name | Description |
---|---|---|
PresenceNote | note | The PresenceNote object to add to the person. |
ClearActivities()
Clears the activities of a presence person.
Declaration
public void ClearActivities()
ClearActivitiesNotes()
Clears the activities notes of a presence person.
Declaration
public void ClearActivitiesNotes()
ClearNotes()
Clears the notes of a presence person.
Declaration
public void ClearNotes()
GetNthActivitiesNote(UInt32)
Gets the nth activities note of a presence person.
Declaration
public PresenceNote GetNthActivitiesNote(uint index)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | index | The index of the activities note to get (the first note having the index 0). |
Returns
Type | Description |
---|---|
PresenceNote | A pointer to a PresenceNote object if successful, null otherwise. |
GetNthActivity(UInt32)
Gets the nth activity of a presence person.
Declaration
public PresenceActivity GetNthActivity(uint index)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | index | The index of the activity to get (the first activity having the index 0). |
Returns
Type | Description |
---|---|
PresenceActivity | A pointer to a PresenceActivity object if successful, null otherwise. |
GetNthNote(UInt32)
Gets the nth note of a presence person.
Declaration
public PresenceNote GetNthNote(uint index)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | index | The index of the note to get (the first note having the index 0). |
Returns
Type | Description |
---|---|
PresenceNote | A pointer to a PresenceNote object if successful, null otherwise. |