This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IServicePresence>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterCreate
Handler
void EventHandler<ServicePresenceAfterCreateEventArgs>(Object sender, ServicePresenceAfterCreateEventArgs e);
Events.AfterDelete
Handler
void EventHandler<ServicePresenceAfterDeleteEventArgs>(Object sender, ServicePresenceAfterDeleteEventArgs e);
Methods
ServicePresence Create(Guid serviceId, ServicePresenceCreateOptions options = null);
Creates a presence mapping for a user to a service
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
serviceId | Guid | Service Id | Required | ||
options | ServicePresenceCreateOptions | Options include: TypeId | Optional |
Return Type
AdditionalInfo Delete(Guid serviceId, ServicePresenceDeleteOptions options = null);
Removes a presence mapping for a user to a service
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
serviceId | Guid | Content Id | Required | ||
options | ServicePresenceDeleteOptions | Options include: TypeId | Optional |
Return Type
ServicePresenceSummary GetSummary(Guid serviceId, ServicePresenceSummaryGetOptions options = null);
Gets a presence summary for content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
serviceId | Guid | Content Id | Required | ||
options | ServicePresenceSummaryGetOptions | Options include: TypeId | Optional |