blob: 87bc7868563551ee2e4dd215785fe44041c675f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package provider;
import org.json.JSONObject;
/**
* Callback when a new tweet or user is received.
*/
public interface ResultListener {
/**
* This method is called when a new tweet is provided.
*
* @param obj A single JSON object.
*/
public void tweetGenerated(JSONObject obj);
/**
* This method is called when a new profile is provided.
*
* @param obj A single JSON object
*/
public void profileGenerated(JSONObject obj);
}
|