public enum RECOProximity extends java.lang.Enum<RECOProximity> implements android.os.Parcelable
RECOBeacon. RECOBeacon class uses RECOProximity.
RECOProximity는 RECOBeacon 까지의 상대적인 거리를 나타냅니다.
RECOProximity는 RECOBeacon 클래스에서 사용합니다.
| Enum Constant and Description |
|---|
RECOProximityFar
The beacon is far away.
|
RECOProximityImmediate
The beacon is in the user's immediate vicinity.
|
RECOProximityNear
The beacon is relatively close to the user.
|
RECOProximityUnknown
The proximity of the beacon could not be determined.
|
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<RECOProximity> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static RECOProximity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RECOProximity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final RECOProximity RECOProximityUnknown
해당 beacon에 대한 proximity가 결정될 수 없음.
public static final RECOProximity RECOProximityImmediate
해당 beacon이 기기 바로 가까기에 있음.
public static final RECOProximity RECOProximityNear
해당 beacon이 기기 근처에 있음.
public static final RECOProximity RECOProximityFar
해당 beacon이 기기에서 멀리 떨어져 있음.
public static final android.os.Parcelable.Creator<RECOProximity> CREATOR
public static RECOProximity[] values()
for (RECOProximity c : RECOProximity.values()) System.out.println(c);
public static RECOProximity valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable