Class GetVoices

java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetVoices

public class GetVoices extends RequestBody
Radio System Voice information
  • Constructor Details

    • GetVoices

      public GetVoices(AuthorizationInformation authorizationInformation, int systemVoiceId)
      Constructs the get tag request
      Parameters:
      authorizationInformation - for the user
      systemVoiceId - to request
    • GetVoices

      public GetVoices(AuthorizationInformation authorizationInformation)
      Constructs a get ALL tags request
      Parameters:
      authorizationInformation - credentials
  • Method Details

    • getSystemVoiceId

      public Integer getSystemVoiceId()
      System voice id
      Returns:
      id
    • setSystemVoiceId

      public void setSystemVoiceId(int systemVoiceId)
      Sets the system voice id
      Parameters:
      systemVoiceId - to query
    • create

      public static RequestEnvelope create(AuthorizationInformation authorizationInformation, int systemVoiceId)
      Creates a get specific voice request
      Parameters:
      authorizationInformation - credentials
      systemVoiceId - to query
      Returns:
      request
    • create

      public static RequestEnvelope create(AuthorizationInformation authorizationInformation)
      Creates a get ALL voices request
      Parameters:
      authorizationInformation - credentials
      Returns:
      request