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

Public Member Functions

void AddNote (Linphone.PresenceNote note)
 
void ClearNotes ()
 
Linphone.PresenceNote GetNthNote (uint index)
 

Properties

Linphone.PresenceBasicStatus BasicStatus [get, set]
 
string Contact [get, set]
 
string Id [get, set]
 
uint NbNotes [get]
 
IEnumerable< string > ServiceDescriptions [get, set]
 

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 service type holding information about a presence service.

Member Function Documentation

void Linphone.PresenceService.AddNote ( Linphone.PresenceNote  note)
inline

Adds a note to a presence service.

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

Clears the notes of a presence service.

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

Gets the nth note of a presence service.

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

Linphone.PresenceBasicStatus Linphone.PresenceService.BasicStatus
getset

Gets the basic status of a presence service.

Returns
The Linphone.PresenceBasicStatus of the Linphone.PresenceService object given as parameter.
string Linphone.PresenceService.Contact
getset

Gets the contact of a presence service.

Returns
A pointer to a dynamically allocated string containing the contact, or null if no contact is found.

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

string Linphone.PresenceService.Id
getset

Gets the id of a presence service.

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.PresenceService.NbNotes
get

Gets the number of notes included in the presence service.

Returns
The number of notes included in the Linphone.PresenceService object.
IEnumerable<string> Linphone.PresenceService.ServiceDescriptions
getset

Gets the service descriptions of a presence service.

Returns
A A list of char * objects. containing the services descriptions.

The returned string is to be freed.


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