public class MusicServiceAccountsResource extends Object
| Constructor and Description |
|---|
MusicServiceAccountsResource(SonosApiClient apiClient)
Constructor for MusicServiceAccountsResource.
|
| Modifier and Type | Method and Description |
|---|---|
SonosMusicServiceAccount |
match(String clientToken,
String householdId,
SonosMusicServiceAccountMatchRequest request)
Match a music service account using provided information.
|
public MusicServiceAccountsResource(SonosApiClient apiClient)
Constructor for MusicServiceAccountsResource.
apiClient - a SonosApiClient object.public SonosMusicServiceAccount match(String clientToken, String householdId, SonosMusicServiceAccountMatchRequest request) throws SonosApiClientException, SonosApiError
clientToken - for the userhouseholdId - to match accounts withrequest - containing the details to match the accountSonosMusicServiceAccount if foundSonosApiClientException - if an error occurs during the callSonosApiError - if there is an error from the APICopyright © 2018. All rights reserved.