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

public class ProfileRetrofitWebService extends Object implements ProfileWebService
Class that will hold the web service for the profile of the venue
Since:
4/12/2021
  • Constructor Details

  • Method Details

    • getProfile

      public void getProfile(WebServiceResponseHandler<Profile> handler)
      Method that will retrieve the profile of the current venue
      Specified by:
      getProfile in interface ProfileWebService
      Parameters:
      handler - the handler to manage the status of the request
    • getListenerProfilesMenu

      public void getListenerProfilesMenu(WebServiceResponseHandler responseHandler) throws retrofit.RetrofitError
      Method that will retrieve the menu with all the listener profiles for the current venue, represented by json structure
      Specified by:
      getListenerProfilesMenu in interface ProfileWebService
      Throws:
      retrofit.RetrofitError
    • getListenerProfile

      public void getListenerProfile(String profile_leid, String secretKey, WebServiceResponseHandler responseHandler)
      Method that will retrieve a listener profile for the current venue, represented by json structure
      Specified by:
      getListenerProfile in interface ProfileWebService
      Parameters:
      secretKey - the secretKey to authenticate and get the listener profile
      responseHandler - the response that will retrieve the default listener profile for the current venue
    • updateProfile

      public void updateProfile(String token, Profile profile, WebServiceResponseHandler<retrofit.client.Response> handler)
      Method that will create or update the mobile app profile for the current venue, represented by json structure
      Specified by:
      updateProfile in interface ProfileWebService
      Parameters:
      token - the token to authenticate and post the Profile Config
      profile - the mobile app profile object to update or create in the server
      handler - the handler to manage the request status