LinphoneCallLog.h 562 Bytes
Newer Older
1 2
#pragma once

3 4
#include "CallDirection.h"

5 6
namespace Linphone
{
7
	namespace Core
8
	{
Sylvain Berfini's avatar
Sylvain Berfini committed
9 10
		ref class LinphoneAddress;

11
		public enum class LinphoneCallStatus : int
Sylvain Berfini's avatar
Sylvain Berfini committed
12
		{
13 14 15 16
			Success = 0,
			Aborted = 1,
			Missed = 2,
			Declined = 3
Sylvain Berfini's avatar
Sylvain Berfini committed
17 18
		};

19 20
		public ref class LinphoneCallLog sealed
		{
Sylvain Berfini's avatar
Sylvain Berfini committed
21 22 23
		public:
			LinphoneAddress^ GetFrom();
			LinphoneAddress^ GetTo();
24 25
			CallDirection GetDirection();
			LinphoneCallStatus GetStatus();
Sylvain Berfini's avatar
Sylvain Berfini committed
26 27 28 29
			Platform::String^ GetStartDate();
			int64 GetTimestamp();
			int GetCallDuration();
			int GetCallId();
30 31 32
		};
	}
}