All Downloads are FREE. Search and download functionalities are using the official Maven repository.

twitter4jads.internal.models4j.UserMentionEntity Maven / Gradle / Ivy

The newest version!
package twitter4jads.internal.models4j;

import java.io.Serializable;

/**
 * A data interface representing one single user mention entity.
 *
 *
 * @since Twitter4J 2.1.9
 */
public interface UserMentionEntity extends Serializable {
    /**
     * Returns the name mentioned in the status.
     *
     * @return the name mentioned in the status
     */
    String getName();

    /**
     * Returns the screen name mentioned in the status.
     *
     * @return the screen name mentioned in the status
     */
    String getScreenName();

    /**
     * Returns the user id mentioned in the status.
     *
     * @return the user id mentioned in the status
     */
    long getId();

    /**
     * Returns the index of the start character of the user mention.
     *
     * @return the index of the start character of the user mention
     */
    int getStart();

    /**
     * Returns the index of the end character of the user mention.
     *
     * @return the index of the end character of the user mention
     */
    int getEnd();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy