/* Wrapper generated by lp-gen-wrappers, do not edit*/
var linphone = linphone || {};
/**
* Enum describing transport type for LinphoneAddress.
* @readonly
* @enum {number}
**/
linphone.TransportType = {
Udp : 0,
Tcp : 1,
Tls : 2,
Dtls : 3
};
/**
* Get the name of a value of the TransportType enum as a string.
* @function linphone#getTransportTypeText
* @param { number } value - One of the values of the TransportType enum.
**/
linphone.getTransportTypeText = function(value) {
switch (value) {
case linphone.TransportType.Udp:
return "Udp";
case linphone.TransportType.Tcp:
return "Tcp";
case linphone.TransportType.Tls:
return "Tls";
case linphone.TransportType.Dtls:
return "Dtls";
default:
return "?";
}
};