blob: 42a1c2542cdee1cbbd07a53ebc770e3cb5aa7e20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
package com.cyanogen.lookup.phonenumber.response;
/**
* Status code indicating the result of a lookup query
*/
public enum StatusCode {
/**
* Default value
*/
NULL ("null - default value"),
/**
* Error state wherein the lookup provider isn't configured properly
*/
CONFIG_ERROR ("configuration error"),
/**
* Lookup request failed, maybe due to a network error
*/
FAIL ("request failed"),
/**
* Lookup provider didn't find any results
*/
NO_RESULT ("no results found"),
/**
* Lookup request succeeded
*/
SUCCESS ("request succeeded");
private final String mDescription;
StatusCode(String description) {
mDescription = description;
}
@Override
public String toString() {
return mDescription;
}
}
|