Liblinphone  5.5.0
Linphone.PresencePerson Class Reference
Inheritance diagram for Linphone.PresencePerson:
Linphone.LinphoneObject

Public Member Functions

void AddActivitiesNote (Linphone.PresenceNote note)
 
void AddActivity (Linphone.PresenceActivity activity)
 
void AddNote (Linphone.PresenceNote note)
 
void ClearActivities ()
 
void ClearActivitiesNotes ()
 
void ClearNotes ()
 
Linphone.PresenceNote GetNthActivitiesNote (uint index)
 
Linphone.PresenceActivity GetNthActivity (uint index)
 
Linphone.PresenceNote GetNthNote (uint index)
 

Properties

string Id [get, set]
 
uint NbActivities [get]
 
uint NbActivitiesNotes [get]
 
uint NbNotes [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Linphone.LinphoneObject
static String linphone_pointer_to_string (IntPtr ptr)
 
static IntPtr linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str)
 
IntPtr StringArrayToBctbxList (IEnumerable< string > stringlist)
 
void CleanStringArrayPtrs (IntPtr l)
 

Detailed Description

Presence person holding information about a presence person.

Member Function Documentation

void Linphone.PresencePerson.AddActivitiesNote ( Linphone.PresenceNote  note)
inline

Adds an activities note to a presence person.

Parameters
noteThe Linphone.PresenceNote object to add to the person.
Returns
0 if successful, a value < 0 in case of error.
void Linphone.PresencePerson.AddActivity ( Linphone.PresenceActivity  activity)
inline

Adds an activity to a presence person.

Parameters
activityThe Linphone.PresenceActivity object to add to the person.
Returns
0 if successful, a value < 0 in case of error.
void Linphone.PresencePerson.AddNote ( Linphone.PresenceNote  note)
inline

Adds a note to a presence person.

Parameters
noteThe Linphone.PresenceNote object to add to the person.
Returns
0 if successful, a value < 0 in case of error.
void Linphone.PresencePerson.ClearActivities ( )
inline

Clears the activities of a presence person.

Returns
0 if successful, a value < 0 in case of error.
void Linphone.PresencePerson.ClearActivitiesNotes ( )
inline

Clears the activities notes of a presence person.

Returns
0 if successful, a value < 0 in case of error.
void Linphone.PresencePerson.ClearNotes ( )
inline

Clears the notes of a presence person.

Returns
0 if successful, a value < 0 in case of error.
Linphone.PresenceNote Linphone.PresencePerson.GetNthActivitiesNote ( uint  index)
inline

Gets the nth activities note of a presence person.

Parameters
indexThe index of the activities note to get (the first note having the index 0).
Returns
A pointer to a Linphone.PresenceNote object if successful, null otherwise.
Linphone.PresenceActivity Linphone.PresencePerson.GetNthActivity ( uint  index)
inline

Gets the nth activity of a presence person.

Parameters
indexThe index of the activity to get (the first activity having the index 0).
Returns
A pointer to a Linphone.PresenceActivity object if successful, null otherwise.
Linphone.PresenceNote Linphone.PresencePerson.GetNthNote ( uint  index)
inline

Gets the nth note of a presence person.

Parameters
indexThe index of the note to get (the first note having the index 0).
Returns
A pointer to a Linphone.PresenceNote object if successful, null otherwise.

Property Documentation

string Linphone.PresencePerson.Id
getset

Gets the id of a presence person.

Returns
A pointer to a dynamically allocated string containing the id, or null in case of error.

The returned string is to be freed by calling ms_free().

uint Linphone.PresencePerson.NbActivities
get

Gets the number of activities included in the presence person.

Returns
The number of activities included in the Linphone.PresencePerson object.
uint Linphone.PresencePerson.NbActivitiesNotes
get

Gets the number of activities notes included in the presence person.

Returns
The number of activities notes included in the Linphone.PresencePerson object.
uint Linphone.PresencePerson.NbNotes
get

Gets the number of notes included in the presence person.

Returns
The number of notes included in the Linphone.PresencePerson object.

The documentation for this class was generated from the following file: