public static enum PresenceActivity.Type extends java.lang.Enum<PresenceActivity.Type>
Enum Constant and Description |
---|
Appointment
The person has a calendar appointment, without specifying exactly of what type.
|
Away
The person is physically away from all interactive communication devices.
|
Breakfast
The person is eating the first meal of the day, usually eaten in the morning.
|
Busy
The person is busy, without further details.
|
Dinner
The person is having his or her main meal of the day, eaten in the evening or
at midday. |
Holiday
This is a scheduled national or local holiday.
|
InTransit
The person is riding in a vehicle, such as a car, but not steering.
|
LookingForWork
The person is looking for (paid) work.
|
Lunch
The person is eating his or her midday meal.
|
Meal
The person is scheduled for a meal, without specifying whether it is breakfast,
lunch, or dinner, or some other meal. |
Meeting
The person is in an assembly or gathering of people, as for a business, social,
or religious purpose. |
OnThePhone
The person is talking on the telephone.
|
Other
The person is engaged in an activity with no defined representation.
|
Performance
A performance is a sub-class of an appointment and includes musical,
theatrical, and cinematic performances as well as lectures. |
PermanentAbsence
The person will not return for the foreseeable future, e.g., because it is no
longer working for the company. |
Playing
The person is occupying himself or herself in amusement, sport, or other
recreation. |
Presentation
The person is giving a presentation, lecture, or participating in a formal
round-table discussion. |
Shopping
The person is visiting stores in search of goods or services.
|
Sleeping
The person is sleeping.
|
Spectator
The person is observing an event, such as a sports event.
|
Steering
The person is controlling a vehicle, watercraft, or plane.
|
Travel
The person is on a business or personal trip, but not necessarily in-transit.
|
TV
The person is watching television.
|
Unknown
The activity of the person is unknown.
|
Vacation
A period of time devoted to pleasure, rest, or relaxation.
|
Working
The person is engaged in, typically paid, labor, as part of a profession or
job. |
Worship
The person is participating in religious rites.
|
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
static PresenceActivity.Type |
fromInt(int value) |
int |
toInt() |
static PresenceActivity.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresenceActivity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceActivity.Type Appointment
public static final PresenceActivity.Type Away
public static final PresenceActivity.Type Breakfast
public static final PresenceActivity.Type Busy
public static final PresenceActivity.Type Dinner
public static final PresenceActivity.Type Holiday
public static final PresenceActivity.Type InTransit
public static final PresenceActivity.Type LookingForWork
public static final PresenceActivity.Type Lunch
public static final PresenceActivity.Type Meal
public static final PresenceActivity.Type Meeting
public static final PresenceActivity.Type OnThePhone
public static final PresenceActivity.Type Other
public static final PresenceActivity.Type Performance
public static final PresenceActivity.Type PermanentAbsence
public static final PresenceActivity.Type Playing
public static final PresenceActivity.Type Presentation
public static final PresenceActivity.Type Shopping
public static final PresenceActivity.Type Sleeping
public static final PresenceActivity.Type Spectator
public static final PresenceActivity.Type Steering
public static final PresenceActivity.Type Travel
public static final PresenceActivity.Type TV
public static final PresenceActivity.Type Unknown
public static final PresenceActivity.Type Vacation
public static final PresenceActivity.Type Working
public static final PresenceActivity.Type Worship
public static PresenceActivity.Type[] values()
for (PresenceActivity.Type c : PresenceActivity.Type.values()) System.out.println(c);
public static PresenceActivity.Type 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 static PresenceActivity.Type fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()