HueConfigurationContainer

Store configuration for communicating with the Hue API.

Functions

Link copied to clipboard
abstract suspend fun setAuthToken(token: AuthToken?)

Set the application key/token to use when communicating with the Hue bridge.

Link copied to clipboard
abstract suspend fun setHostname(hostname: String?)

he Hue IP or hostname to communicate with. eg "192.168.1.5"

Link copied to clipboard
abstract suspend fun setSecurityStrategy(securityStrategy: SecurityStrategy)

TLS configuration strategy.

Properties

Link copied to clipboard
abstract val authToken: StateFlow<AuthToken?>

Auth token used in authenticated requests to the hue bridge

Link copied to clipboard
abstract val hostname: StateFlow<String?>

The Hue IP or hostname to communicate with.

Link copied to clipboard
abstract val securityStrategy: StateFlow<SecurityStrategy>

TLS configuration strategy.

Inheritors

Link copied to clipboard
Link copied to clipboard