public class Mention
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Mention.Type |
Constructor and Description |
---|
Mention(int startIndex,
int endIndex,
java.lang.String userId,
Mention.Type type) |
Modifier and Type | Method and Description |
---|---|
int |
getEndIndex()
End position of the mention in the text.
|
int |
getStartIndex()
Start position of the mention in the text.
|
Mention.Type |
getType()
Type of the mention.
|
java.lang.String |
getUserId()
Id of the mentioned user.
|
public Mention(int startIndex, int endIndex, java.lang.String userId, Mention.Type type)
public int getStartIndex()
public int getEndIndex()
public Mention.Type getType()
public java.lang.String getUserId()
(c) Copyright GetSocial BV, 2022. All Rights Reserved.