Class EmojisContext
A context that provides access to an EmojiDatabase for emoji-related features.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
public record EmojisContext : IContext, IEquatable<EmojisContext>
Constructors
EmojisContext(EmojiDatabase)
A context that provides access to an EmojiDatabase for emoji-related features.
Declaration
public EmojisContext(EmojiDatabase database)
Parameters
| Type | Name | Description |
|---|---|---|
| EmojiDatabase | database | The EmojiDatabase instance to use. |
Properties
IsValid
Whether the context is valid, which requires a non-null database with at least one emoji.
Declaration
public bool IsValid { get; }
Property Value
| Type | Description |
|---|---|
| bool |
database
The emoji database containing the available emojis.
Declaration
public EmojiDatabase database { get; }
Property Value
| Type | Description |
|---|---|
| EmojiDatabase |