Class UnitConfRetrofitWebService
java.lang.Object
com.exxothermic.audioeverywheresdk.webservices.api.exxtractorapi.retrofit.UnitConfRetrofitWebService
- All Implemented Interfaces:
UnitConfWebService
,WebService
- Since:
- 8/5/23
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getUnitConf
(String token, WebServiceResponseHandler<UnitConf> handler) Method that will retrieve the unit config file of the current venuevoid
updateUnitConf
(String token, UnitConf unitConf, WebServiceResponseHandler<retrofit.client.Response> handler) Method that will update the unit config file for the current venue, represented by json structure
-
Constructor Details
-
UnitConfRetrofitWebService
-
-
Method Details
-
updateUnitConf
public void updateUnitConf(String token, UnitConf unitConf, WebServiceResponseHandler<retrofit.client.Response> handler) Method that will update the unit config file for the current venue, represented by json structure- Specified by:
updateUnitConf
in interfaceUnitConfWebService
- Parameters:
token
- the token to authenticate and post the Unit ConfigunitConf
- the unit object to update or create the Receiver Config in the serverhandler
- the handler to manage the request status
-
getUnitConf
Method that will retrieve the unit config file of the current venue- Specified by:
getUnitConf
in interfaceUnitConfWebService
- Parameters:
token
- the token to authenticate and get the Unit Confighandler
- the handler to manage the status of the request
-