/* Wrapper generated by lp-gen-wrappers, do not edit*/
var linphone = linphone || {};
/**
* LinphoneCoreLogCollectionUploadState is used to notify if log collection upload have been succesfully
* delivered or not.
* @readonly
* @enum {number}
**/
linphone.CoreLogCollectionUploadState = {
/**
* Delivery in progress
*/
InProgress : 0,
/**
* Log collection upload successfully delivered and acknowledged by remote end point
*/
Delivered : 1,
/**
* Log collection upload was not delivered
*/
NotDelivered : 2
};
/**
* Get the name of a value of the CoreLogCollectionUploadState enum as a string.
* @function linphone#getCoreLogCollectionUploadStateText
* @param { number } value - One of the values of the CoreLogCollectionUploadState enum.
**/
linphone.getCoreLogCollectionUploadStateText = function(value) {
switch (value) {
case linphone.CoreLogCollectionUploadState.InProgress:
return "InProgress";
case linphone.CoreLogCollectionUploadState.Delivered:
return "Delivered";
case linphone.CoreLogCollectionUploadState.NotDelivered:
return "NotDelivered";
default:
return "?";
}
};