Click or drag to resize

ILiveFeedsUnsubscribe Method

Unsubscribe from the specified events. After this no more events associated with these event ids will be sent.

Namespace: Sportradar.SDK.FeedProviders.Common
Assembly: FeedProviderCommon (in FeedProviderCommon.dll) Version: 2.28.0.0
Syntax
C#
void Unsubscribe(
	IEnumerable<long> event_ids
)

Parameters

event_ids  IEnumerableInt64
Array of event ids
Remarks

LiveOdds: If successful and you have “Enable response on register and unregister requests" enabled in the XML config, then you should receive [!:Sportradar.SDK.FeedProviders.LiveOdds.ILiveOdds.OnMetaInfo] message with [!:Sportradar.SDK.FeedProviders.LiveOdds.OddsReplyType] = "unregister" in response.

LiveScout: Expect [!:Sportradar.SDK.FeedProviders.LiveScout.ILiveScout.OnMatchStop] message is response.

See Also