setDynamicColorPreference

abstract suspend fun setDynamicColorPreference(useDynamicColor: Boolean): Result<Unit>

Sets the dynamic color preference.

Return

A Result indicating the success or failure of the operation.

Parameters

useDynamicColor

Whether to use dynamic colors.