@API(status=STABLE)
public final class Caption
extends Object
This is a reference to a caption and does not contain any message itself
-
Method Summary
boolean
int
Create a new caption with a given key
-
Method Details
-
of
Create a new caption with a given key
- Parameters:
key
- Caption key
- Returns:
- Created caption
-
-
getKey
public @NonNull String getKey()
Get the caption key
- Returns:
- Caption key
-
-