Class ReceiverConfRetrofitWebService
java.lang.Object
com.exxothermic.audioeverywheresdk.webservices.api.exxtractorapi.retrofit.ReceiverConfRetrofitWebService
- All Implemented Interfaces:
ReceiverConfWebService
,WebService
- Since:
- 8/5/23
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getReceiverConf
(String receiver_id, String token, WebServiceResponseHandler<ReceiverConf> handler) Method that will retrieve the receiver config file of the current venuevoid
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
-
Constructor Details
-
ReceiverConfRetrofitWebService
-
-
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 interfaceReceiverConfWebService
- Parameters:
receiver_id
- the id to get a specific Receiver Configtoken
- the token to authenticate and get the Receiver Confighandler
- 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 interfaceReceiverConfWebService
- Parameters:
token
- the token to authenticate and post the Receiver Configreceiver
- the receiver object to update or create the Receiver Config in the serverhandler
- the handler to manage the request status
-