Package org.linphone.core
Enum Class PresenceActivity.Type
- All Implemented Interfaces:
Serializable
,Comparable<PresenceActivity.Type>
,Constable
- Enclosing interface:
- PresenceActivity
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe person has a calendar appointment, without specifying exactly of what type.The person is physically away from all interactive communication devices.The person is eating the first meal of the day, usually eaten in the morning.The person is busy, without further details.The person is having his or her main meal of the day, eaten in the evening or
at midday.This is a scheduled national or local holiday.The person is riding in a vehicle, such as a car, but not steering.The person is looking for (paid) work.The person is eating his or her midday meal.The person is scheduled for a meal, without specifying whether it is breakfast,
lunch, or dinner, or some other meal.The person is in an assembly or gathering of people, as for a business, social,
or religious purpose.The person is talking on the telephone.The person is engaged in an activity with no defined representation.A performance is a sub-class of an appointment and includes musical,
theatrical, and cinematic performances as well as lectures.The person will not return for the foreseeable future, e.g., because it is no
longer working for the company.The person is occupying himself or herself in amusement, sport, or other
recreation.The person is giving a presentation, lecture, or participating in a formal
round-table discussion.The person is visiting stores in search of goods or services.The person is sleeping.The person is observing an event, such as a sports event.The person is controlling a vehicle, watercraft, or plane.The person is on a business or personal trip, but not necessarily in-transit.The person is watching television.The activity of the person is unknown.A period of time devoted to pleasure, rest, or relaxation.The person is engaged in, typically paid, labor, as part of a profession or
job.The person is participating in religious rites. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PresenceActivity.Type
fromInt
(int value) int
toInt()
static PresenceActivity.Type
Returns the enum constant of this class with the specified name.static PresenceActivity.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Appointment
The person has a calendar appointment, without specifying exactly of what type.
This activity is indicated if more detailed information is not available or the
person chooses not to reveal more information. -
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.
A meeting is a sub-class of an appointment. -
OnThePhone
The person is talking on the telephone.
-
Other
The person is engaged in an activity with no defined representation.
A string describing the activity in plain text SHOULD be provided. -
Performance
A performance is a sub-class of an appointment and includes musical,
theatrical, and cinematic performances as well as lectures.
It is distinguished from a meeting by the fact that the person may either be
lecturing or be in the audience, with a potentially large number of other
people, making interruptions particularly noticeable. -
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.
-
-
Field Details
-
mValue
protected final int mValue
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromInt
- Throws:
RuntimeException
-
toInt
public int toInt()
-