# HomeClientWithProvidedAccount


```
interface HomeClientWithProvidedAccount : HomeClient
```

<br />

*** ** * ** ***

Interface for Home APIs that provides access to provided account specific functionality.

## Summary

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/UserAccount` | `https://developers.home.google.com/reference/kotlin/com/google/home/HomeClientWithProvidedAccount#userAccount()` |

### Inherited functions

From [com.google.home.HomeClient](https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient) `suspend https://developers.home.google.com/reference/kotlin/com/google/home/FederatedInvitationRedeemStatus` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#acceptInvitationWithFederatedAccount(kotlin.String)(token: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` `suspend https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResult` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#addGoogleUser(kotlin.String)(structureId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` `suspend https://developers.home.google.com/reference/kotlin/com/google/home/Structure` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#createStructure(kotlin.String)(name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` `https://developers.home.google.com/reference/kotlin/com/google/home/HomeObjectsFlow<https://developers.home.google.com/reference/kotlin/com/google/home/HomeDevice>` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#devices(kotlin.Boolean)(enableMultipartDevices: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` `https://developers.home.google.com/reference/kotlin/com/google/home/HomeObjectsFlow<T>` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
<T : https://developers.home.google.com/reference/kotlin/com/google/home/HomeEntityType> https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#entities(com.google.home.EntityTypeFactory)(factory: https://developers.home.google.com/reference/kotlin/com/google/home/EntityTypeFactory<T>)` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#getLocale()()` `https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsState>` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#hasPermissions()()` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#registerActivityResultCallerForPermissions(androidx.activity.result.ActivityResultCaller)(
permissionsLauncher: https://developer.android.com/reference/androidx/activity/result/ActivityResultCaller.html
)` `suspend https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResult` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
[requestPermissions](https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#requestPermissions(kotlin.Boolean,com.google.home.ConsentScreenOptions))(
forceLaunch: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html,
consentScreenOptions: https://developers.home.google.com/reference/kotlin/com/google/home/ConsentScreenOptions?
)`

**This function is deprecated.** Use requestPermissions with ForcePermissionFlow instead.
`suspend https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResult` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#requestPermissions(com.google.home.ForcePermissionFlow,com.google.home.ConsentScreenOptions)(
forcePermissionFlow: https://developers.home.google.com/reference/kotlin/com/google/home/ForcePermissionFlow,
consentScreenOptions: https://developers.home.google.com/reference/kotlin/com/google/home/ConsentScreenOptions?
)` `https://developers.home.google.com/reference/kotlin/com/google/home/HomeObjectsFlow<https://developers.home.google.com/reference/kotlin/com/google/home/Room>` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#rooms()()` `suspend T` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
<T : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?> https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#sendBatchedCommands(kotlin.Function1)(block: https://developers.home.google.com/reference/kotlin/com/google/home/BatchScope.() -> T)` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#setLocale(kotlin.String)(locale: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?)` `https://developers.home.google.com/reference/kotlin/com/google/home/HomeObjectsFlow<https://developers.home.google.com/reference/kotlin/com/google/home/Structure>` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#structures()()` `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `@https://developer.android.com/reference/androidx/annotation/RequiresApi.html(value = 27)
https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#syncLinkedDevices()()` `suspend https://developers.home.google.com/reference/kotlin/com/google/home/FeatureConsentResult` `https://developers.home.google.com/reference/kotlin/com/google/home/HomeClient#updateFeatureConsent(kotlin.collections.List,kotlin.String)(
features: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/FeatureConsentType>,
structureId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html
)`

## Public properties

### userAccount

```
val userAccount: UserAccount
```