blob: bf02e2f298ae741bba204dff5f057033fbbe5be2 (
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);
}
|