Class CustomisableUofSdk
java.lang.Object
com.sportradar.unifiedodds.sdk.UofSdk
com.sportradar.unifiedodds.sdk.internal.impl.CustomisableUofSdk
- All Implemented Interfaces:
AutoCloseable
An extension of the UofSdk that has the ability to customise some of the sdk components
-
Field Summary
Fields inherited from class com.sportradar.unifiedodds.sdk.UofSdk
injector, oddsFeedConfiguration, uofConfiguration -
Constructor Summary
ConstructorsConstructorDescriptionCustomisableUofSdk(UofGlobalEventsListener listener, UofConfiguration config, CustomisableSdkModule customisableSdkModule) The following constructor is used to crate the UofSdk instance with a custom injection moduleCustomisableUofSdk(UofGlobalEventsListener listener, UofConfiguration config, CustomisableSdkModule customisableSdkModule, UofExtListener uofExtListener) The following constructor is used to crate the UofSdk instance with a custom injection module -
Method Summary
Methods inherited from class com.sportradar.unifiedodds.sdk.UofSdk
close, createSdkInjector, getAvailableLanguages, getBookingManager, getBookmakerDetails, getCashOutProbabilitiesManager, getCustomBetManager, getEventChangeManager, getEventRecoveryRequestIssuer, getMarketDescriptionManager, getProducerManager, getReplayManager, getSessionBuilder, getSportDataProvider, getUofConfigurationBuilder, getUofConfigurationBuilder, initOddsFeedInstance, isOpen, open
-
Constructor Details
-
CustomisableUofSdk
public CustomisableUofSdk(UofGlobalEventsListener listener, UofConfiguration config, CustomisableSdkModule customisableSdkModule) The following constructor is used to crate the UofSdk instance with a custom injection module- Parameters:
listener-UofGlobalEventsListenerthat handles global feed eventsconfig-UofConfigurationImpl, the configuration class used to configure the new feedcustomisableSdkModule- the customised injection module
-
CustomisableUofSdk
public CustomisableUofSdk(UofGlobalEventsListener listener, UofConfiguration config, CustomisableSdkModule customisableSdkModule, UofExtListener uofExtListener) The following constructor is used to crate the UofSdk instance with a custom injection module- Parameters:
listener-UofGlobalEventsListenerthat handles global feed eventsconfig-UofConfigurationImpl, the configuration class used to configure the new feedcustomisableSdkModule- the customised injection moduleuofExtListener-UofExtListenerused to receive raw feed and api data
-