Change return-type from List to IEnumerable 85/117385/1
authorWootak Jung <wootak.jung@samsung.com>
Mon, 6 Mar 2017 02:21:04 +0000 (11:21 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 6 Mar 2017 02:21:04 +0000 (11:21 +0900)
Change-Id: Id19681ee5e883e82d1d4365f3f4036e8a96b3e79

Tizen.Telephony/Tizen.Telephony.nuspec
Tizen.Telephony/Tizen.Telephony/Call.cs
Tizen.Telephony/Tizen.Telephony/SlotHandle.cs
Tizen.Telephony/Tizen.Telephony/Telephony.cs
packaging/csapi-telephony.spec

index 878fc0d..cbd7ecb 100644 (file)
@@ -11,7 +11,7 @@
     <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
     <description>Telephony API for Tizen.Net</description>
     <dependencies>
-      <dependency id="Tizen" version="1.0.3" />
+      <dependency id="Tizen" version="1.0.4" />
     </dependencies>
   </metadata>
   <files>
index 7a4c1ea..77b6fc1 100644 (file)
@@ -91,7 +91,7 @@ namespace Tizen.Telephony
         /// <exception cref="UnauthorizedAccessException">Incase of Privileges are not defined</exception>
         /// <exception cref="NotSupportedException">Incase of Telephony is not supported</exception>>
         /// <exception cref="OutOfMemoryException">Incase of Out of Memory</exception>>
-        public List<CallHandle> GetCallHandleList()
+        public IEnumerable<CallHandle> GetCallHandleList()
         {
             uint count;
             _callList = new IntPtr();
index 51f462e..a93b281 100755 (executable)
@@ -58,7 +58,7 @@ namespace Tizen.Telephony
         /// 1. Operation Not Supported
         /// 2. Operation Failed
         /// </exception>
-        public void SetNotificationId(List<ChangeNotificationEventArgs.Notification> list)
+        public void SetNotificationId(IEnumerable<ChangeNotificationEventArgs.Notification> list)
         {
             try
             {
@@ -85,7 +85,7 @@ namespace Tizen.Telephony
         /// 1. Operation Not Supported
         /// 2. Operation Failed
         /// </exception>
-        public void RemoveNotificationId(List<ChangeNotificationEventArgs.Notification> list)
+        public void RemoveNotificationId(IEnumerable<ChangeNotificationEventArgs.Notification> list)
         {
             foreach (ChangeNotificationEventArgs.Notification n in list)
             {
index 7c8b239..ed433a6 100755 (executable)
@@ -156,7 +156,7 @@ namespace Tizen.Telephony
         /// 2. If the operation is not supported on device
         /// 3. If the Operation Failed
         /// </exception>
-        public static List<SlotHandle> Init()
+        public static IEnumerable<SlotHandle> Init()
         {
             //DeInitialize Previous Handles if present
             if (_isInitialized)
index 775c95d..bdac457 100644 (file)
@@ -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