public interface ReceiverConfRetrofitApi
Since:
8/5/23
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getReceiverConf(String receiver_id, String secretKey, retrofit.Callback<ReceiverConf> handler)
    Method that will retrieve the receiver config file for the current venue, represented by json structure
    void
    updateReceiver(String token, ReceiverConf receiver, APIRetrofitCallback<retrofit.client.Response> handler)
    Method that will create or update the receiver config file for the current venue, represented by json structure
  • Method Details

    • getReceiverConf

      @GET("/controller/api/v3/listener-profiles/receiver/{receiver_id}") void getReceiverConf(@Path("receiver_id") String receiver_id, @Header("Authorization") String secretKey, retrofit.Callback<ReceiverConf> handler)
      Method that will retrieve the receiver config file for the current venue, represented by json structure
      Parameters:
      secretKey - the secret key to authenticate and get the Receiver Config
      receiver_id - the id to get a specific Receiver Config
      handler - the handler to manage the request status
    • updateReceiver

      @POST("/controller/api/v3/listener-profiles/receiver") void updateReceiver(@Header("x-access-tokens") String token, @Body ReceiverConf receiver, APIRetrofitCallback<retrofit.client.Response> handler)
      Method that will create or update the receiver config file for the current venue, represented by json structure
      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