/* Wrapper generated by lp-gen-wrappers, do not edit*/
var linphone = linphone || {};
/**
* Enum representing the direction of a call.
* @readonly
* @enum {number}
**/
linphone.CallDir = {
/**
* outgoing calls
*/
Outgoing : 0,
/**
* incoming calls
*/
Incoming : 1
};
/**
* Get the name of a value of the CallDir enum as a string.
* @function linphone#getCallDirText
* @param { number } value - One of the values of the CallDir enum.
**/
linphone.getCallDirText = function(value) {
switch (value) {
case linphone.CallDir.Outgoing:
return "Outgoing";
case linphone.CallDir.Incoming:
return "Incoming";
default:
return "?";
}
};