From 5c657be1690dfce989312b8a92a3be5d0ae74121 Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Mon, 6 Mar 2017 11:21:04 +0900 Subject: [PATCH] Change return-type from List to IEnumerable Change-Id: Id19681ee5e883e82d1d4365f3f4036e8a96b3e79 --- packaging/csapi-telephony.spec | 2 +- src/Tizen.Telephony/Tizen.Telephony.nuspec | 2 +- src/Tizen.Telephony/Tizen.Telephony/Call.cs | 2 +- src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs | 4 ++-- src/Tizen.Telephony/Tizen.Telephony/Telephony.cs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packaging/csapi-telephony.spec b/packaging/csapi-telephony.spec index 775c95d..bdac457 100644 --- a/packaging/csapi-telephony.spec +++ b/packaging/csapi-telephony.spec @@ -1,6 +1,6 @@ Name: csapi-telephony Summary: Tizen Telephony API for C# -Version: 1.0.3 +Version: 1.0.4 Release: 1 Group: Development/Libraries License: Apache-2.0 diff --git a/src/Tizen.Telephony/Tizen.Telephony.nuspec b/src/Tizen.Telephony/Tizen.Telephony.nuspec index 878fc0d..cbd7ecb 100644 --- a/src/Tizen.Telephony/Tizen.Telephony.nuspec +++ b/src/Tizen.Telephony/Tizen.Telephony.nuspec @@ -11,7 +11,7 @@ © Samsung Electronics Co., Ltd All Rights Reserved Telephony API for Tizen.Net - + diff --git a/src/Tizen.Telephony/Tizen.Telephony/Call.cs b/src/Tizen.Telephony/Tizen.Telephony/Call.cs index 7a4c1ea..77b6fc1 100644 --- a/src/Tizen.Telephony/Tizen.Telephony/Call.cs +++ b/src/Tizen.Telephony/Tizen.Telephony/Call.cs @@ -91,7 +91,7 @@ namespace Tizen.Telephony /// Incase of Privileges are not defined /// Incase of Telephony is not supported> /// Incase of Out of Memory> - public List GetCallHandleList() + public IEnumerable GetCallHandleList() { uint count; _callList = new IntPtr(); diff --git a/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs b/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs index 51f462e..a93b281 100755 --- a/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs +++ b/src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs @@ -58,7 +58,7 @@ namespace Tizen.Telephony /// 1. Operation Not Supported /// 2. Operation Failed /// - public void SetNotificationId(List list) + public void SetNotificationId(IEnumerable list) { try { @@ -85,7 +85,7 @@ namespace Tizen.Telephony /// 1. Operation Not Supported /// 2. Operation Failed /// - public void RemoveNotificationId(List list) + public void RemoveNotificationId(IEnumerable list) { foreach (ChangeNotificationEventArgs.Notification n in list) { diff --git a/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs b/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs index 7c8b239..ed433a6 100755 --- a/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs +++ b/src/Tizen.Telephony/Tizen.Telephony/Telephony.cs @@ -156,7 +156,7 @@ namespace Tizen.Telephony /// 2. If the operation is not supported on device /// 3. If the Operation Failed /// - public static List Init() + public static IEnumerable Init() { //DeInitialize Previous Handles if present if (_isInitialized) -- 2.7.4