-
Method Summary
Gets the current audience that this message will be sent to.
default void
Filters the current audience with given predicate.
Gets the original audience that this message will be sent to.
void
Sets the audience for this message to go to.
-
Method Details
-
originalAudience
Gets the original audience that this message will be sent to.
- Returns:
- The original audience to send to
-
audience
Gets the current audience that this message will be sent to.
- Returns:
- The message channel the message in this event will be sent to
-
setAudience
void setAudience(@Nullable Audience audience)
Sets the audience for this message to go to.
- Parameters:
audience
- The audience to set
-
filterAudience
Filters the current audience with given predicate.
- Parameters:
predicate
- the predicate