Class GetVoices
java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
io.github.dsheirer.rrapi.request.GetVoices
Radio System Voice information
-
Constructor Summary
ConstructorsConstructorDescriptionGetVoices(AuthorizationInformation authorizationInformation) Constructs a get ALL tags requestGetVoices(AuthorizationInformation authorizationInformation, int systemVoiceId) Constructs the get tag request -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation) Creates a get ALL voices requeststatic RequestEnvelopecreate(AuthorizationInformation authorizationInformation, int systemVoiceId) Creates a get specific voice requestSystem voice idvoidsetSystemVoiceId(int systemVoiceId) Sets the system voice idMethods inherited from class RequestBody
create, getAuthorizationInformation, setAuthorizationInformation
-
Constructor Details
-
GetVoices
Constructs the get tag request- Parameters:
authorizationInformation- for the usersystemVoiceId- to request
-
GetVoices
Constructs a get ALL tags request- Parameters:
authorizationInformation- credentials
-
-
Method Details
-
getSystemVoiceId
-
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- credentialssystemVoiceId- to query- Returns:
- request
-
create
Creates a get ALL voices request- Parameters:
authorizationInformation- credentials- Returns:
- request
-