blob: ea7b8c6264b15ea47351b5fae20e8b001f833ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package de.thedevstack.conversationsplus.xmpp;
public interface OnUpdateBlocklist {
// Use an enum instead of a boolean to make sure we don't run into the boolean trap
// (`onUpdateBlocklist(true)' doesn't read well, and could be confusing).
public static enum Status {
BLOCKED,
UNBLOCKED
}
@SuppressWarnings("MethodNameSameAsClassName")
public void OnUpdateBlocklist(final Status status);
}
|