Click or drag to resize

IMtsSdk Interface

Represents a root object of the MTS SDK (to create, send tickets and to handle responses)

Namespace: Sportradar.MTS.SDK.API
Assembly: Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll) Version: 2.4.1.2

The IMtsSdk type exposes the following members.

Properties
 NameDescription
Public propertyBuilderFactory Gets the IBuilderFactory instance used to construct builders with some of the properties pre-loaded from the configuration
Public propertyClientApi Gets the IMtsClientApi instance used to send requests to MTS REST API
Public propertyConnectionStatus Gets the connection status.
Public propertyCustomBetManager Gets a ICustomBetManager instance used to perform various custom bet operations
Public propertyIsOpened Gets a value indicating whether the current instance is opened
(Inherited from IOpenable)
Public propertyReportManager Gets a IReportManager instance used to get various reports
Top
Methods
 NameDescription
Public methodClose Closes the current instance
(Inherited from IOpenable)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodOpen Opens the current instance.
(Inherited from IOpenable)
Public methodSendTicket Sends the ticket to the MTS server. The response will raise TicketResponseReceived event.
Public methodSendTicketBlocking Sends the ticket to the MTS server and wait for the response message on the feed
Public methodSendTicketCancelBlocking Sends the cancel ticket to the MTS server and wait for the response message on the feed
Public methodSendTicketCashoutBlocking Sends the cashout ticket to the MTS server and wait for the response message on the feed
Public methodSendTicketNonSrSettleBlocking Sends the non-sr ticket to the MTS server and wait for the response message on the feed
Top
Events
 NameDescription
Public eventSendTicketFailed Raised when the attempt to send ticket failed
Public eventTicketResponseReceived Raised when the current instance of IMtsSdk received ITicketResponse
Public eventTicketResponseTimedOut Raised when the current instance of IMtsSdk did not receive ITicketResponse within timeout
Public eventUnparsableTicketResponseReceived Raised when a message which cannot be parsed is received
Top
See Also