Share via


EmojiConsistency.EmojiConsistencySet Property

Definition

The set of emoji that should be drawn by the system with the default font for device consistency.

public static System.Collections.Generic.ICollection<int[]> EmojiConsistencySet { [Android.Runtime.Register("getEmojiConsistencySet", "()Ljava/util/Set;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getEmojiConsistencySet", "()Ljava/util/Set;", "", ApiSince=34)>]
static member EmojiConsistencySet : System.Collections.Generic.ICollection<int[]>

Property Value

set of codepoint sequences representing codepoints that should be rendered by the system using the default font.

Attributes

Remarks

The set of emoji that should be drawn by the system with the default font for device consistency.

Apps SHOULD attempt to avoid overwriting system emoji rendering with custom emoji glyphs for these codepoint sequences.

Apps that display custom emoji glyphs via matching code may filter against this set. On match, the application SHOULD prefer Typeface.Default instead of a custom glyph

Apps that use fonts may use this set to add android.text.style.TypefaceSpan for android.graphics.Typeface.DEFAULT for matched codepoint sequences.

Codepoint sequences returned MUST match exactly to be considered a match with the exception of Variation Selectors.

All codepoint sequences returned MUST be a complete emoji codepoint sequence as defined by unicode.

Java documentation for android.text.EmojiConsistency.getEmojiConsistencySet().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to