public class UofSdkForReplay extends UofSdk
getReplayManager()
will return a
replay manager that can be used to add SportEvents and create test-scenarios to replay.injector, oddsFeedConfiguration, uofConfiguration
Constructor and Description |
---|
UofSdkForReplay(UofGlobalEventsListener listener,
UofConfiguration config)
Initializes a new
UofSdkForReplay instance. |
UofSdkForReplay(UofGlobalEventsListener listener,
UofConfiguration config,
com.sportradar.unifiedodds.sdk.di.CustomisableSdkModule customisableSdkModule)
Initializes a new
UofSdkForReplay instance. |
Modifier and Type | Method and Description |
---|---|
ReplayManager |
getReplayManager()
If in the
UofConfigurationImpl was configured to use the replay server a valid ReplayManager
will be returned. |
close, createSdkInjector, getAvailableLanguages, getBookingManager, getBookmakerDetails, getCashOutProbabilitiesManager, getCustomBetManager, getEventChangeManager, getEventRecoveryRequestIssuer, getMarketDescriptionManager, getProducerManager, getSessionBuilder, getSportDataProvider, getUofConfigurationBuilder, getUofConfigurationBuilder, initOddsFeedInstance, isOpen, open
public UofSdkForReplay(UofGlobalEventsListener listener, UofConfiguration config)
UofSdkForReplay
instance. This object is used to perform replay operations
that are useful to create various testing scenarios.listener
- UofGlobalEventsListener
that handles global feed eventsconfig
- UofConfigurationImpl
, the configuration class used to configure the new feedpublic UofSdkForReplay(UofGlobalEventsListener listener, UofConfiguration config, com.sportradar.unifiedodds.sdk.di.CustomisableSdkModule customisableSdkModule)
UofSdkForReplay
instance. This object is used to perform replay operations
that are useful to create various testing scenarios.listener
- UofGlobalEventsListener
that handles global feed eventsconfig
- UofConfigurationImpl
, the configuration class used to configure the new feedcustomisableSdkModule
- the customised injection modulepublic ReplayManager getReplayManager()
UofConfigurationImpl
was configured to use the replay server a valid ReplayManager
will be returned. Otherwise null will be returned.getReplayManager
in class UofSdk
Copyright © 2016–2024. All rights reserved.