/* Wrapper generated by lp-gen-wrappers, do not edit*/
var linphone = linphone || {};
/**
* Basic status as defined in section 4.1.4 of RFC 3863
* @readonly
* @enum {number}
**/
linphone.PresenceBasicStatus = {
/**
* This value means that the associated contact element, if any, is ready to accept communication.
*/
Open : 0,
/**
* This value means that the associated contact element, if any, is unable to accept communication.
*/
Closed : 1
};
/**
* Get the name of a value of the PresenceBasicStatus enum as a string.
* @function linphone#getPresenceBasicStatusText
* @param { number } value - One of the values of the PresenceBasicStatus enum.
**/
linphone.getPresenceBasicStatusText = function(value) {
switch (value) {
case linphone.PresenceBasicStatus.Open:
return "Open";
case linphone.PresenceBasicStatus.Closed:
return "Closed";
default:
return "?";
}
};