ILiveOddsTestManagerStartScenario Method |
Start replay of a pre-recorded match. These matches are not subject to time restrictions, and can be replayed at any time.
The start of the test will usually be set to a few seconds before the first message. A test replay may contain more than one
match, e.g. recording for an entire day. In this case it’s possible that at the default start time, one or more of the matches
is already underway.
Namespace: Sportradar.SDK.FeedProviders.LiveOdds.LiveOddsAssembly: LiveOddsFeedProvider (in LiveOddsFeedProvider.dll) Version: 2.28.0.0
Syntax void StartScenario(
int scenario_number,
TimeSpan? fast_forward = null,
int? speed = null,
bool? persistent = null
)
Parameters
- scenario_number Int32
- Which scenario to start
- fast_forward NullableTimeSpan (Optional)
- If specified, skips the test to the specified time
- speed NullableInt32 (Optional)
- The amount of milliseconds between messages. This can be used to speed up the replay of a match.
- persistent NullableBoolean (Optional)
- If multiple clients are logged in with the same client id they will all receive the XML messages for the started match. If one of the clients disconnects,
the messages will still be sent to the other clients. After reconnecting, the disconnected client will receive all messages from that point on again.
Remarks - 1 - Soccer - Deep Coverage
- 2 - Soccer - Basic Coverage
- 3 - Tennis
- 4 - Ice Hockey
- 5 - Basketball
- 6 - Baseball
- 7 - American Football
- 8 - Handball
- 9 - Futsal
- 10 - Volleyball
- 11 - Beach Volleyball
- 12 - Badminton
- 13 - Rugby Union
- 14 - Darts
- 15 - Snooker
- 17 - Ice Hockey with penalties
- 18 - Ice Hockey with overtime
- 19 - Soccer - ExtraTime
- 20 - American Football - Short match
- 21 - Table Tennis
- 22 – Basketball with overtime
- 23 – Bowls
- 24 – Cricket
- 25 – Darts - Match in sets
- 26 – Darts - Match in legs with draw
See Also