Callback interface for filtered subscriptions and unsubscriptions.
public interface ISubscriptionByFilterCallback : ICallback
Deprecated since 6.7. Methods that use callbacks are deprecated and will be removed in a future release. Use a Task instead.
Called to indicate successful processing of the request at the server.
void OnComplete(int numberSelected)
Indicates the number of sessions that satisfied the filter and which qualified for subscription/unsubscription. This could be 0 if no sessions matched the filter.
The filter was rejected. No sessions were subscribed/unsubscribed.
void OnRejected(ICollection<IErrorReport> errors)
The detail of why the filter was rejected.