FaceMismatch

@Serializable
class FaceMismatch(val unavailableFaceName: String? = null)

Represents a font face mismatch when the requested font face is not available on the device. This is used during content editing to indicate that a particular font face couldn't be matched to an available font.

Constructors

Link copied to clipboard
constructor(unavailableFaceName: String? = null)

Properties

Link copied to clipboard

The name of the font face that couldn't be found, or null if unknown.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks equality based on the unavailable face name.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code based on the unavailable face name.