updateCustomSetting

open fun updateCustomSetting(key: String, enabled: Boolean)

Updates a custom setting value defined by the client application.

Called when the user toggles a custom setting on the Android Auto settings screen. Clients override this to persist custom settings to their own preference store.

Default implementation is a no-op (no custom settings).

Parameters

key

The client-defined setting key string

enabled

The new toggle value

See also