Change return-type from List to IEnumerable
authorsinikang <sinikang@samsung.com>
Mon, 6 Mar 2017 10:04:02 +0000 (19:04 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 21 Mar 2017 06:59:33 +0000 (15:59 +0900)
Change-Id: Idf1aa798fd6d335f87b75945a5790693d44c340d

packaging/csapi-telephony.spec
src/Tizen.Telephony/Tizen.Telephony/Call.cs
src/Tizen.Telephony/Tizen.Telephony/SlotHandle.cs [changed mode: 0755->0644]
src/Tizen.Telephony/Tizen.Telephony/Telephony.cs [changed mode: 0755->0644]

index 9d143cf..37c525a 100644 (file)
@@ -1,6 +1,6 @@
 Name:       csapi-telephony
 Summary:    Tizen Telephony API for C#
-Version:    1.0.8
+Version:    1.0.9
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
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();
old mode 100755 (executable)
new mode 100644 (file)
index 51f462e..a93b281
@@ -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)
             {
old mode 100755 (executable)
new mode 100644 (file)
index 7c8b239..ed433a6
@@ -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)