EmbeddingConfiguration.Builder


class EmbeddingConfiguration.Builder


Builder for creating an instance of EmbeddingConfiguration.

Summary

Public constructors

Public constructors

Builder

Added in 1.4.0-beta01
Builder()

Public functions

build

Added in 1.4.0-beta01
fun build(): EmbeddingConfiguration

Builds aEmbeddingConfiguration instance.

setDimAreaBehavior

Added in 1.4.0-beta01
@RequiresWindowSdkExtension(version = 5)
fun setDimAreaBehavior(area: EmbeddingConfiguration.DimAreaBehavior): EmbeddingConfiguration.Builder

Sets the dim area behavior. By default, the DimAreaBehavior.UNDEFINED is used if not set.

This can be supported only if the Window Extensions version of the target device is equals or higher than required API level. Otherwise, it would be no-op on a target device that has lower API level.

Parameters
area: EmbeddingConfiguration.DimAreaBehavior

The dim area.