Interface UserRequestManager

    • Method Detail

      • bookMatches

        void bookMatches​(EventIdentifier[] eventIds)
        Book the specified matches. Booked matches cannot be cancelled through this interface. This method can block to prevent going over the server limits. Use this call in non SDK dispatcher thread!

        You should prefer using the Live Calendar on the Betradar website (http://www.betradar.com) which offers automatic booking for certain types of matches.

        Note that booking matches will have a cost depending on the type of agreement you have with Sportradar.

        LiveScout: Expect LiveScoutFeedListener.onMatchBooked(LiveScoutFeed, MatchBookingEntity) message in reply.

        Parameters:
        eventIds - Array of event ids to book
        Throws:
        IllegalArgumentException - if eventIds is a null reference.
      • getSubscribedEvents

        EventIdentifier[] getSubscribedEvents()
        Gets the ids of all subscribed matches.
        Returns:
        the ids of all subscribed matches.
      • getTestManager

        TestManager getTestManager()
        When connected to the test server you can obtain a manager to manipulate it.
        Returns:
        a TestManager implementation
      • subscribe

        void subscribe​(EventIdentifier... eventIds)
        Subscribe to specified matches. This method can block to prevent going over the server limits. Use this call in non SDK dispatcher thread! LiveScout: Expect LiveScoutFeedListener.onMatchUpdateReceived(LiveScoutFeed, MatchUpdateEntity) message is response. If match subscription is successful, a full match update is sent out. Otherwise explanation will be given in the response message (e.g. you do not have access to the match or there are already two open subscriptions for the match). With LiveScout you must explicitly call subscribe(EventIdentifier[]) at start-up or no data will be received.
        Parameters:
        eventIds - Array of eventIds