/FileExtraction/Java_unseen/InsightIM_Tok-Android/app/src/main/java/im/tox/tox4j/core/callbacks/FriendNameCallback.java
package im.tox.tox4j.core.callbacks;

import im.tox.tox4j.core.data.ToxFriendNumber;
import im.tox.tox4j.core.data.ToxNickname;

/**
 * This event is triggered when a friend changes their name.
 */
public interface FriendNameCallback {
    /**
     * @param friendNumber The friend number of the friend whose name changed.
     * @param name The new nickname.
     */
    void friendName(ToxFriendNumber friendNumber, ToxNickname name);
}
