public class

EmojiDefaults

extends java.lang.Object

 java.lang.Object

↳androidx.emoji2.text.EmojiDefaults

Gradle dependencies

compile group: 'androidx.emoji2', name: 'emoji2', version: '1.5.0'

  • groupId: androidx.emoji2
  • artifactId: emoji2
  • version: 1.5.0

Artifact androidx.emoji2:emoji2:1.5.0 it located at Google repository (https://maven.google.com/)

Overview

Defaults for emojicompat

Summary

Fields
public static final intMAX_EMOJI_COUNT

Default value for maxEmojiCount if not specified.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int MAX_EMOJI_COUNT

Default value for maxEmojiCount if not specified.

Source

/*
 * Copyright 2021 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package androidx.emoji2.text;

import androidx.annotation.RestrictTo;

/**
 * Defaults for emojicompat
 *
 */
@RestrictTo(RestrictTo.Scope.LIBRARY)
public class EmojiDefaults {

    private EmojiDefaults() {}

    /**
     * Default value for maxEmojiCount if not specified.
     */
    public static final int MAX_EMOJI_COUNT = Integer.MAX_VALUE;
}