blob: 4b8d90ec79dd64ac843a3a32bbeb9db2b5ceeee7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package de.pixart.messenger.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);
}
|