Identifier

@RequiresApi(21) abstract class Identifier
kotlin.Any
   ↳ androidx.camera.core.impl.Identifier

The Identifier class allows anything to be wrapped as an Identifier instance. The caller should make the input value object unique when calling the create(Object) function. So that the Identifier can be recognized and used for specific purposes.

Summary

Public constructors

The Identifier class allows anything to be wrapped as an Identifier instance.

Public methods
open static Identifier
create(@NonNull value: Any)

Creates an Identifier for the specified input value.

abstract Any

Retrieves the value of this Identifier.

Public constructors

Identifier

Identifier()

The Identifier class allows anything to be wrapped as an Identifier instance. The caller should make the input value object unique when calling the create(Object) function. So that the Identifier can be recognized and used for specific purposes.

Public methods

create

@NonNull open static fun create(@NonNull value: Any): Identifier

Creates an Identifier for the specified input value.

getValue

@NonNull abstract fun getValue(): Any

Retrieves the value of this Identifier.