Class PresenceService
Presence service type holding information about a presence service.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class PresenceService : LinphoneObject
Properties
BasicStatus
Gets the basic status of a presence service.
Declaration
public PresenceBasicStatus BasicStatus { get; set; }
Property Value
Type | Description |
---|---|
PresenceBasicStatus | The PresenceBasicStatus of the PresenceService object given as parameter. |
Contact
Gets the contact of a presence service.
Declaration
public string Contact { get; set; }
Property Value
Type | Description |
---|---|
System.String | A pointer to a dynamically allocated string containing the contact, or null if no contact is found. |
Id
Gets the id of a presence service.
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. |
NbNotes
Gets the number of notes included in the presence service.
Declaration
public uint NbNotes { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of notes included in the PresenceService object. |
ServiceDescriptions
Gets the service descriptions of a presence service.
Declaration
public IEnumerable<string> ServiceDescriptions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | A containing the services descriptions. |
Methods
AddNote(PresenceNote)
Adds a note to a presence service.
Declaration
public void AddNote(PresenceNote note)
Parameters
Type | Name | Description |
---|---|---|
PresenceNote | note | The PresenceNote object to add to the service. |
ClearNotes()
Clears the notes of a presence service.
Declaration
public void ClearNotes()
GetNthNote(UInt32)
Gets the nth note of a presence service.
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. |