Sportradar.MTS.SDK.API Namespace
Sportradar.MTS.SDK.Common.Exceptions Namespace
Sportradar.MTS.SDK.Entities.Builders Namespace
Sportradar.MTS.SDK.Entities.EventArguments Namespace
Sportradar.MTS.SDK.Entities.Interfaces Namespace
Sportradar.MTS.SDK.Entities.Internal.REST Namespace
Sportradar MTS SDK .NET Standard 2.1, v2.3.3

MtsSdk Members

The MtsSdk type exposes the following members.

Constructors


  Name Description
Public method MtsSdk
Constructs a new instance of the MtsSdk class

Methods


  Name Description
Public method Close
Closes the current IMtsSdk instance and disposes resources used by it
Public method Static member CreateConfigurationBuilder
Creates the ISdkConfigurationBuilder for building the ISdkConfiguration
Public method Static member GetConfiguration
Constructs a ISdkConfiguration instance with information read from application configuration file
Public method Open
Opens the current feed
Public method SendTicket
Sends the ticket to the MTS server. The response will raise TicketResponseReceived event
Public method SendTicketBlocking
Sends the ticket to the MTS server and wait for the response message on the feed
Public method SendTicketCancelBlocking
Sends the cancel ticket to the MTS server and wait for the response message on the feed
Public method SendTicketCashoutBlocking
Sends the cashout ticket to the MTS server and wait for the response message on the feed
Public method SendTicketNonSrSettleBlocking
Sends the cashout ticket to the MTS server and wait for the response message on the feed

Properties


  Name Description
Public property BuilderFactory
Gets the IBuilderFactory instance used to construct builders with some of the properties pre-loaded from the configuration
Public property ClientApi
Gets the IMtsClientApi instance used to send requests to MTS REST API
Public property ConnectionStatus
Gets the connection status.
Public property CustomBetManager
Gets a ICustomBetManager instance used to perform various custom bet operations
Public property IsOpened
Gets a value indicating whether the current instance is opened

Events


  Name Description
Public event SendTicketFailed
Raised when the attempt to send ticket failed
Public event TicketResponseReceived
Raised when the current instance of IMtsSdk received ITicketResponse
Public event TicketResponseTimedOut
Raised when the current instance of IMtsSdk did not receive ITicketResponse within timeout
Public event UnparsableTicketResponseReceived
Raised when a message which cannot be parsed is received