Click or drag to resize

ILiveOddsCommonBaseGetEventMessages Method

Request exact match messages ("error" server request).

Namespace: Sportradar.SDK.FeedProviders.LiveOdds.Common
Assembly: LiveOddsFeedProvider (in LiveOddsFeedProvider.dll) Version: 2.28.0.0
Syntax
C#
long GetEventMessages(
	long match_id,
	long? from = 1,
	long? to = 9223372036854775807,
	bool package = true
)

Parameters

match_id  Int64
Match id
from  NullableInt64  (Optional)
Sequence number of the first included message (null means 1)
to  NullableInt64  (Optional)
Sequence number of the last included message or greater (null means MaxValue)
package  Boolean  (Optional)
All replies get packaged in one see OnEventMessages when true; else normal events will get invoked.

Return Value

Int64
Returns immediately with the request number or zero but expect to receive an event afterwards.
Remarks
Notice that the reply is throttled on the server so it may take some minutes to receive the whole reply. SDK already handles error recovery for on-going matches, no matter whether there is a crash or connection to the server is lost, so during normal operation there should be no need to call this method!
See Also