public class HouseholdResource extends Object
SonosHousehold| Constructor and Description |
|---|
HouseholdResource(SonosApiClient apiClient)
Constructor for HouseholdResource.
|
| Modifier and Type | Method and Description |
|---|---|
SonosHouseholdList |
getHouseholds(String clientToken)
Get a user's households.
|
public HouseholdResource(SonosApiClient apiClient)
Constructor for HouseholdResource.
apiClient - a SonosApiClient object.public SonosHouseholdList getHouseholds(String clientToken) throws SonosApiClientException, SonosApiError
clientToken - for the userSonosApiClientException - if an error occurs during the call.SonosApiError - if there is an error from the APICopyright © 2018. All rights reserved.