java.lang.Object
com.exxothermic.audioeverywheresdk.webservices.api.exxtractorapi.retrofit.ReceiverConfRetrofitWebService
All Implemented Interfaces:
ReceiverConfWebService, WebService

public class ReceiverConfRetrofitWebService extends Object implements ReceiverConfWebService
Since:
8/5/23
  • Constructor Details

  • Method Details

    • getReceiverConf

      public void getReceiverConf(String receiver_id, String token, WebServiceResponseHandler<ReceiverConf> handler)
      Method that will retrieve the receiver config file of the current venue
      Specified by:
      getReceiverConf in interface ReceiverConfWebService
      Parameters:
      receiver_id - the id to get a specific Receiver Config
      token - the token to authenticate and get the Receiver Config
      handler - the handler to manage the status of the request
    • updateReceiver

      public void updateReceiver(String token, ReceiverConf receiver, WebServiceResponseHandler<retrofit.client.Response> handler)
      Method that will create or update the receiver config file for the current venue, represented by json structure
      Specified by:
      updateReceiver in interface ReceiverConfWebService
      Parameters:
      token - the token to authenticate and post the Receiver Config
      receiver - the receiver object to update or create the Receiver Config in the server
      handler - the handler to manage the request status