Enum Class ContactStatus
- All Implemented Interfaces:
Serializable
,Comparable<ContactStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContact is online and available to talk.Contact is online but currently busy.The channel is in the process of connecting.Contact is offline.Contact is offline but was recently online. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContactStatus
Returns the enum constant of this class with the specified name.static ContactStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
OFFLINE
Contact is offline.
Messages cannot be sent to a channel with this status. If the channel is
OFFLINE
you need to connect to it before sending the message.Messages can be sent to a user with this status and are saved locally for later delivery, which happens when the user comes back online.
-
AVAILABLE
Contact is online and available to talk.
Messages are immediately delivered to a contact with this status.
-
BUSY
Contact is online but currently busy.
Messages are delivered to a contact with this status and are saved to their history. However, they do not play live and are not delivered to the Zello SDK.
-
STANDBY
Contact is offline but was recently online.
Messages sent to a contact with this status are saved on the server and delivered to the contact the next time they sign in. Depending on the platform and configuration, they may also get a push notification about the message.
-
CONNECTING
The channel is in the process of connecting.
This status only applies to channels. You cannot send messages to a channel in this state.
- See Also:
-
-
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
-