Package com.sinch.android.rtc.calling
Enum CallEndCause
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum CallEndCause extends Enum<CallEndCause>
Enumeration providing information why given Call has ended. If call has not ended yet NONE end cause is returned.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integervalueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<CallEndCause>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description NONETIMEOUTDENIEDNO_ANSWERFAILUREHUNG_UPCANCELEDOTHER_DEVICE_ANSWEREDINACTIVEVOIP_CALL_DETECTEDGSM_CALL_DETECTED
-
Method Summary
Modifier and Type Method Description final Array<CallEndCause>values()Returns an array containing the constants of this enum type, in the order they're declared. final CallEndCausevalueOf(String value)Returns the enum constant of this type with the specified name. final IntegergetValue()final EnumEntries<CallEndCause>getEntries()-
-
Method Detail
-
values
final Array<CallEndCause> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final CallEndCause valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getEntries
final EnumEntries<CallEndCause> getEntries()
-
-
-
-