Release 4.0.0-preview1-00249 accepted/tizen/unified/20170926.062035 submit/tizen/20170925.150032
authorDotnetBuild <dotnetbuild.tizen@gmail.com>
Mon, 25 Sep 2017 15:00:31 +0000 (00:00 +0900)
committerDotnetBuild <dotnetbuild.tizen@gmail.com>
Mon, 25 Sep 2017 15:00:31 +0000 (00:00 +0900)
53 files changed:
packaging/csapi-tizenfx.spec
pkg/PlatformFileList.txt
pkg/PublicModuleList.txt
src/ElmSharp/ElmSharp/Image.cs [changed mode: 0644->0755]
src/Tizen.Applications.MessagePort/Tizen.Applications.Messages/MessagePort.cs
src/Tizen.Applications.Shortcut/Tizen.Applications.Shortcut/ShortcutManager.cs
src/Tizen.Applications.WatchApplication/Interop/Interop.Watch.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications.WatchApplication.csproj [changed mode: 0644->0755]
src/Tizen.Applications.WatchApplication/Tizen.Applications.WatchApplication.sln
src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchApplication.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchTime.cs
src/Tizen.Convergence/Interop/Interop.Common.cs [deleted file]
src/Tizen.Convergence/Interop/Interop.Internal.Conv.Channel.cs [deleted file]
src/Tizen.Convergence/Interop/Interop.Internal.Conv.Device.cs [deleted file]
src/Tizen.Convergence/Interop/Interop.Internal.Conv.Manager.cs [deleted file]
src/Tizen.Convergence/Interop/Interop.Internal.Conv.Payload.cs [deleted file]
src/Tizen.Convergence/Interop/Interop.Internal.Conv.Service.cs [deleted file]
src/Tizen.Convergence/Interop/Interop.Libc.cs [deleted file]
src/Tizen.Convergence/Interop/Interop.Libraries.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence.csproj [deleted file]
src/Tizen.Convergence/Tizen.Convergence.sln [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalAppCommunicationService.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalChannel.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalDevice.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalDeviceFinder.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalDeviceFoundEventArgs.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalErrorFactory.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalPayload.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalService.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalServiceErrorOccuredEventArgs.cs [deleted file]
src/Tizen.Convergence/Tizen.Convergence/InternalServiceEventOccuredEventArgs.cs [deleted file]
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/NamespaceDoc.cs
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtilsEnumerations.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsDatabase.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsFilter.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsList.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsManager.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsQuery.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsRecord.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsVcard.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsViews.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/DBChangedEventArgs.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/DBStatusChangedEventArgs.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/NameDisplayOrderChangedEventArgs.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/NameSortingOrderChangedEventArgs.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/NamespaceDoc.cs
src/Tizen.System.Information/Common/Information.cs [changed mode: 0755->0644]
src/Tizen.System.Information/Common/InformationErrorFactory.cs [changed mode: 0755->0644]
src/Tizen.System.Information/RuntimeInfo/Enumerations.cs [changed mode: 0755->0644]
src/Tizen.System.Information/RuntimeInfo/RuntimeInfo.cs [changed mode: 0755->0644]
src/Tizen.System.Information/RuntimeInfo/RuntimeInfoEventHandler.cs [changed mode: 0755->0644]
src/Tizen.System.Information/RuntimeInfo/TvProductHelper.cs [changed mode: 0755->0644]

index 54235cf..ad59663 100644 (file)
@@ -9,7 +9,7 @@
 
 Name:       csapi-tizenfx
 Summary:    Assemblies of Tizen .NET
-Version:    4.0.0.243
+Version:    4.0.0.249
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
@@ -144,7 +144,7 @@ rm -fr %{_tizenfx_bin_path}
 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
 ./build.sh --full
 ./build.sh --dummy
-./build.sh --pack 4.0.0-preview1-00243
+./build.sh --pack 4.0.0-preview1-00249
 
 %install
 mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH}
index 4ce840b..8aaa14f 100644 (file)
@@ -30,7 +30,6 @@ Tizen.Content.Download.dll                         #common #mobile #mobile-emul
 Tizen.Content.MediaContent.dll                     #common #mobile #mobile-emul #tv #ivi #wearable
 Tizen.Content.MimeType.dll                         #common #mobile #mobile-emul #tv #ivi #wearable
 Tizen.Context.dll                                  #mobile #mobile-emul #wearable
-Tizen.Convergence.dll                              #common #mobile #mobile-emul #ivi #wearable
 Tizen.dll                                          #common #mobile #mobile-emul #tv #ivi #wearable
 Tizen.Location.dll                                 #mobile #mobile-emul #tv #ivi #wearable
 Tizen.Location.Geofence.dll                        #mobile #mobile-emul
index 0327770..2e9e56b 100755 (executable)
@@ -27,7 +27,6 @@ Tizen.Content.Download
 Tizen.Content.MediaContent
 Tizen.Content.MimeType
 Tizen.Context
-Tizen.Convergence
 Tizen.Location
 Tizen.Location.Geofence
 Tizen.Log
old mode 100644 (file)
new mode 100755 (executable)
index 4f40932..3f1bc1c
@@ -332,6 +332,11 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Gets the inlined image object of the image widget.
+        /// This property allows one to get the underlying EvasObject of type Image from this elementary widget. It can be useful to do things like save the image to a file, etc.
+        /// </summary>
+        /// <remarks>Be careful to not manipulate it, as it is under the control of widget.</remarks>
         public EvasImage ImageObject
         {
             get
index dc44e9d..b1bd818 100755 (executable)
@@ -266,7 +266,7 @@ namespace Tizen.Applications.Messages
             {
                 MessagePortErrorFactory.ThrowException((int)MessagePortError.InvalidOperation, "Should start listen before send");
             }
-            if (message == null)
+            if (message == null || message.SafeBundleHandle == null || message.SafeBundleHandle.IsInvalid)
             {
                 MessagePortErrorFactory.ThrowException((int)MessagePortError.InvalidParameter, "message is null", "Message");
             }
index 3b4e7c4..6fe1311 100755 (executable)
@@ -105,10 +105,10 @@ namespace Tizen.Applications.Shortcut
                     widgetAddResult = new Interop.Shortcut.ResultCallback(WidgetAddResultCallback);
                 }
 
-                err = Interop.Shortcut.AddToWidget(shortcut.ShortcutName, shortcut.WidgetSize, shortcut.WidgetId, shortcut.IconPath, shortcut.Period, Convert.ToInt32(shortcut.IsAllowDuplicate), null, IntPtr.Zero);
+                err = Interop.Shortcut.AddToWidget(shortcut.ShortcutName, shortcut.WidgetSize, shortcut.WidgetId, shortcut.IconPath, shortcut.Period, Convert.ToInt32(shortcut.IsAllowDuplicate), widgetAddResult, IntPtr.Zero);
                 if (err != Interop.Shortcut.ErrorCode.None)
                 {
-                    throw ShortcutErrorFactory.GetException(err, "unable to add shortcut");
+                    throw ShortcutErrorFactory.GetException(err, "unable to add widget");
                 }
             }
             catch (Exception e)
index b4ffa33..2177e6e 100755 (executable)
@@ -39,6 +39,7 @@ internal static partial class Interop
             OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,
             InvalidContext = -0x01100000 | 0x01,
             NoSuchFile = Tizen.Internals.Errors.ErrorCode.NoSuchFile,
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,
             AlreadyRunning = Tizen.Internals.Errors.ErrorCode.AlreadyInProgress
         }
 
@@ -153,6 +154,5 @@ internal static partial class Interop
 
         [DllImport(Libraries.AppCommon, EntryPoint = "app_event_get_region_format")]
         internal static extern Tizen.Internals.Errors.ErrorCode AppEventGetRegionFormat(IntPtr handle, out string region);
-
     }
-}
+}
\ No newline at end of file
old mode 100644 (file)
new mode 100755 (executable)
index e56b74e..d0d923b
@@ -7,6 +7,7 @@
   <ItemGroup>
     <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj" />
     <ProjectReference Include="..\ElmSharp\ElmSharp.csproj" />
+    <ProjectReference Include="..\Tizen.System.Information\Tizen.System.Information.csproj" />
   </ItemGroup>
 
 </Project>
index 63347eb..9ede788 100755 (executable)
@@ -1,7 +1,7 @@
 ï»¿
 Microsoft Visual Studio Solution File, Format Version 12.00
 # Visual Studio 15
-VisualStudioVersion = 15.0.26430.12
+VisualStudioVersion = 15.0.26730.10
 MinimumVisualStudioVersion = 10.0.40219.1
 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.WatchApplication", "Tizen.Applications.WatchApplication.csproj", "{8BF860DC-DCBC-4889-938F-7515C5282D95}"
 EndProject
@@ -13,6 +13,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.Common",
 EndProject
 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElmSharp", "..\ElmSharp\ElmSharp.csproj", "{66EC3D92-AD41-4906-A1A9-3C414B2107F5}"
 EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.System.Information", "..\Tizen.System.Information\Tizen.System.Information.csproj", "{F3138394-755D-4055-9561-999823C76BD2}"
+EndProject
 Global
        GlobalSection(SolutionConfigurationPlatforms) = preSolution
                Debug|Any CPU = Debug|Any CPU
@@ -39,8 +41,15 @@ Global
                {66EC3D92-AD41-4906-A1A9-3C414B2107F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {66EC3D92-AD41-4906-A1A9-3C414B2107F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
                {66EC3D92-AD41-4906-A1A9-3C414B2107F5}.Release|Any CPU.Build.0 = Release|Any CPU
+               {F3138394-755D-4055-9561-999823C76BD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {F3138394-755D-4055-9561-999823C76BD2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {F3138394-755D-4055-9561-999823C76BD2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {F3138394-755D-4055-9561-999823C76BD2}.Release|Any CPU.Build.0 = Release|Any CPU
        EndGlobalSection
        GlobalSection(SolutionProperties) = preSolution
                HideSolutionNode = FALSE
        EndGlobalSection
+       GlobalSection(ExtensibilityGlobals) = postSolution
+               SolutionGuid = {C24ED662-71DD-4A20-8F6E-C0A16FC8DE1C}
+       EndGlobalSection
 EndGlobal
index 43cdbca..b02f1a4 100755 (executable)
@@ -159,8 +159,10 @@ namespace Tizen.Applications
         /// Gets the current time
         /// </summary>
         /// <returns>WatchTime</returns>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="InvalidOperationException">Thrown when failed to get current time because of invalid parameter.</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed to get current time because memory is not enough.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the method is not supported.</exception>
         /// <example>
         /// <code>
         /// class MyApp : WatchApplication
@@ -191,6 +193,8 @@ namespace Tizen.Applications
                     throw new InvalidOperationException("Failed to get current time. err : " + err);
                 else if (err == Interop.Watch.ErrorCode.OutOfMemory)
                     throw new OutOfMemoryException("Failed to get current time. err : " + err);
+                else if (err == Interop.Watch.ErrorCode.NotSupported)
+                    throw new NotSupportedException("Failed to get current time. err : " + err);
             }
             return new WatchTime(handle);
         }
@@ -199,7 +203,9 @@ namespace Tizen.Applications
         /// Gets the type of periodic ambient tick.
         /// </summary>
         /// <returns>AmbientTickType</returns>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="InvalidOperationException">Thrown when failed to get ambient tick type.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the method is not supported.</exception>
         /// <example>
         /// <code>
         /// class MyApp : WatchApplication
@@ -227,7 +233,10 @@ namespace Tizen.Applications
 
             if(err != Interop.Watch.ErrorCode.None)
             {
-                throw new InvalidOperationException("Failed to get ambient tick type. err : " + err);
+                if (err == Interop.Watch.ErrorCode.NotSupported)
+                    throw new NotSupportedException("Failed to get ambient tick type. err : " + err);
+                else
+                    throw new InvalidOperationException("Failed to get ambient tick type. err : " + err);
             }
 
             return ambientTickType;
@@ -239,7 +248,9 @@ namespace Tizen.Applications
         /// If SetAmbientTickType is not called, OnAmbientTick will be called every minute.
         /// </summary>
         /// <param name="ambientTickType">the type of ambient tick</param>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="InvalidOperationException">Thrown when failed to set ambient tick type.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the method is not supported.</exception>
         /// <example>
         /// <code>
         /// class MyApp : WatchApplication
@@ -264,7 +275,10 @@ namespace Tizen.Applications
 
             if(err != Interop.Watch.ErrorCode.None)
             {
-                throw new InvalidOperationException("Failed to set ambient tick type. err : " + err);
+                if (err == Interop.Watch.ErrorCode.NotSupported)
+                    throw new NotSupportedException("Failed to set ambient tick type. err : " + err);
+                else
+                    throw new InvalidOperationException("Failed to set ambient tick type. err : " + err);
             }
         }
 
@@ -275,7 +289,9 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="ticks">Ticks the number of ticks per given resolution type</param>
         /// <param name="type">Type of the resolution type</param>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="InvalidOperationException">Thrown when failed to set time tick frequency.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the method is not supported.</exception>
         /// <example>
         /// <code>
         /// class MyApp : WatchApplication
@@ -300,7 +316,10 @@ namespace Tizen.Applications
 
             if (err != Interop.Watch.ErrorCode.None)
             {
-                throw new InvalidOperationException("Failed to set time tick frequency. err : " + err);
+                if (err == Interop.Watch.ErrorCode.NotSupported)
+                    throw new NotSupportedException("Failed to set time tick frequency. err : " + err);
+                else
+                    throw new InvalidOperationException("Failed to set time tick frequency. err : " + err);
             }
         }
 
@@ -309,7 +328,9 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="ticks">Ticks the number of ticks per given resolution type</param>
         /// <param name="type">Type of the resolution type</param>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="InvalidOperationException">Thrown when failed to get time tick frequency.</exception>
+        /// <exception cref="NotSupportedException">Thrown when the method is not supported.</exception>
         /// <example>
         /// <code>
         /// class MyApp : WatchApplication
@@ -336,7 +357,10 @@ namespace Tizen.Applications
 
             if (err != Interop.Watch.ErrorCode.None)
             {
-                throw new InvalidOperationException("Failed to get time tick frequency. err : " + err);
+                if (err == Interop.Watch.ErrorCode.NotSupported)
+                    throw new NotSupportedException("Failed to get time tick frequency. err : " + err);
+                else
+                    throw new InvalidOperationException("Failed to get time tick frequency. err : " + err);
             }
         }
     }
index 94ce435..e39434c 100755 (executable)
@@ -34,6 +34,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of year
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Year
         {
             get
@@ -43,7 +45,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Year err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Year. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Year err : " + err);
                 }
                 return year;
             }
@@ -52,6 +57,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information fo month
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Month
         {
             get
@@ -61,7 +68,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Month err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Month. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Month err : " + err);
                 }
                 return month;
             }
@@ -70,6 +80,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of day
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Day
         {
             get
@@ -79,7 +91,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Day err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Day. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Day err : " + err);
                 }
                 return day;
             }
@@ -88,6 +103,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of day of week
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int DayOfWeek
         {
             get
@@ -97,7 +114,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Second err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get DayOfWeek. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get DayOfWeek err : " + err);
                 }
                 return dayOfWeek;
             }
@@ -106,6 +126,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of hour
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Hour
         {
             get
@@ -115,7 +137,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Hour err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Hour. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Hour err : " + err);
                 }
                 return hour;
             }
@@ -124,6 +149,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of hour for 24 hour form
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Hour24
         {
             get
@@ -133,7 +160,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Hour24 err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Hour24. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Hour24 err : " + err);
                 }
                 return hour24;
             }
@@ -142,6 +172,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of Minute
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Minute
         {
             get
@@ -151,7 +183,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Minute err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Minute. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Minute err : " + err);
                 }
                 return minute;
             }
@@ -160,6 +195,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of second
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Second
         {
             get
@@ -169,7 +206,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Second err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Second. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Second err : " + err);
                 }
                 return second;
             }
@@ -178,6 +218,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of millisecond
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public int Millisecond
         {
             get
@@ -187,7 +229,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Second err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get Millisecond. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get Millisecond err : " + err);
                 }
                 return ms;
             }
@@ -196,6 +241,8 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of timezone
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public string TimeZone
         {
             get
@@ -205,7 +252,10 @@ namespace Tizen.Applications
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get Second err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get TimeZone. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get TimeZone err : " + err);
                 }
                 return zone;
             }
@@ -214,19 +264,22 @@ namespace Tizen.Applications
         /// <summary>
         /// The information of UTC time stamp
         /// </summary>
+        /// <feature>http://tizen.org/feature/watch_app</feature>
+        /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         public DateTime UtcTimestamp
         {
             get
             {
                 long ts = 0;
-
                 Interop.Watch.ErrorCode err = Interop.Watch.WatchTimeGetUtcTimestamp(_handle, out ts);
 
                 if (err != Interop.Watch.ErrorCode.None)
                 {
-                    Log.Error(LOGTAG, "Failed to get UtcTimestamp err : " + err);
+                    if (err == Interop.Watch.ErrorCode.NotSupported)
+                        throw new NotSupportedException("Failed to get UtcTimestamp. err : " + err);
+                    else
+                        Log.Error(LOGTAG, "Failed to get UtcTimestamp err : " + err);
                 }
-
                 return (new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).AddSeconds(ts).ToLocalTime();
             }
         }
diff --git a/src/Tizen.Convergence/Interop/Interop.Common.cs b/src/Tizen.Convergence/Interop/Interop.Common.cs
deleted file mode 100755 (executable)
index bad120b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using System;
-using System.Runtime.InteropServices;
-
-internal static partial class Interop
-{
-    internal abstract class TizenSafeHandle : SafeHandle
-    {
-        public abstract void Destroy();
-
-        public TizenSafeHandle() : base(IntPtr.Zero, true)
-        {
-        }
-
-        public TizenSafeHandle(IntPtr handle) : base(handle, true)
-        {
-        }
-
-        public override bool IsInvalid
-        {
-            get
-            {
-                return handle == IntPtr.Zero;
-            }
-        }
-
-        protected override bool ReleaseHandle()
-        {
-            Destroy();
-            SetHandle(IntPtr.Zero);
-            return true;
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Channel.cs b/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Channel.cs
deleted file mode 100755 (executable)
index 4a8a282..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using System;
-using System.Runtime.InteropServices;
-using Tizen;
-using Tizen.Convergence;
-
-internal static partial class Interop
-{
-    internal static partial class Internal
-    {
-        internal static partial class ConvChannel
-        {
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_channel_create")]
-            internal static extern int Create(out ConvChannelHandle /* conv_channel_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_channel_destroy")]
-            internal static extern int Destroy(IntPtr /* conv_channel_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_channel_get_string")]
-            internal static extern int GetString(ConvChannelHandle /* conv_channel_h */ handle, string key, out IntPtr value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_channel_set_string")]
-            internal static extern int SetString(ConvChannelHandle /* conv_channel_h */ handle, string key, string value);
-        }
-
-        internal class ConvChannelHandle : TizenSafeHandle
-        {
-            private bool _ownsHandle = true;
-
-            public ConvChannelHandle(): base()
-            {
-
-            }
-
-            public ConvChannelHandle(IntPtr handle)
-                : base(handle)
-            {
-            }
-
-            public ConvChannelHandle(IntPtr handle, bool ownsHandle)
-                : base(handle)
-            {
-                _ownsHandle = ownsHandle;
-            }
-
-            public override void Destroy()
-            {
-                if (_ownsHandle && handle != IntPtr.Zero)
-                {
-                    var err = ConvChannel.Destroy(this.handle);
-                    if (err != (int)ConvErrorCode.None)
-                    {
-                        Log.Error(ErrorFactory.LogTag, "Failed to destroy conv channel handle");
-                        throw ErrorFactory.GetException(err);
-                    }
-                }
-            }
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Device.cs b/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Device.cs
deleted file mode 100755 (executable)
index cbee849..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using System;
-using System.Runtime.InteropServices;
-using Tizen;
-using Tizen.Convergence;
-
-internal static partial class Interop
-{
-    internal static partial class Internal
-    {
-        internal static partial class ConvDevice
-        {
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_device_clone")]
-            internal static extern int Clone(IntPtr /* conv_device_h */ originalHandle, out ConvDeviceHandle /* conv_device_h */ targetHandle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_device_destroy")]
-            internal static extern int Destroy(IntPtr /* conv_device_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_device_get_property_string")]
-            internal static extern int GetPropertyString(ConvDeviceHandle /* conv_device_h */ handle, string key, out IntPtr value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_device_foreach_service")]
-            internal static extern int ForeachService(ConvDeviceHandle /* conv_device_h */ handle, ConvServiceForeachCallback cb, IntPtr /* void */ userData);
-
-            [UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)]
-            internal delegate void ConvServiceForeachCallback(IntPtr serviceHandle, IntPtr /* void */ userData);
-        }
-
-        internal class ConvDeviceHandle : TizenSafeHandle
-        {
-            public ConvDeviceHandle() : base()
-            {
-
-            }
-
-            public ConvDeviceHandle(IntPtr handle)
-                : base(handle)
-            {
-            }
-
-            public override void Destroy()
-            {
-                if (handle != IntPtr.Zero)
-                {
-                    var err = ConvDevice.Destroy(this.handle);
-                    if (err != (int)ConvErrorCode.None)
-                    {
-                        Log.Error(ErrorFactory.LogTag, "Failed to destroy conv device handle");
-                        throw ErrorFactory.GetException(err);
-                    }
-                }
-            }
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Manager.cs b/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Manager.cs
deleted file mode 100755 (executable)
index cfdc9e5..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using System;
-using System.Runtime.InteropServices;
-using Tizen;
-using Tizen.Convergence;
-
-internal static partial class Interop
-{
-    internal static partial class Internal
-    {
-        public enum ConvDiscoveryResult
-        {
-            /// <summary>
-            /// Discovery Error
-            /// </summary>
-            Error = -1,
-            /// <summary>
-            /// Discovery Success
-            /// </summary>
-            Success = 0,
-            /// <summary>
-            /// Discovery finished
-            /// </summary>
-            Finished,
-            /// <summary>
-            /// Discovery lost
-            /// </summary>
-            Lost,
-        }
-
-        internal static partial class ConvManager
-        {
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_create")]
-            internal static extern int ConvCreate(out ConvManagerHandle /* conv_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_destroy")]
-            internal static extern int ConvDestroy(IntPtr /* conv_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_discovery_start")]
-            internal static extern int ConvDiscoveryStart(ConvManagerHandle /* conv_h */ handle, int timeoutSeconds, ConvDiscoveryCallback callback, IntPtr /* void */ userData);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_discovery_stop")]
-            internal static extern int ConvDiscoveryStop(ConvManagerHandle /* conv_h */ handle);
-
-            [UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)]
-            internal delegate void ConvDiscoveryCallback(IntPtr /* conv_device_h */ deviceHandle, ConvDiscoveryResult /* conv_discovery_result_e */ result, IntPtr /* void */ userData);
-        }
-
-        internal class ConvManagerHandle : TizenSafeHandle
-        {
-            public ConvManagerHandle() : base()
-            {
-
-            }
-
-            public ConvManagerHandle(IntPtr handle)
-                : base(handle)
-            {
-            }
-
-            public override void Destroy()
-            {
-                var err = ConvManager.ConvDestroy(this.handle);
-                if (err != (int)ConvErrorCode.None)
-                {
-                    Log.Error(ErrorFactory.LogTag, "Failed to destroy conv manager handle");
-                    throw ErrorFactory.GetException(err);
-                }
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git a/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Payload.cs b/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Payload.cs
deleted file mode 100755 (executable)
index 902e5e0..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using System;
-using System.Runtime.InteropServices;
-using Tizen;
-using Tizen.Convergence;
-
-internal static partial class Interop
-{
-    internal static partial class Internal
-    {
-        internal static partial class ConvPayload
-        {
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_create")]
-            internal static extern int Create(out ConvPayloadHandle /* conv_payload_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_destroy")]
-            internal static extern int Destroy(IntPtr /* conv_payload_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_set_string")]
-            internal static extern int SetString(ConvPayloadHandle /* conv_payload_h */ handle, string key, string value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_get_string")]
-            internal static extern int GetString(ConvPayloadHandle /* conv_payload_h */ handle, string key, out IntPtr value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_set_byte")]
-            internal static extern int SetByte(ConvPayloadHandle /* conv_payload_h */ handle, string key, int length, byte[] value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_get_byte")]
-            internal static extern int GetByte(ConvPayloadHandle /* conv_payload_h */ handle, string key, out int length, out IntPtr value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_set_binary")]
-            internal static extern int SetBinary(ConvPayloadHandle /* conv_payload_h */ handle, int length, byte[] value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_payload_get_binary")]
-            internal static extern int GetBinary(ConvPayloadHandle /* conv_payload_h */ handle, out int length, out IntPtr value);
-        }
-
-        internal class ConvPayloadHandle : TizenSafeHandle
-        {
-            private bool _ownsHandle = true;
-
-            public ConvPayloadHandle(): base()
-            {
-
-            }
-
-            public ConvPayloadHandle(IntPtr handle)
-                : base(handle)
-            {
-            }
-
-            public ConvPayloadHandle(IntPtr handle, bool ownsHandle)
-                : base(handle)
-            {
-                _ownsHandle = ownsHandle;
-            }
-
-            public override void Destroy()
-            {
-                if (_ownsHandle && handle != IntPtr.Zero)
-                {
-                    var err = ConvPayload.Destroy(this.handle);
-                    if (err != (int)ConvErrorCode.None)
-                    {
-                        Log.Error(ErrorFactory.LogTag, "Failed to destroy conv payload handle");
-                        throw ErrorFactory.GetException(err);
-                    }
-                }
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git a/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Service.cs b/src/Tizen.Convergence/Interop/Interop.Internal.Conv.Service.cs
deleted file mode 100755 (executable)
index e99233a..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright 2016 by Samsung Electronics, Inc.,
-//
-// This software is the confidential and proprietary information
-// of Samsung Electronics, Inc. ("Confidential Information"). You
-// shall not disclose such Confidential Information and shall use
-// it only in accordance with the terms of the license agreement
-// you entered into with Samsung.
-
-using System;
-using System.Runtime.InteropServices;
-using Tizen;
-using Tizen.Convergence;
-
-internal static partial class Interop
-{
-    internal static partial class Internal
-    {
-        internal enum ServiceType
-        {
-            /// <summary>
-            /// Undefined service
-            /// </summary>
-            None = -1,
-
-            /// <summary>
-            /// App-to-app communication service
-            /// </summary>
-            AppCommunication = 0,
-
-            /// <summary>
-            /// Remote app-control service
-            /// </summary>
-            RemoteAppControl,
-        }
-
-        internal static partial class ConvService
-        {
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_create")]
-            internal static extern int Create(out ConvServiceHandle /* conv_service_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_clone")]
-            internal static extern int Clone(IntPtr /* conv_service_h */ originalHandle, out ConvServiceHandle /* conv_service_h */ targetHandle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_destroy")]
-            internal static extern int Destroy(IntPtr /* conv_service_h */ handle);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_get_property_string")]
-            internal static extern int GetPropertyString(ConvServiceHandle /* conv_service_h */ handle, string key, out IntPtr value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_set_property_string")]
-            internal static extern int SetPropertyString(ConvServiceHandle /* conv_service_h */ handle, string key, string value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_get_type")]
-            internal static extern int GetType(IntPtr /* conv_service_h */ handle, out int /* conv_service_e */ value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_set_type")]
-            internal static extern int SetType(ConvServiceHandle /* conv_service_h */ handle, int /* conv_service_e */ value);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_start")]
-            internal static extern int Start(ConvServiceHandle /* conv_service_h */ handle, ConvChannelHandle channel, ConvPayloadHandle payload);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_read")]
-            internal static extern int Read(ConvServiceHandle /* conv_service_h */ handle, ConvChannelHandle channel, ConvPayloadHandle payload);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_publish")]
-            internal static extern int Publish(ConvServiceHandle /* conv_service_h */ handle, ConvChannelHandle channel, ConvPayloadHandle payload);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_stop")]
-            internal static extern int Stop(ConvServiceHandle /* conv_service_h */ handle, ConvChannelHandle channel, ConvPayloadHandle payload);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_set_listener_cb")]
-            internal static extern int SetListenerCb(ConvServiceHandle /* conv_service_h */ handle, ConvServiceListenerCallback callback, IntPtr /* void */ userData);
-
-            [DllImport(Libraries.Convergence, EntryPoint = "conv_service_unset_listener_cb")]
-            internal static extern int UnsetListenerCb(ConvServiceHandle /* conv_service_h */ handle);
-
-            [UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)]
-            internal delegate void ConvServiceListenerCallback(IntPtr /* conv_service_h */ serviceHandle, IntPtr channelHandle, int error, IntPtr result, IntPtr /* void */ userData);
-        }
-
-        internal class ConvServiceHandle : TizenSafeHandle
-        {
-            public ConvServiceHandle(): base()
-            {
-
-            }
-
-            public ConvServiceHandle(IntPtr handle)
-                : base(handle)
-            {
-            }
-
-            public override void Destroy()
-            {
-                if (handle != IntPtr.Zero)
-                {
-                    var err = ConvService.Destroy(this.handle);
-                    if (err != (int)ConvErrorCode.None)
-                    {
-                        Log.Error(ErrorFactory.LogTag, "Failed to destroy conv service handle");
-                        throw ErrorFactory.GetException(err);
-                    }
-                }
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git a/src/Tizen.Convergence/Interop/Interop.Libc.cs b/src/Tizen.Convergence/Interop/Interop.Libc.cs
deleted file mode 100755 (executable)
index 13c7170..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using System.Runtime.InteropServices;
-
-internal static partial class Interop
-{
-    internal static partial class Libc
-    {
-        [DllImport(Libraries.Libc, EntryPoint = "free", CallingConvention = CallingConvention.Cdecl)]
-        internal static extern int Free(IntPtr ptr);
-    }
-}
diff --git a/src/Tizen.Convergence/Interop/Interop.Libraries.cs b/src/Tizen.Convergence/Interop/Interop.Libraries.cs
deleted file mode 100755 (executable)
index 072ed2f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-internal static partial class Interop
-{
-    /// <summary>
-    /// Wrapper class for maintaining names of dependent native libraries.
-    /// </summary>
-    internal static partial class Libraries
-    {
-        public const string Convergence = "libd2d-conv-manager.so.0";
-        public const string Glib = "libglib-2.0.so.0";
-        public const string Libc = "libc.so.6";
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence.csproj b/src/Tizen.Convergence/Tizen.Convergence.csproj
deleted file mode 100644 (file)
index 7f4584f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-
-  <PropertyGroup>
-    <TargetFramework>netstandard2.0</TargetFramework>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <ProjectReference Include="..\Tizen\Tizen.csproj" />
-    <ProjectReference Include="..\Tizen.Log\Tizen.Log.csproj" />
-  </ItemGroup>
-
-</Project>
diff --git a/src/Tizen.Convergence/Tizen.Convergence.sln b/src/Tizen.Convergence/Tizen.Convergence.sln
deleted file mode 100755 (executable)
index 6468f53..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.26430.12
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Convergence", "Tizen.Convergence.csproj", "{2678DBBD-A00B-45EC-970B-10177D421F37}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen", "..\Tizen\Tizen.csproj", "{7E7B653C-4119-43C6-A753-7FF659836862}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Log", "..\Tizen.Log\Tizen.Log.csproj", "{0860A84B-7FAD-434F-9EEB-D59D0FEC145E}"
-EndProject
-Global
-       GlobalSection(SolutionConfigurationPlatforms) = preSolution
-               Debug|Any CPU = Debug|Any CPU
-               Release|Any CPU = Release|Any CPU
-       EndGlobalSection
-       GlobalSection(ProjectConfigurationPlatforms) = postSolution
-               {2678DBBD-A00B-45EC-970B-10177D421F37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-               {2678DBBD-A00B-45EC-970B-10177D421F37}.Debug|Any CPU.Build.0 = Debug|Any CPU
-               {2678DBBD-A00B-45EC-970B-10177D421F37}.Release|Any CPU.ActiveCfg = Release|Any CPU
-               {2678DBBD-A00B-45EC-970B-10177D421F37}.Release|Any CPU.Build.0 = Release|Any CPU
-               {7E7B653C-4119-43C6-A753-7FF659836862}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-               {7E7B653C-4119-43C6-A753-7FF659836862}.Debug|Any CPU.Build.0 = Debug|Any CPU
-               {7E7B653C-4119-43C6-A753-7FF659836862}.Release|Any CPU.ActiveCfg = Release|Any CPU
-               {7E7B653C-4119-43C6-A753-7FF659836862}.Release|Any CPU.Build.0 = Release|Any CPU
-               {0860A84B-7FAD-434F-9EEB-D59D0FEC145E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-               {0860A84B-7FAD-434F-9EEB-D59D0FEC145E}.Debug|Any CPU.Build.0 = Debug|Any CPU
-               {0860A84B-7FAD-434F-9EEB-D59D0FEC145E}.Release|Any CPU.ActiveCfg = Release|Any CPU
-               {0860A84B-7FAD-434F-9EEB-D59D0FEC145E}.Release|Any CPU.Build.0 = Release|Any CPU
-       EndGlobalSection
-       GlobalSection(SolutionProperties) = preSolution
-               HideSolutionNode = FALSE
-       EndGlobalSection
-EndGlobal
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalAppCommunicationService.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalAppCommunicationService.cs
deleted file mode 100755 (executable)
index 64b5658..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.ComponentModel;
-using Tizen.Internals.Errors;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// The class provides APIs to support App to App communication service which relies on a remote server.
-    /// The initialization and execution of a server app (the app on the side with the Remote Server, e.g. TV) and a client app (e.g. the app on the mobile or wearable device) are slightly different.
-    /// On the server side an instance of the App Communication Service should be created and started by the app. Note, on the client side the service handle shouldn’t be created, but obtained during discovery.
-    /// For more information, refer Tizen D2D convergence specification
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalAppCommunicationService : InternalService
-    {
-        /// <summary>
-        /// The constructor
-        /// </summary>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        public InternalAppCommunicationService() :
-                base(Interop.Internal.ServiceType.AppCommunication)
-        {
-
-        }
-
-        internal InternalAppCommunicationService(IntPtr serviceHandle) :
-                    base(serviceHandle)
-        {
-
-        }
-
-        /// <summary>
-        /// Starts and initiates the service
-        /// </summary>
-        /// <param name="channel">Channel to specify a logical session for the service</param>
-        /// <param name="payload">Contains additional data for start request. Refer D2D Convergence specification for more information</param>
-        /// <privilege>http://tizen.org/privilege/internet</privilege>
-        /// <privilege>http://tizen.org/privilege/bluetooth</privilege>
-        /// <privilege>http://tizen.org/privilege/d2d.datasharing</privilege>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="InvalidOperationException">Thrown when the request is not supported as per Tizen D2D convergence specification </exception>
-        /// <exception cref="ArgumentNullException">Thrown when any of the arugments are null</exception>
-        /// <seealso cref="Service.ServiceEventOccurred"> The result of the request is delivered through this event</seealso>
-        public void Start(InternalChannel channel, InternalPayload payload)
-        {
-            if (channel == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            Interop.Internal.ConvPayloadHandle handle = (payload == null) ? new Interop.Internal.ConvPayloadHandle() : payload._payloadHandle;
-            int ret = Interop.Internal.ConvService.Start(_serviceHandle, channel._channelHandle, handle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Interop: Failed to start app communication service:" + ErrorFacts.GetErrorMessage(ret));
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        /// <summary>
-        /// Reads data from the channel opened on the service
-        /// </summary>
-        /// <param name="channel">Channel representing a logical session on the service</param>
-        /// <param name="payload">Contains additional data for start request. Refer D2D Convergence specification for more information</param>
-        /// <privilege>http://tizen.org/privilege/internet</privilege>
-        /// <privilege>http://tizen.org/privilege/bluetooth</privilege>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="InvalidOperationException">Thrown when the request is not supported as per Tizen D2D convergence specification </exception>
-        /// <exception cref="ArgumentNullException">Thrown when any of the arugments are null</exception>
-        /// <seealso cref="Service.ServiceEventOccurred"> The result of the request is delivered through this event</seealso>
-        public void Read(InternalChannel channel, InternalPayload payload)
-        {
-            if (channel == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            Interop.Internal.ConvPayloadHandle handle = (payload == null) ? new Interop.Internal.ConvPayloadHandle() : payload._payloadHandle;
-            int ret = Interop.Internal.ConvService.Read(_serviceHandle, channel._channelHandle, handle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Interop: Failed to read app communication service:" + ErrorFacts.GetErrorMessage(ret));
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        /// <summary>
-        /// Publishes a message to the remote server application
-        /// </summary>
-        /// <param name="channel">Channel representing a logical session on the service</param>
-        /// <param name="payload">Contains additional data for start request. Refer D2D Convergence specification for more information</param>
-        /// <privilege>http://tizen.org/privilege/internet</privilege>
-        /// <privilege>http://tizen.org/privilege/bluetooth</privilege>
-        /// <privilege>http://tizen.org/privilege/d2d.datasharing</privilege>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="InvalidOperationException">Thrown when the request is not supported as per Tizen D2D convergence specification </exception>
-        /// <exception cref="ArgumentNullException">Thrown when any of the arugments are null</exception>
-        /// <seealso cref="Service.ServiceEventOccurred"> The result of the request is delivered through this event</seealso>
-        public void Publish(InternalChannel channel, InternalPayload payload)
-        {
-            if (channel == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            Interop.Internal.ConvPayloadHandle handle = (payload == null) ? new Interop.Internal.ConvPayloadHandle() : payload._payloadHandle;
-            int ret = Interop.Internal.ConvService.Publish(_serviceHandle, channel._channelHandle, handle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Interop: Failed to publish app communication service:" + ErrorFacts.GetErrorMessage(ret));
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        /// <summary>
-        /// Stops the channel opened on the remote server application
-        /// </summary>
-        /// <param name="channel">Channel representing a logical session on the service</param>
-        /// <param name="payload">Contains additional data for start request. Refer D2D Convergence specification for more information</param>
-        /// <privilege>http://tizen.org/privilege/internet</privilege>
-        /// <privilege>http://tizen.org/privilege/bluetooth</privilege>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="InvalidOperationException">Thrown when the request is not supported as per Tizen D2D convergence specification </exception>
-        /// <exception cref="ArgumentNullException">Thrown when any of the arugments are null</exception>
-        /// <seealso cref="Service.ServiceEventOccurred"> The result of the request is delivered through this event</seealso>
-        public void Stop(InternalChannel channel, InternalPayload payload)
-        {
-            if (channel == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            Interop.Internal.ConvPayloadHandle handle = (payload == null) ? new Interop.Internal.ConvPayloadHandle() : payload._payloadHandle;
-            int ret = Interop.Internal.ConvService.Stop(_serviceHandle, channel._channelHandle, handle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Interop: Failed to start stop communication service:" + ErrorFacts.GetErrorMessage(ret));
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalChannel.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalChannel.cs
deleted file mode 100755 (executable)
index 72b00ec..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.Runtime.InteropServices;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// The Channel class provies a logical session for communicating with AppCommunicationService.
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalChannel : IDisposable
-    {
-        internal Interop.Internal.ConvChannelHandle _channelHandle;
-        internal const string ChannelUriKey = "uri";
-        internal const string ChannelIdKey = "channel_id";
-
-        /// <summary>
-        /// The constructor
-        /// </summary>
-        /// <param name="uri">Uri of the server side app</param>
-        /// <param name="id">Unique identifier</param>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="ArgumentNullException">Throws when the arguments passed are null</exception>
-        public InternalChannel(string uri, string id)
-        {
-            if (uri == null || id == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            int ret = Interop.Internal.ConvChannel.Create(out _channelHandle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create channel");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            ret = Interop.Internal.ConvChannel.SetString(_channelHandle, ChannelUriKey, uri);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create channel");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            ret = Interop.Internal.ConvChannel.SetString(_channelHandle, ChannelIdKey, id);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create channel");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            Uri = uri;
-            Id = id;
-        }
-
-        internal InternalChannel(IntPtr channelHandle)
-        {
-            _channelHandle = new Interop.Internal.ConvChannelHandle(channelHandle, false);
-
-            IntPtr stringPtr = IntPtr.Zero;
-            int ret = Interop.Internal.ConvChannel.GetString(_channelHandle, ChannelUriKey, out stringPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create channel");
-                throw ErrorFactory.GetException(ret);
-            }
-            Uri = Marshal.PtrToStringAnsi(stringPtr);
-            Interop.Libc.Free(stringPtr);
-
-            ret = Interop.Internal.ConvChannel.GetString(_channelHandle, ChannelIdKey, out stringPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create channel");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            Id = Marshal.PtrToStringAnsi(stringPtr);
-            Interop.Libc.Free(stringPtr);
-        }
-
-        /// <summary>
-        /// Uri of the server side app
-        /// </summary>
-        public string Uri { get; }
-
-        /// <summary>
-        /// Unique identifier
-        /// </summary>
-        public string Id { get; }
-
-        /// <summary>
-        /// The dispose method
-        /// </summary>
-        public void Dispose()
-        {
-            _channelHandle.Dispose();
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalDevice.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalDevice.cs
deleted file mode 100755 (executable)
index 0676fca..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.Collections.Generic;
-using System.Runtime.InteropServices;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// The class encapsulates a D2D convergence compliant device information
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalDevice : IDisposable
-    {
-        internal const string DeviceIdKey = "device_id";
-        internal const string DeviceNameKey = "device_name";
-        internal const string DeviceTypeKey = "device_type";
-        internal Interop.Internal.ConvDeviceHandle _deviceHandle;
-        internal List<InternalService> _services = new List<InternalService>();
-
-        /// <summary>
-        /// The Unique ID of the device
-        /// </summary>
-        public string Id { get;}
-
-        /// <summary>
-        /// Name of the device
-        /// </summary>
-        public string Name { get;}
-
-        /// <summary>
-        /// The profile of the device
-        /// </summary>
-        public string Type { get; }
-
-        /// <summary>
-        /// List of services supported by the device
-        /// </summary>
-        public IEnumerable<InternalService> Services
-        {
-            get
-            {
-                return _services;
-            }
-        }
-
-        internal InternalDevice(IntPtr deviceHandle)
-        {
-            int ret = Interop.Internal.ConvDevice.Clone(deviceHandle, out _deviceHandle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to clone device");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            IntPtr stringPtr = IntPtr.Zero;
-            ret = Interop.Internal.ConvDevice.GetPropertyString(_deviceHandle, DeviceIdKey, out stringPtr);
-            if (ret == (int)ConvErrorCode.None)
-            {
-                Id = Marshal.PtrToStringAnsi(stringPtr);
-                Interop.Libc.Free(stringPtr);
-            }
-
-            ret = Interop.Internal.ConvDevice.GetPropertyString(_deviceHandle, DeviceNameKey, out stringPtr);
-            if (ret == (int)ConvErrorCode.None)
-            {
-                Name = Marshal.PtrToStringAnsi(stringPtr);
-                Interop.Libc.Free(stringPtr);
-            }
-
-            ret = Interop.Internal.ConvDevice.GetPropertyString(_deviceHandle, DeviceTypeKey, out stringPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Type = Marshal.PtrToStringAnsi(stringPtr);
-                Interop.Libc.Free(stringPtr);
-            }
-
-            Log.Debug(ErrorFactory.LogTag, "Device ID ,Name, and Type:[" + Id +"," + Name +"," + Type +"]");
-
-            Interop.Internal.ConvDevice.ConvServiceForeachCallback cb = (IntPtr serviceHandle, IntPtr userData) =>
-            {
-                    _services.Add(InternalService.GetService(serviceHandle));
-            };
-
-            ret = Interop.Internal.ConvDevice.ForeachService(_deviceHandle, cb, IntPtr.Zero);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to get device services");
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        /// <summary>
-        /// The dispose method
-        /// </summary>
-        public void Dispose()
-        {
-            _deviceHandle.Dispose();
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalDeviceFinder.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalDeviceFinder.cs
deleted file mode 100755 (executable)
index aea5f89..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using Tizen;
-using System.Threading;
-using System.Threading.Tasks;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// DeviceFinder provides API to find all nearby Tizen D2D convergence compliant devices
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalDeviceFinder : IDisposable
-    {
-        internal Interop.Internal.ConvManagerHandle _convManagerHandle;
-
-        /// <summary>
-        /// The constructor
-        /// </summary>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        public InternalDeviceFinder()
-        {
-            int ret = Interop.Internal.ConvManager.ConvCreate(out _convManagerHandle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create conv manager handle");
-                throw ErrorFactory.GetException(ret);
-            }
-
-        }
-
-        /// <summary>
-        /// DeviceFound event is triggered when a device is found during discovery procedure
-        /// </summary>
-        public event EventHandler<InternalDeviceFoundEventArgs> DeviceFound;
-
-        /// <summary>
-        /// Starts the discovery of nearby devices
-        /// </summary>
-        /// <param name="timeOut">Seconds for discovery timeout. 0 will use default timeout value</param>
-        /// <param name="cancellationToken">Cancellation token required to cancel the current discovery</param>
-        /// <privilege>http://tizen.org/privilege/internet</privilege>
-        /// <privilege>http://tizen.org/privilege/bluetooth</privilege>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="InvalidOperationException">Thrown when the request is not supported as per Tizen D2D convergence specification </exception>
-        /// <seealso cref="DeviceFound"> Devices found are delivered through this event</seealso>
-        /// <returns>Task with discovery result</returns>
-        public async Task StartFindingAsync(int timeOut, CancellationToken cancellationToken = default(CancellationToken))
-        {
-            var task = new TaskCompletionSource<bool>();
-            Interop.Internal.ConvManager.ConvDiscoveryCallback discoveredCb = (IntPtr deviceHandle, Interop.Internal.ConvDiscoveryResult result, IntPtr userData) =>
-            {
-                Log.Debug(ErrorFactory.LogTag, "discovery callback called with result:[" + result + "]");
-                switch (result)
-                {
-                    case Interop.Internal.ConvDiscoveryResult.Success:
-                        {
-                            InternalDevice device = new InternalDevice(deviceHandle);
-                            InternalDeviceFoundEventArgs deviceFoundEventArgs = new InternalDeviceFoundEventArgs()
-                            {
-                                Device = device
-                            };
-                            DeviceFound?.Invoke(this, deviceFoundEventArgs);
-                            break;
-                        }
-                    case Interop.Internal.ConvDiscoveryResult.Error:
-                        {
-                            task.TrySetException(new InvalidOperationException("Discovery error occured"));
-                            break;
-                        }
-                    case Interop.Internal.ConvDiscoveryResult.Lost:
-                        {
-                            task.TrySetException(new InvalidOperationException("Discovery Lost"));
-                            break;
-                        }
-                    case Interop.Internal.ConvDiscoveryResult.Finished:
-                        {
-                            Log.Debug(ErrorFactory.LogTag, "discovery process finished");
-                            task.TrySetResult(true);
-                            break;
-                        }
-                }
-            };
-            int ret = Interop.Internal.ConvManager.ConvDiscoveryStart(_convManagerHandle, timeOut, discoveredCb, IntPtr.Zero);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to start finding devices");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            if (cancellationToken != CancellationToken.None)
-            {
-                cancellationToken.Register(() =>
-                {
-                    int error = Interop.Internal.ConvManager.ConvDiscoveryStop(_convManagerHandle);
-                    if (error != (int)ConvErrorCode.None)
-                    {
-                        Log.Error(ErrorFactory.LogTag, "Failed to stop finding devices" + Internals.Errors.ErrorFacts.GetErrorMessage(error));
-                        throw ErrorFactory.GetException(error);
-                    }
-                    task.TrySetCanceled();
-                });
-            }
-            await task.Task;
-        }
-
-        /// <summary>
-        /// The dispose method
-        /// </summary>
-        public void Dispose()
-        {
-            _convManagerHandle.Dispose();
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalDeviceFoundEventArgs.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalDeviceFoundEventArgs.cs
deleted file mode 100755 (executable)
index 60c3df0..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// Contains arguments for the event DeviceFound.
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalDeviceFoundEventArgs : EventArgs
-    {
-        internal InternalDeviceFoundEventArgs() { }
-
-        /// <summary>
-        /// The device found
-        /// </summary>
-        public InternalDevice Device { get; internal set; }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalErrorFactory.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalErrorFactory.cs
deleted file mode 100755 (executable)
index 8954997..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System;
-using Tizen.Internals.Errors;
-using System.Threading.Tasks;
-using System.Threading;
-
-namespace Tizen.Convergence
-{
-    internal enum ConvErrorCode
-    {
-        None = ErrorCode.None,
-        OutOfMemory = ErrorCode.OutOfMemory,
-        InvalidParameter = ErrorCode.InvalidParameter,
-        InvalidOperation = ErrorCode.InvalidOperation,
-        NoData = ErrorCode.NoData,
-        NotSupported = ErrorCode.NotSupported,
-        PermissionDenied = ErrorCode.PermissionDenied,
-    }
-
-    internal class ErrorFactory
-    {
-        internal static string LogTag = "Tizen.Convergence";
-
-        internal static Exception GetException(int error)
-        {
-            if ((ConvErrorCode)error == ConvErrorCode.OutOfMemory)
-            {
-                return new OutOfMemoryException("Out of memory");
-            }
-            else if ((ConvErrorCode)error == ConvErrorCode.InvalidParameter)
-            {
-                return new ArgumentException("Invalid parameter");
-            }
-            else if ((ConvErrorCode)error == ConvErrorCode.InvalidOperation)
-            {
-                return new InvalidOperationException("Invalid operation");
-            }
-            else if ((ConvErrorCode)error == ConvErrorCode.NotSupported)
-            {
-                return new NotSupportedException("Unsupported feature http://tizen.org/feature/convergence.d2d");
-            }
-            else if ((ConvErrorCode)error == ConvErrorCode.PermissionDenied)
-            {
-                return new UnauthorizedAccessException("Permission denied. (http://tizen.org/privilege/internet, http://tizen.org/privilege/bluetooth, http://tizen.org/privilege/d2d.datasharing)");
-            }
-            else if ((ConvErrorCode)error == ConvErrorCode.NoData)
-            {
-                return new InvalidOperationException("The payload is empty");
-            }
-            else
-            {
-                return new Exception("Unknown error");
-            }
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalPayload.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalPayload.cs
deleted file mode 100755 (executable)
index d5df0a8..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.Runtime.InteropServices;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// Represents a payload used in Tizen D2D convergence
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalPayload : IDisposable
-    {
-        internal Interop.Internal.ConvPayloadHandle _payloadHandle;
-
-        /// <summary>
-        /// The constructor
-        /// </summary>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        public InternalPayload()
-        {
-            int ret = Interop.Internal.ConvPayload.Create(out _payloadHandle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create payload");
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        internal InternalPayload(IntPtr payloadHandle)
-        {
-            _payloadHandle = new Interop.Internal.ConvPayloadHandle(payloadHandle, false);
-        }
-
-        /// <summary>
-        /// Adds a key-value pair to payload
-        /// </summary>
-        /// <param name="key">The key of the attribute</param>
-        /// <param name="value">The value of the attribute</param>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="ArgumentNullException">Thrown if the arguments passed are null </exception>
-        public void Set(string key, string value)
-        {
-            if(key == null || value == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            int ret = 0;
-            if (value is string)
-            {
-                ret = Interop.Internal.ConvPayload.SetString(_payloadHandle, key, value);
-                if (ret != (int)ConvErrorCode.None)
-                {
-                    Log.Error(ErrorFactory.LogTag, "Failed to add string to payload");
-                    throw ErrorFactory.GetException(ret);
-                }
-            }
-        }
-
-        /// <summary>
-        /// Adds a key-value pair to payload
-        /// </summary>
-        /// <param name="key">The key of the attribute</param>
-        /// <param name="value">The value of the attribute</param>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="ArgumentNullException">Thrown if the arguments passed are null </exception>
-        public void Set(string key, byte[] value)
-        {
-            if (key == null || value == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            int ret = 0;
-            ret = Interop.Internal.ConvPayload.SetByte(_payloadHandle, key, value.Length, value);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to add string to payload");
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-
-        /// <summary>
-        /// Sets binary to payload.
-        /// </summary>
-        /// <param name="value">The binary to set</param>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="ArgumentNullException">Thrown if the arguments passed are null </exception>
-        public void Set(byte[] value)
-        {
-            if (value == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            int ret = 0;
-            ret = Interop.Internal.ConvPayload.SetBinary(_payloadHandle, value.Length, value);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to add binary to payload");
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        /// <summary>
-        /// Gets the value of the key from payload
-        /// </summary>
-        /// <param name="key">The key of the attribute</param>
-        /// <param name="value">The value of the attribute</param>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="ArgumentNullException">Thrown if the arguments passed are null </exception>
-        /// <exception cref="ArgumentException">Thrown if the key is not found </exception>
-        public void Get(string key, out string value)
-        {
-            if (key == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            IntPtr stringPtr = IntPtr.Zero;
-            int ret = 0;
-            ret = Interop.Internal.ConvPayload.GetString(_payloadHandle, key, out stringPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to add string to payload");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            value = Marshal.PtrToStringAnsi(stringPtr);
-            Interop.Libc.Free(stringPtr);
-        }
-
-        /// <summary>
-        /// Gets the value of the key from payload
-        /// </summary>
-        /// <param name="key">The key of the attribute</param>
-        /// <param name="value">The value of the attribute</param>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        /// <exception cref="ArgumentNullException">Thrown if the arguments passed are null </exception>
-        /// <exception cref="ArgumentException">Thrown if the key is not found </exception>
-        public void Get(string key, out byte[] value)
-        {
-            if (key == null)
-            {
-                throw new ArgumentNullException();
-            }
-
-            int ret = 0;
-            IntPtr byteArrayPtr;
-            int byteArraySize;
-            ret = Interop.Internal.ConvPayload.GetByte(_payloadHandle, key, out byteArraySize, out byteArrayPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to add string to payload");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            byte[] byteArray = new byte[byteArraySize];
-            Marshal.Copy(byteArrayPtr, byteArray, 0, byteArraySize);
-            value = byteArray;
-            Interop.Libc.Free(byteArrayPtr);
-        }
-
-        /// <summary>
-        /// Gets binary from payload
-        /// </summary>
-        /// <param name="value">The result value</param>
-        /// <feature>http://tizen.org/feature/convergence.d2d</feature>
-        /// <exception cref="NotSupportedException">Thrown if the required feature is not supported.</exception>
-        public void Get(out byte[] value)
-        {
-            int ret = 0;
-            IntPtr byteArrayPtr;
-            int byteArraySize;
-            ret = Interop.Internal.ConvPayload.GetBinary(_payloadHandle, out byteArraySize, out byteArrayPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to get binary from payload");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            byte[] byteArray = new byte[byteArraySize];
-            Marshal.Copy(byteArrayPtr, byteArray, 0, byteArraySize);
-            value = byteArray;
-            Interop.Libc.Free(byteArrayPtr);
-        }
-
-        /// <summary>
-        /// The dispose method
-        /// </summary>
-        public void Dispose()
-        {
-            _payloadHandle.Dispose();
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalService.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalService.cs
deleted file mode 100755 (executable)
index 6740231..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.Runtime.InteropServices;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// The class abstracts the features provided by Tizen D2D Convergence.
-    /// </summary>
-    /// <seealso cref="AppCommunicationService"/>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public abstract class InternalService : IDisposable
-    {
-        internal Interop.Internal.ConvServiceHandle _serviceHandle;
-        internal const string ServiceIdKey = "service_id";
-        internal const string ServiceVersionKey = "service_version";
-
-        private event EventHandler<InternalServiceEventOccuredEventArgs> _serviceEventOccured;
-
-        internal InternalService(Interop.Internal.ServiceType type)
-        {
-            int ret = Interop.Internal.ConvService.Create(out _serviceHandle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create service handle");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            ret = Interop.Internal.ConvService.SetType(_serviceHandle, (int)type);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to create service handle");
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        internal InternalService(IntPtr existingServiceHandle)
-        {
-            int ret = Interop.Internal.ConvService.Clone(existingServiceHandle, out _serviceHandle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to clone device");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            IntPtr stringPtr = IntPtr.Zero;
-            ret = Interop.Internal.ConvService.GetPropertyString(_serviceHandle, ServiceIdKey, out stringPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to get service Id");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            Id = Marshal.PtrToStringAnsi(stringPtr);
-            Interop.Libc.Free(stringPtr);
-
-            ret = Interop.Internal.ConvService.GetPropertyString(_serviceHandle, ServiceVersionKey, out stringPtr);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to get service version");
-                throw ErrorFactory.GetException(ret);
-            }
-
-            Version = Marshal.PtrToStringAnsi(stringPtr);
-            Interop.Libc.Free(stringPtr);
-        }
-
-        /// <summary>
-        /// The ID of the service
-        /// </summary>
-        public string Id { get; }
-
-        /// <summary>
-        /// The Version of the service
-        /// </summary>
-        public string Version { get; }
-
-        /// <summary>
-        /// The event handler for Service Events(Start/Publish/Read/Stop)
-        /// </summary>
-        public event EventHandler<InternalServiceEventOccuredEventArgs> ServiceEventOccurred
-        {
-            add
-            {
-                if (_serviceEventOccured == null)
-                {
-                    RegisterServiceEventListener();
-                }
-                _serviceEventOccured += value;
-            }
-            remove
-            {
-                _serviceEventOccured -= value;
-                if (_serviceEventOccured == null)
-                {
-                    UnregisterServiceEventListener();
-                }
-            }
-        }
-
-        /// <summary>
-        /// The event handler for service error events
-        /// </summary>
-        public event EventHandler<InternalServiceErrorOccuredEventArgs> ServiceErrorOccured;
-
-        /// <summary>
-        /// The dispose method
-        /// </summary>
-        public void Dispose()
-        {
-            _serviceHandle.Dispose();
-        }
-
-        internal static InternalService GetService(IntPtr serviceHandle)
-        {
-            InternalService service = null;
-            int serviceType;
-            int ret = Interop.Internal.ConvService.GetType(serviceHandle, out serviceType);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to get service version");
-                throw ErrorFactory.GetException(ret);
-            }
-            if (serviceType == (int)Interop.Internal.ServiceType.AppCommunication)
-            {
-                service = new InternalAppCommunicationService(serviceHandle);
-            }
-
-            return service;
-        }
-
-        private void RegisterServiceEventListener()
-        {
-            int ret = Interop.Internal.ConvService.SetListenerCb(_serviceHandle, serviceEventsCb, IntPtr.Zero);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to set listener for service events");
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        private void UnregisterServiceEventListener()
-        {
-            int ret = Interop.Internal.ConvService.UnsetListenerCb(_serviceHandle);
-            if (ret != (int)ConvErrorCode.None)
-            {
-                Log.Error(ErrorFactory.LogTag, "Failed to unset listener for service events");
-                throw ErrorFactory.GetException(ret);
-            }
-        }
-
-        private void serviceEventsCb(IntPtr serviceHandle, IntPtr channelHandle, int error, IntPtr resultPayloadHandle, IntPtr userData)
-        {
-            Log.Debug(ErrorFactory.LogTag, "service event occured. error code :[" + error + "]");
-
-            if (error == (int)ConvErrorCode.None)
-            {
-                var channel = (channelHandle == IntPtr.Zero) ? null : new InternalChannel(channelHandle);
-                var payload = (resultPayloadHandle == IntPtr.Zero) ? null : new InternalPayload(resultPayloadHandle);
-                _serviceEventOccured?.Invoke(this, new InternalServiceEventOccuredEventArgs()
-                {
-                    Payload = payload,
-                    Channel = channel
-                });
-            }
-            else
-            {
-                var eventArgs = new InternalServiceErrorOccuredEventArgs()
-                {
-                    Exception = ErrorFactory.GetException(error)
-                };
-                ServiceErrorOccured?.Invoke(this, eventArgs);
-            }
-        }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalServiceErrorOccuredEventArgs.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalServiceErrorOccuredEventArgs.cs
deleted file mode 100755 (executable)
index 104a05b..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// Contains arguments for the event ServiceErrorOccured.
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalServiceErrorOccuredEventArgs : EventArgs
-    {
-        internal InternalServiceErrorOccuredEventArgs() { }
-
-        /// <summary>
-        /// The exception
-        /// </summary>
-        public Exception Exception { get; internal set; }
-    }
-}
diff --git a/src/Tizen.Convergence/Tizen.Convergence/InternalServiceEventOccuredEventArgs.cs b/src/Tizen.Convergence/Tizen.Convergence/InternalServiceEventOccuredEventArgs.cs
deleted file mode 100755 (executable)
index e07c9e3..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-using System;
-using System.ComponentModel;
-
-namespace Tizen.Convergence
-{
-    /// <summary>
-    /// Contains arguments for ServiceEventOccured
-    /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
-    public class InternalServiceEventOccuredEventArgs : EventArgs
-    {
-        internal InternalServiceEventOccuredEventArgs() { }
-
-        /// <summary>
-        /// The channel on which the event occured
-        /// </summary>
-        public InternalChannel Channel { get; internal set; }
-
-        /// <summary>
-        /// The payload containing the result
-        /// </summary>
-        public InternalPayload Payload { get; internal set; }
-    }
-}
index 42e91c1..6960e7f 100644 (file)
@@ -4,4 +4,5 @@
 /// <remarks>
 /// The Tizen.PhonenumberUtils namespace provides a class for parsing, formatting and normalizing phone numbers.
 /// </remarks>
+/// <since_tizen> 4 </since_tizen>
 namespace Tizen.PhonenumberUtils {}
index c410568..9368f8c 100644 (file)
@@ -21,10 +21,18 @@ namespace Tizen.PhonenumberUtils
     /// <summary>
     /// The PhonenumberUtils class provides methods for parsing, formatting and normalizing phone numbers.
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class PhonenumberUtils : IDisposable
     {
         private bool disposed = false;
 
+        /// <summary>
+        /// Creates a PhonenumberUtils.
+        /// </summary>
+        /// <feature>http://tizen.org/feature/network.telephony</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public PhonenumberUtils()
         {
             int ret;
@@ -46,6 +54,7 @@ namespace Tizen.PhonenumberUtils
         /// Releases all resources used by the PhonenumberUtils.
         /// It should be called after finished using of the object.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -74,10 +83,12 @@ namespace Tizen.PhonenumberUtils
         /// <param name="region">The region of number</param>
         /// <param name="language">The language of location</param>
         /// <returns>The location string</returns>
+        /// <feature>http://tizen.org/feature/network.telephony</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when phonenumber-utils is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when input coordinates are invalid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         public string GetLocationFromNumber(string number, Region region, Language language)
         {
             int ret;
@@ -99,10 +110,12 @@ namespace Tizen.PhonenumberUtils
         /// <param name="number">The number</param>
         /// <param name="region">The region of number</param>
         /// <returns>The formatted number string</returns>
+        /// <feature>http://tizen.org/feature/network.telephony</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when phonenumber-utils is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when input coordinates are invalid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         public string GetFormattedNumber(string number, Region region)
         {
             int ret;
@@ -126,7 +139,7 @@ namespace Tizen.PhonenumberUtils
         /// <privilege>http://tizen.org/privilege/telephony</privilege>
         /// <feature>http://tizen.org/feature/network.telephony</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when phonenumber-utils is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when input coordinates are invalid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
@@ -134,6 +147,7 @@ namespace Tizen.PhonenumberUtils
         /// Normalized number starts with plus('+') and country code, and excludes the separators such as dash or space.
         /// It is a format of E.164 standard including the country code based on current network.
         /// </remarks>
+        /// <since_tizen> 4 </since_tizen>
         public string GetNormalizedNumber(string number)
         {
             int ret;
index 8710866..b1294cf 100644 (file)
@@ -19,6 +19,7 @@ namespace Tizen.PhonenumberUtils
     /// <summary>
     /// Enumeration for language type.
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public enum Language
     {
         /// <summary>
@@ -144,13 +145,13 @@ namespace Tizen.PhonenumberUtils
         /// <summary>
         /// Current System Value
         /// </summary>
-        System,
-        Max
+        System
     }
 
     /// <summary>
     /// Enumeration for region type.
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public enum Region
     {
         /// <summary>
@@ -1132,7 +1133,6 @@ namespace Tizen.PhonenumberUtils
         /// <summary>
         /// Current System Value
         /// </summary>
-        System,
-        Max
+        System
     }
 }
index b5a529b..4693574 100644 (file)
@@ -28,6 +28,7 @@ namespace Tizen.Pims.Contacts
     /// <remarks>
     /// This class allows user to access/create/update db operations for contacts information.
     /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
     public class ContactsDatabase
     {
         private Object thisLock = new Object();
@@ -44,6 +45,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Enumeration for contacts database status.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public enum DBStatus
         {
             /// <summary>
@@ -59,6 +61,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Enumeration for Contacts search range.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         [Flags]
         public enum SearchRanges
         {
@@ -87,6 +90,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Occurs when contacts database status is changed.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public event EventHandler<DBStatusChangedEventArgs> DBStatusChanged
         {
             add
@@ -139,6 +143,7 @@ namespace Tizen.Pims.Contacts
         /// The current contacts database version.
         /// </summary>
         /// <value>The current contacts database version.</value>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public int Version
         {
@@ -158,6 +163,7 @@ namespace Tizen.Pims.Contacts
         /// The last successful changed contacts database version on the current connection.
         /// </summary>
         /// <value>The last successful changed contacts database version on the current connection.</value>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public int LastChangeVersion
         {
@@ -177,6 +183,7 @@ namespace Tizen.Pims.Contacts
         /// The contacts database status.
         /// </summary>
         /// <value>The contacts database status.</value>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public DBStatus Status
         {
@@ -199,11 +206,13 @@ namespace Tizen.Pims.Contacts
         /// <returns>The ID of inserted record</returns>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public int Insert(ContactsRecord record)
         {
@@ -224,11 +233,13 @@ namespace Tizen.Pims.Contacts
         /// <returns>The inserted record ID array</returns>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public int[] Insert(ContactsList list)
         {
@@ -255,11 +266,13 @@ namespace Tizen.Pims.Contacts
         /// <returns>The record associated with the record ID</returns>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsRecord Get(string viewUri, int recordId)
@@ -280,11 +293,13 @@ namespace Tizen.Pims.Contacts
         /// <param name="record">The record to update</param>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public void Update(ContactsRecord record)
         {
@@ -302,11 +317,13 @@ namespace Tizen.Pims.Contacts
         /// <param name="list">The record list</param>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public void Update(ContactsList list)
         {
@@ -325,11 +342,13 @@ namespace Tizen.Pims.Contacts
         /// <param name="recordId">The record ID to delete</param>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public void Delete(string viewUri, int recordId)
@@ -349,11 +368,13 @@ namespace Tizen.Pims.Contacts
         /// <param name="idArray">The record IDs to delete</param>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public void Delete(string viewUri, int[] idArray)
@@ -373,11 +394,13 @@ namespace Tizen.Pims.Contacts
         /// <param name="recordId">the record ID to be replaced</param>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public void Replace(ContactsRecord record, int recordId)
         {
@@ -396,11 +419,13 @@ namespace Tizen.Pims.Contacts
         /// <param name="idArray">The record IDs to be replaced</param>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.write</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public void Replace(ContactsList list, int[] idArray)
         {
@@ -423,11 +448,13 @@ namespace Tizen.Pims.Contacts
         /// </returns>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsList GetAll(string viewUri, int offset, int limit)
@@ -453,11 +480,13 @@ namespace Tizen.Pims.Contacts
         /// </returns>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
         /// <privilege>http://tizen.org/privilege/callhistory.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public ContactsList GetRecordsWithQuery(ContactsQuery query, int offset, int limit)
         {
@@ -482,11 +511,13 @@ namespace Tizen.Pims.Contacts
         /// The record list
         /// </returns>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsList GetChangesByVersion(string viewUri, int addressBookId, int contactsDBVersion, out int currentDBVersion)
@@ -514,6 +545,13 @@ namespace Tizen.Pims.Contacts
         /// <param name="limit">The number to limit results(value 0 is used for get all records)</param>
         /// <returns>The record list</returns>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsList Search(string viewUri, string keyword, int offset, int limit)
@@ -540,6 +578,14 @@ namespace Tizen.Pims.Contacts
         /// <param name="offset">The index from which to get results</param>
         /// <param name="limit">The number to limit results(value 0 used for get all records)</param>
         /// <returns>The record list</returns>
+        /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public ContactsList Search(ContactsQuery query, string keyword, int offset, int limit)
         {
@@ -566,6 +612,14 @@ namespace Tizen.Pims.Contacts
         /// <param name="limit">The number to limit results(value 0 is used for get all records)</param>
         /// <param name="range">The search range, it should be a element of SearchRange or bitwise OR operation of them</param>
         /// <returns>The record list</returns>
+        /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsList Search(string viewUri, string keyword, int offset, int limit, int range)
@@ -596,6 +650,14 @@ namespace Tizen.Pims.Contacts
         /// <param name="endMatch">The text which is inserted into the fragment after the keyword(If NULL, default is "]")</param>
         /// <param name="tokenNumber">The one side extra number of tokens near keyword(If negative value, full sentence is printed. e.g. if token number is 3 with 'abc' keyword, "my name is [abc]de and my home")</param>
         /// <returns>The record list</returns>
+        /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsList Search(string viewUri, string keyword, int offset, int limit, string startMatch, string endMatch, int tokenNumber)
@@ -626,6 +688,14 @@ namespace Tizen.Pims.Contacts
         /// <param name="endMatch">The text which is inserted into the fragment after the keyword(If NULL, default is "]")</param>
         /// <param name="tokenNumber">The one side extra number of tokens near keyword(If negative value, full sentence is printed. e.g. if token number is 3 with 'abc' keyword, "my name is [abc]de and my home")</param>
         /// <returns>The record list</returns>
+        /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public ContactsList Search(ContactsQuery query, string keyword, int offset, int limit, string startMatch, string endMatch, int tokenNumber)
         {
@@ -656,6 +726,14 @@ namespace Tizen.Pims.Contacts
         /// <param name="endMatch">The text which is inserted into the fragment after the keyword(If NULL, default is "]")</param>
         /// <param name="tokenNumber">The one side extra number of tokens near keyword(If negative value, full sentence is printed. e.g. if token number is 3 with 'abc' keyword, "my name is [abc]de and my home")</param>
         /// <returns>The record list</returns>
+        /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsList Search(string viewUri, string keyword, int offset, int limit, int range, string startMatch, string endMatch, int tokenNumber)
@@ -675,6 +753,7 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="viewUri">The view URI</param>
         /// <returns>The count of records</returns>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public int GetCount(string viewUri)
@@ -694,6 +773,7 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="query">The query used for filtering the results</param>
         /// <returns>The count of records</returns>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public int GetCount(ContactsQuery query)
         {
@@ -712,6 +792,15 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="viewUri">The view URI of records whose changes are monitored</param>
         /// <param name="DBChanged">The EventHandler to register</param>
+        /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <privilege>http://tizen.org/privilege/callhistory.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public void AddDBChangedEventHandler(string viewUri, EventHandler<DBChangedEventArgs> DBChanged)
         {
@@ -732,7 +821,7 @@ namespace Tizen.Pims.Contacts
             }
 
             EventHandler<DBChangedEventArgs> handler = null;
-            if (!_eventHandlerMap.TryGetValue(viewUri, out handler))  
+            if (!_eventHandlerMap.TryGetValue(viewUri, out handler))
                 _eventHandlerMap.Add(viewUri, null);
 
             _eventHandlerMap[viewUri] = handler + DBChanged;
@@ -743,6 +832,12 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="viewUri">The view URI of records whose changes are monitored</param>
         /// <param name="DBChanged">The EventHandler to deregister</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public void RemoveDBChangedEventHandler(string viewUri, EventHandler<DBChangedEventArgs> DBChanged)
         {
index 826a73c..06a620e 100644 (file)
@@ -22,6 +22,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// A filter includes the conditions for the search
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class ContactsFilter:IDisposable
     {
         internal IntPtr _filterHandle;
@@ -33,9 +34,11 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsFilter(string viewUri, uint propertyId, StringMatchType matchType, string matchValue)
         {
@@ -62,9 +65,11 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsFilter(string viewUri, uint propertyId, IntegerMatchType matchType, int matchValue)
         {
@@ -91,9 +96,11 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsFilter(string viewUri, uint propertyId, IntegerMatchType matchType, long matchValue)
         {
@@ -120,9 +127,11 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsFilter(string viewUri, uint propertyId, IntegerMatchType matchType, double matchValue)
         {
@@ -148,9 +157,11 @@ namespace Tizen.Pims.Contacts
         /// <param name="viewUri">The view URI of a filter</param>
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsFilter(string viewUri, uint propertyId, bool matchValue)
         {
@@ -173,6 +184,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Destructor
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         ~ContactsFilter()
         {
             Dispose(false);
@@ -181,6 +193,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Enumeration for the filter match type of a string.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public enum StringMatchType
         {
             /// <summary>
@@ -212,6 +225,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Enumeration for the filter match type of an integer.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public enum IntegerMatchType
         {
             /// <summary>
@@ -247,6 +261,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Enumeration for a filter operator.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public enum LogicalOperator
         {
             /// <summary>
@@ -266,6 +281,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsFilter.
         /// </summary>
         /// <param name="disposing">Disposing by User</param>
+        /// <since_tizen> 4 </since_tizen>
         protected virtual void Dispose(bool disposing)
         {
             if (disposing)
@@ -291,6 +307,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsFilter.
         /// It should be called after finished using of the object.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -305,8 +322,10 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddCondition(LogicalOperator logicalOperator, uint propertyId, StringMatchType matchType, string matchValue)
         {
             int error = Interop.Filter.ContactsFilterAddOperator(_filterHandle, logicalOperator);
@@ -331,8 +350,10 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddCondition(LogicalOperator logicalOperator, uint propertyId, IntegerMatchType matchType, int matchValue)
         {
             int error = Interop.Filter.ContactsFilterAddOperator(_filterHandle, logicalOperator);
@@ -357,8 +378,10 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddCondition(LogicalOperator logicalOperator, uint propertyId, IntegerMatchType matchType, long matchValue)
         {
             int error = Interop.Filter.ContactsFilterAddOperator(_filterHandle, logicalOperator);
@@ -383,8 +406,10 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchType">The match flag</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddCondition(LogicalOperator logicalOperator, uint propertyId, IntegerMatchType matchType, double matchValue)
         {
             int error = Interop.Filter.ContactsFilterAddOperator(_filterHandle, logicalOperator);
@@ -408,8 +433,10 @@ namespace Tizen.Pims.Contacts
         /// <param name="logicalOperator">The operator type</param>
         /// <param name="propertyId">The property ID to add a condition</param>
         /// <param name="matchValue">The match value</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddCondition(LogicalOperator logicalOperator, uint propertyId, bool matchValue)
         {
             int error = Interop.Filter.ContactsFilterAddOperator(_filterHandle, logicalOperator);
@@ -432,8 +459,10 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="logicalOperator">The operator type</param>
         /// <param name="filter">The child filter</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddFilter(LogicalOperator logicalOperator, ContactsFilter filter)
         {
             int error = Interop.Filter.ContactsFilterAddOperator(_filterHandle, logicalOperator);
index fc62de1..577bd69 100644 (file)
@@ -21,6 +21,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// A list of records with the same type
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class ContactsList:IDisposable
     {
         private Int64 _memoryPressure = 20;
@@ -43,8 +44,10 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Creates a contacts record list.
         /// </summary>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         public ContactsList()
         {
             int error = Interop.List.ContactsListCreate(out _listHandle);
@@ -59,6 +62,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Destructor
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         ~ContactsList()
         {
             Dispose(false);
@@ -68,6 +72,7 @@ namespace Tizen.Pims.Contacts
         /// The count of contact entity.
         /// </summary>
         /// <value>The count of contact entity.</value>
+        /// <since_tizen> 4 </since_tizen>
         public int Count
         {
             get
@@ -89,6 +94,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsList.
         /// </summary>
         /// <param name="disposing">Disposing by User</param>
+        /// <since_tizen> 4 </since_tizen>
         protected virtual void Dispose(bool disposing)
         {
             if (disposing)
@@ -115,6 +121,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsList.
         /// It should be called after finished using of the object.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -126,8 +133,10 @@ namespace Tizen.Pims.Contacts
         /// Adds a record to the contacts list.
         /// </summary>
         /// <param name="record">The record to add</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddRecord(ContactsRecord record)
         {
             int error = Interop.List.ContactsListAdd(_listHandle, record._recordHandle);
@@ -144,8 +153,10 @@ namespace Tizen.Pims.Contacts
         /// Removes a record from the contacts list.
         /// </summary>
         /// <param name="record">The record to remove</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void RemoveRecord(ContactsRecord record)
         {
             int error = Interop.List.ContactsListRemove(_listHandle, record._recordHandle);
@@ -164,6 +175,9 @@ namespace Tizen.Pims.Contacts
         /// <returns>
         /// contacts record
         /// </returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public ContactsRecord GetCurrentRecord()
         {
             IntPtr handle;
@@ -182,6 +196,9 @@ namespace Tizen.Pims.Contacts
         /// <returns>
         /// When the cursor is already at the first position, it returns false.
         /// </returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public bool MovePrevious()
         {
             int error = Interop.List.ContactsListPrev(_listHandle);
@@ -208,6 +225,9 @@ namespace Tizen.Pims.Contacts
         /// <returns>
         /// When the cursor is already at the last position, it returns false.
         /// </returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public bool MoveNext()
         {
             int error = Interop.List.ContactsListNext(_listHandle);
@@ -231,6 +251,9 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Moves a contacts list to the first position.
         /// </summary>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void MoveFirst()
         {
             int error = Interop.List.ContactsListFirst(_listHandle);
@@ -244,6 +267,9 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Moves a contacts list to the last position.
         /// </summary>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void MoveLast()
         {
             int error = Interop.List.ContactsListLast(_listHandle);
index 903c86f..517988d 100644 (file)
@@ -22,6 +22,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// Enumeration for name display order.
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public enum ContactDisplayOrder
     {
         /// <summary>
@@ -37,6 +38,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// Enumeration for name sorting order.
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public enum ContactSortingOrder
     {
         /// <summary>
@@ -52,6 +54,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// A class for managing contact information. It allows applications to access contacts database.
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class ContactsManager : IDisposable
     {
         private ContactsDatabase _db = null;
@@ -62,7 +65,10 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Creates a ContactsManager.
         /// </summary>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public ContactsManager()
         {
             int error = Interop.Service.Connect();
@@ -77,6 +83,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Destructor
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         ~ContactsManager()
         {
             Dispose(false);
@@ -89,6 +96,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsManager.
         /// </summary>
         /// <param name="disposing">Disposing by User</param>
+        /// <since_tizen> 4 </since_tizen>
         protected virtual void Dispose(bool disposing)
         {
             if (disposing)
@@ -114,6 +122,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsManager.
         /// It should be called after finished using of the object.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -128,6 +137,7 @@ namespace Tizen.Pims.Contacts
         /// (event) NameDisplayOrderChanged is raised when changing setting value of contacts name display order
         /// </summary>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <since_tizen> 4 </since_tizen>
         public event EventHandler<NameDisplayOrderChangedEventArgs> NameDisplayOrderChanged
         {
             add
@@ -178,6 +188,7 @@ namespace Tizen.Pims.Contacts
         /// (event) NameSortingOrderChanged is raised when changing setting value of contacts name sorting order
         /// </summary>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <since_tizen> 4 </since_tizen>
         public event EventHandler<NameSortingOrderChangedEventArgs> NameSortingOrderChanged
         {
             add
@@ -228,6 +239,7 @@ namespace Tizen.Pims.Contacts
         /// A ContactsDatabase
         /// </summary>
         /// <value>A ContactsDatabase</value>
+        /// <since_tizen> 4 </since_tizen>
         public ContactsDatabase Database
         {
             get
@@ -245,6 +257,7 @@ namespace Tizen.Pims.Contacts
         /// </remarks>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public ContactDisplayOrder NameDisplayOrder
         {
@@ -277,6 +290,7 @@ namespace Tizen.Pims.Contacts
         /// </remarks>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
         /// <privilege>http://tizen.org/privilege/contact.write</privilege>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
         public ContactSortingOrder NameSortingOrder
         {
index 4bb4efd..4676a9d 100644 (file)
@@ -26,6 +26,7 @@ namespace Tizen.Pims.Contacts
     /// A query is used to retrieve person, group, speed dial, and log data which satisfies a given criteria, such as an integer property being greater than a given value, or a string property containing a given substring. 
     /// A query needs a filter which can set the conditions for the search.
     /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
     public class ContactsQuery : IDisposable
     {
         internal IntPtr _queryHandle;
@@ -34,9 +35,11 @@ namespace Tizen.Pims.Contacts
         /// Creates a query.
         /// </summary>
         /// <param name="viewUri">The view URI of a query</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")] 
         public ContactsQuery(string viewUri)
         {
@@ -56,6 +59,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Destructor
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         ~ContactsQuery()
         {
             Dispose(false);
@@ -67,6 +71,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsQuery.
         /// </summary>
         /// <param name="disposing">Disposing by User</param>
+        /// <since_tizen> 4 </since_tizen>
         protected virtual void Dispose(bool disposing)
         {
             if (disposing)
@@ -92,6 +97,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsQuery.
         /// It should be called after finished using of the object.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -103,7 +109,10 @@ namespace Tizen.Pims.Contacts
         /// Adds property IDs for projection.
         /// </summary>
         /// <param name="propertyIdArray">The property ID array </param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetProjection(uint[] propertyIdArray)
         {
             if (propertyIdArray == null)
@@ -123,6 +132,9 @@ namespace Tizen.Pims.Contacts
         /// Sets the "distinct" option for projection.
         /// </summary>
         /// <param name="set">If true it is set, otherwise if false it is unset</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetDistinct(bool set)
         {
             int error = Interop.Query.ContactsQuerySetDistinct(_queryHandle, set);
@@ -137,7 +149,10 @@ namespace Tizen.Pims.Contacts
         /// Sets the filter for a query.
         /// </summary>
         /// <param name="filter">The filter</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetFilter(ContactsFilter filter)
         {
             int error = Interop.Query.ContactsQuerySetFilter(_queryHandle, filter._filterHandle);
@@ -153,7 +168,10 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="propertyId">The property ID to sort</param>
         /// <param name="isAscending">If true it sorts in the ascending order, otherwise if false it sorts in the descending order</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetSort(uint propertyId, bool isAscending)
         {
             int error = Interop.Query.ContactsQuerySetSort(_queryHandle, propertyId, isAscending);
index 47dd62b..464cad3 100644 (file)
@@ -28,6 +28,7 @@ namespace Tizen.Pims.Contacts
     /// A record can be a complex set of data, containing other data. For example, a contact record contains the address property, which is a reference to an address record. 
     /// An address record belongs to a contact record, and its ContactId property is set to the identifier of the corresponding contact. In this case, the address is the child record of the contact and the contact is the parent record.
     /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
     public class ContactsRecord : IDisposable
     {
         private string _uri = null;
@@ -85,9 +86,11 @@ namespace Tizen.Pims.Contacts
         /// Creates a record.
         /// </summary>
         /// <param name="viewUri">The view URI</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
         public ContactsRecord(string viewUri)
         {
@@ -104,6 +107,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Destructor
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         ~ContactsRecord()
         {
             Dispose(false);
@@ -113,6 +117,7 @@ namespace Tizen.Pims.Contacts
         /// The URI of the record
         /// </summary>
         /// <value>The URI of the record</value>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
         public string Uri
         {
@@ -129,6 +134,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsRecord.
         /// </summary>
         /// <param name="disposing">Disposing by User</param>
+        /// <since_tizen> 4 </since_tizen>
         protected virtual void Dispose(bool disposing)
         {
             if (disposing)
@@ -154,6 +160,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsRecord.
         /// It should be called after finished using of the object.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -165,7 +172,10 @@ namespace Tizen.Pims.Contacts
         /// Makes a clone of a record.
         /// </summary>
         /// <returns>A cloned record</returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         public ContactsRecord Clone()
         {
             IntPtr _clonedRecordHandle;
@@ -185,7 +195,10 @@ namespace Tizen.Pims.Contacts
         /// <returns>
         /// The value of the property corresponding to property id.
         /// </returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public T Get<T>(uint propertyId)
         {
             object parsedValue = null;
@@ -255,9 +268,12 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Sets a value of the property to a record.
         /// </summary>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <param name="propertyId">The property ID</param>
         /// <param name="value">The value to set</param>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void Set<T>(uint propertyId, T value)
         {
             if (typeof(T) == typeof(string))
@@ -322,7 +338,10 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="propertyId">The property ID</param>
         /// <param name="childRecord">The child record to add to parent record</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void AddChildRecord(uint propertyId, ContactsRecord childRecord)
         {
             int error = Interop.Record.AddChildRecord(_recordHandle, propertyId, childRecord._recordHandle);
@@ -339,7 +358,10 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="propertyId">The property ID</param>
         /// <param name="childRecord">The child record to remove from parent record</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void RemoveChildRecord(uint propertyId, ContactsRecord childRecord)
         {
             int error = Interop.Record.RemoveChildRecord(_recordHandle, propertyId, childRecord._recordHandle);
@@ -356,7 +378,10 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="propertyId">The property ID</param>
         /// <returns>The number of child records corresponding to property ID</returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public int GetChildRecordCount(uint propertyId)
         {
             int count = 0;
@@ -375,7 +400,10 @@ namespace Tizen.Pims.Contacts
         /// <param name="propertyId">The property ID</param>
         /// <param name="index">The index of child record</param>
         /// <returns>The record </returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public ContactsRecord GetChildRecord(uint propertyId, int index)
         {
             IntPtr handle;
@@ -396,7 +424,10 @@ namespace Tizen.Pims.Contacts
         /// <returns>
         /// The record list
         /// </returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public ContactsList CloneChildRecordList(uint propertyId)
         {
             IntPtr listHandle;
index 8a7b7c0..4ea6ff0 100644 (file)
@@ -25,6 +25,7 @@ namespace Tizen.Pims.Contacts
     /// </summary>
     /// <param name="record">The contacts record</param>
     /// <returns> true to continue with the next iteration of the loop, otherwise false to break out of the loop</returns>
+    /// <since_tizen> 4 </since_tizen>
     public delegate bool ParseCallback(ContactsRecord record);
 
     /// <summary>
@@ -33,6 +34,7 @@ namespace Tizen.Pims.Contacts
     /// <remarks>
     /// It's based on the vCard v3.0 specification
     /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
     public static class ContactsVcard
     {
         /// <summary>
@@ -43,8 +45,11 @@ namespace Tizen.Pims.Contacts
         /// The vCard stream.
         /// </returns>
         /// <privilege>http://tizen.org/privilege/contact.read</privilege>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public static string Compose(ContactsRecord record)
         {
             int error = 0;
@@ -83,8 +88,11 @@ namespace Tizen.Pims.Contacts
         /// <returns>
         /// The contacts list
         /// </returns>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public static ContactsList Parse(string stream)
         {
             IntPtr listHandle;
@@ -104,9 +112,12 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="path">The file path of vCard stream file</param>
         /// <param name="callback">The callback function to invoke</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
         /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public static void ParseForEach(string path, ParseCallback callback)
         {
             Interop.Vcard.ContactsVcardParseCallback cb = (IntPtr handle, IntPtr data) =>
index 0620b5a..b3fd512 100644 (file)
@@ -29,6 +29,7 @@ namespace Tizen.Pims.Contacts
     ///  A "record" represents a single row of the views.
     ///  A record can have basic properties of five types: integer, string, boolean, long, double.
     /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
     namespace ContactsViews
     {
         internal static class Property
@@ -363,12 +364,12 @@ namespace Tizen.Pims.Contacts
                 PhonelogNormalizedAddress = (Phonelog | DataTypeString | ReadOnly) + 7,
                 PhonelogCleanedAddress = (Phonelog | DataTypeString | ReadOnly) + 8,
                 PhonelogAddressFilter = (Phonelog | DataTypeString | ReadOnly) + 9,
-                PhonelogSIMSlotNo = (Phonelog | DataTypeInt) + 10,
+                PhonelogSimSlotNo = (Phonelog | DataTypeInt) + 10,
 
                 /* phonelog_stat */
                 PhonelogStatLogCount = (PhonelogStat | DataTypeInt | ReadOnly),
                 PhonelogStatLogType = (PhonelogStat | DataTypeInt | ReadOnly) + 1,
-                PhonelogStatSIMSlotNo = (PhonelogStat | DataTypeInt | ReadOnly) + 2,
+                PhonelogStatSimSlotNo = (PhonelogStat | DataTypeInt | ReadOnly) + 2,
 
                 /* updated_info : read only */
                 UpdateInfoId = (UpdateInfo | DataTypeInt),
@@ -388,6 +389,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Enumeration for contact change state.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public enum ChangeType
         {
             /// <summary>
@@ -407,6 +409,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Address book record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class AddressBook
         {
             /// <summary>
@@ -433,6 +436,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Address book mode.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum ModeValue
             {
                 /// <summary>
@@ -449,6 +453,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Group record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Group
         {
             /// <summary>
@@ -496,6 +501,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Person record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Person
         {
             /// <summary>
@@ -575,6 +581,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Contact record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Contact
         {
             /// <summary>
@@ -709,6 +716,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for link mode when inserting contact.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum LinkModeValue
             {
                 /// <summary>
@@ -724,6 +732,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact display name source type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum DisplayNameSourceType
             {
                 /// <summary>
@@ -755,6 +764,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for contacts data type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum DataType
             {
                 /// <summary>
@@ -827,6 +837,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Simple contact record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class SimpleContact
         {
             /// <summary>
@@ -894,6 +905,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a My profile record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class MyProfile
         {
             /// <summary>
@@ -989,6 +1001,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Name record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Name
         {
             /// <summary>
@@ -1040,6 +1053,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Number record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Number
         {
             /// <summary>
@@ -1086,6 +1100,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for number type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             [Flags]
             public enum Types
             {
@@ -1171,6 +1186,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Email record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Email
         {
             /// <summary>
@@ -1205,6 +1221,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact email type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             [Flags]
             public enum Types
             {
@@ -1234,6 +1251,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Address record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Address
         {
             /// <summary>
@@ -1292,6 +1310,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact address type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             [Flags]
             public enum Types
             {
@@ -1333,6 +1352,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Note record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Note
         {
             /// <summary>
@@ -1356,6 +1376,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a URL record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class URL
         {
             /// <summary>
@@ -1386,6 +1407,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact URL type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum TypeValue
             {
                 /// <summary>
@@ -1410,6 +1432,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Event record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords")]
         public static class Event
         {
@@ -1445,6 +1468,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact event type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum TypeValue
             {
                 /// <summary>
@@ -1468,6 +1492,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact event calendar type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum CalendarType
             {
                 /// <summary>
@@ -1484,6 +1509,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Relationship record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Relationship
         {
             /// <summary>
@@ -1514,6 +1540,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact relationship type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum TypeValue
             {
                 /// <summary>
@@ -1586,6 +1613,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Image record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Image
         {
             /// <summary>
@@ -1620,6 +1648,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact image type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum TypeValue
             {
                 /// <summary>
@@ -1636,6 +1665,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Company record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Company
         {
             /// <summary>
@@ -1698,6 +1728,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact company type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum TypeValue
             {
                 /// <summary>
@@ -1718,6 +1749,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Nickname record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Nickname
         {
             /// <summary>
@@ -1741,6 +1773,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Messenger record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Messenger
         {
             /// <summary>
@@ -1771,6 +1804,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact messenger type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum TypeValue
             {
                 /// <summary>
@@ -1827,6 +1861,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Profile record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")]
         public static class Profile
         {
@@ -1883,6 +1918,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Sip record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Sip
         {
             /// <summary>
@@ -1913,6 +1949,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Contact SIP type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum TypeValue
             {
                 /// <summary>
@@ -1937,6 +1974,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Extension record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class Extension
         {
             /// <summary>
@@ -2004,6 +2042,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Group relation record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class GroupRelation
         {
             /// <summary>
@@ -2031,6 +2070,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Speed dial record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class SpeedDial
         {
             /// <summary>
@@ -2086,6 +2126,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Describes properties of a Phone log record.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public static class PhoneLog
         {
             /// <summary>
@@ -2133,13 +2174,14 @@ namespace Tizen.Pims.Contacts
             /// </summary>
             public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
             /// <summary>
-            /// You can set the related SIM slot number. SimSlotNo 0 means first SIM card, SimSlotNo 1 means second SIM.
+            /// You can set the related Sim slot number. SimSlotNo 0 means first Sim card, SimSlotNo 1 means second Sim.
             /// </summary>
-            public const uint SimSlotNo = (uint)Property.Id.PhonelogSIMSlotNo;
+            public const uint SimSlotNo = (uint)Property.Id.PhonelogSimSlotNo;
 
             /// <summary>
             /// Enumeration for Phone log type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum Type
             {
                 /// <summary>
@@ -2234,6 +2276,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a Contact updated information record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class ContactUpdatedInfo
         {
             /// <summary>
@@ -2266,6 +2309,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a My profile updated information record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class MyProfileUpdatedInfo
         {
             /// <summary>
@@ -2290,6 +2334,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a Group updated information record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class GroupUpdatedInfo
         {
             /// <summary>
@@ -2318,6 +2363,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a Group Member updated information record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class GroupMemberUpdatedInfo
         {
             /// <summary>
@@ -2342,6 +2388,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a Relation updated information record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class GroupRelationUpdatedInfo
         {
             /// <summary>
@@ -2374,6 +2421,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a PersonContact record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonContact
         {
             /// <summary>
@@ -2466,6 +2514,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a PersonNumber record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonNumber
         {
             /// <summary>
@@ -2562,6 +2611,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a PersonEmail record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonEmail
         {
             /// <summary>
@@ -2646,6 +2696,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a PersonGroupRelation record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonGroupRelation
         {
             /// <summary>
@@ -2739,9 +2790,10 @@ namespace Tizen.Pims.Contacts
         };
 
         /// <summary>
-        /// Describes properties of a PersonGroupAssignedrecord.
+        /// Describes properties of a PersonGroupAssigned record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonGroupAssigned
         {
             /// <summary>
@@ -2834,6 +2886,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a PersonGroupNotAssigned record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonGroupNotAssigned
         {
             /// <summary>
@@ -2922,6 +2975,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a PersonPhoneLog record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonPhoneLog
         {
             /// <summary>
@@ -2981,15 +3035,16 @@ namespace Tizen.Pims.Contacts
             /// </summary>
             public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
             /// <summary>
-            /// It is related to the SIM slot number. SimSlotNo 0 means first SIM card, SimSlotNo 1 means second SIM.
+            /// It is related to the Sim slot number. SimSlotNo 0 means first Sim card, SimSlotNo 1 means second Sim.
             /// </summary>
-            public const uint SIMSlotNo = (uint)Property.Id.PhonelogSIMSlotNo;
+            public const uint SimSlotNo = (uint)Property.Id.PhonelogSimSlotNo;
         };
 
         /// <summary>
         /// Describes properties of a Person Usage record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PersonUsage
         {
             /// <summary>
@@ -3052,6 +3107,7 @@ namespace Tizen.Pims.Contacts
             /// <summary>
             /// Enumeration for Person usage type.
             /// </summary>
+            /// <since_tizen> 4 </since_tizen>
             public enum Type
             {
                 /// <summary>
@@ -3105,6 +3161,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a ContactNumber record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class ContactNumber
         {
             /// <summary>
@@ -3177,6 +3234,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a ContactEmail record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class ContactEmail
         {
             /// <summary>
@@ -3237,6 +3295,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a ContactGroupRelation record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class ContactGroupRelation
         {
             /// <summary>
@@ -3285,6 +3344,7 @@ namespace Tizen.Pims.Contacts
         /// Describes properties of a Phone Log Statistics record.
         /// </summary>
         /// <remarks>Read only view</remarks>
+        /// <since_tizen> 4 </since_tizen>
         public static class PhoneLogStatistics
         {
             /// <summary>
@@ -3300,9 +3360,9 @@ namespace Tizen.Pims.Contacts
             /// </summary>
             public const uint LogType = (uint)Property.Id.PhonelogStatLogType;
             /// <summary>
-            /// It is related to the SIM slot number. sim_slot_no 0 means first SIM card, sim_slot_no 1 means second SIM. It is same with handle index of telephony handle list. Refer to the telephony_init()
+            /// It is related to the Sim slot number. sim_slot_no 0 means first Sim card, sim_slot_no 1 means second Sim. It is same with handle index of telephony handle list. Refer to the telephony_init()
             /// </summary>
-            public const uint SIMSlotNo = (uint)Property.Id.PhonelogStatSIMSlotNo;
+            public const uint SimSlotNo = (uint)Property.Id.PhonelogStatSimSlotNo;
         };
     }
 }
index 591c4a0..7aeb146 100644 (file)
@@ -21,6 +21,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// Event arguments passed when contacts database is changed
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class DBChangedEventArgs : EventArgs
     {
         internal DBChangedEventArgs(string viewUri)
@@ -31,6 +32,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// The contacts view URI changed.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public string ViewUri
         {
             get;
index ca1a79b..0eb9611 100644 (file)
@@ -22,6 +22,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// Event arguments passed when contacts database status is changed
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class DBStatusChangedEventArgs : EventArgs
     {
         internal DBStatusChangedEventArgs(DBStatus status)
@@ -32,6 +33,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// The contacts database status.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public DBStatus Status
         {
             get;
index 228318c..bb2abf4 100644 (file)
@@ -21,6 +21,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// Event arguments passed when setting value of contacts name display order is changed
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class NameDisplayOrderChangedEventArgs : EventArgs
     {
         internal NameDisplayOrderChangedEventArgs(ContactDisplayOrder displayOrder)
@@ -31,6 +32,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// A setting value of contacts name display order
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public ContactDisplayOrder NameDisplayOrder
         {
             get;
index 152ef0b..eda3bf0 100644 (file)
@@ -21,6 +21,7 @@ namespace Tizen.Pims.Contacts
     /// <summary>
     /// Event arguments passed when setting value of contacts name sorting order is changed
     /// </summary>
+    /// <since_tizen> 4 </since_tizen>
     public class NameSortingOrderChangedEventArgs : EventArgs
     {
         internal NameSortingOrderChangedEventArgs(ContactSortingOrder SortingOrder)
@@ -31,6 +32,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// A setting value of contacts name sorting order
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public ContactSortingOrder NameSortingOrder
         {
             get;
index 487113c..91a3ded 100644 (file)
@@ -20,4 +20,5 @@
 /// <remarks>
 /// The Tizen.Pims.Contacts namespace provides classes for managing contact information for people.
 /// </remarks>
+/// <since_tizen> 4 </since_tizen>
 namespace Tizen.Pims.Contacts {}
old mode 100755 (executable)
new mode 100644 (file)
index 5ec9dc0..06ddf37
@@ -16,8 +16,6 @@
 
 using System;
 using System.Collections.Generic;
-using System.ComponentModel;
-using System.IO;
 
 namespace Tizen.System
 {
@@ -81,7 +79,6 @@ namespace Tizen.System
             [RuntimeInfoKey.AudioJackConnector] = RuntimeInfoStringKeyAudioJackType
         };
 
-        [EditorBrowsable(EditorBrowsableState.Never)]
         private static bool ConvertStringToRuntimeInfoKey(string key, out RuntimeInfoKey feature)
         {
             string filteredKey = key.StartsWith(HttpPrefix) ? key.Substring(HttpPrefix.Length) : key;
@@ -90,7 +87,6 @@ namespace Tizen.System
             return StringEnumMapping.TryGetValue(filteredKey, out feature);
         }
 
-        [EditorBrowsable(EditorBrowsableState.Never)]
         private static bool TryGetRuntimeInfoValue<T>(RuntimeInfoKey key, out T value)
         {
             value = default(T);
@@ -104,7 +100,7 @@ namespace Tizen.System
             return RuntimeInfo.TryGetValue<T>(key, out value);
         }
 
-        [EditorBrowsable(EditorBrowsableState.Never)]
+#pragma warning disable CS0618 // Type or member is obsolete
         private static bool TryGetSystemInfoValue<T>(string key, out T value)
         {
             value = default(T);
@@ -123,6 +119,7 @@ namespace Tizen.System
 
             return SystemInfo.TryGetValue<T>(key, out value);
         }
+#pragma warning restore CS0618 // Type or member is obsolete
 
         /// <summary>
         /// Gets the value of the feature.
old mode 100755 (executable)
new mode 100644 (file)
index 906961d..e7ad717
 
 using System;
 using System.IO;
-using System.ComponentModel;
 using Tizen.Internals.Errors;
 
 namespace Tizen.System
 {
-    [EditorBrowsable(EditorBrowsableState.Never)]
     internal enum InformationError
     {
         None = ErrorCode.None,
@@ -34,7 +32,6 @@ namespace Tizen.System
         NoData = ErrorCode.NoData
     }
 
-    [EditorBrowsable(EditorBrowsableState.Never)]
     internal static class InformationErrorFactory
     {
         internal const string LogTag = "Tizen.System.Information";
old mode 100755 (executable)
new mode 100644 (file)
index ea0281d..dfab9f1
 * limitations under the License.
 */
 
-using System.ComponentModel;
-
 namespace Tizen.System
 {
-    [EditorBrowsable(EditorBrowsableState.Never)]
     /// <summary>
     /// Enumeration for the runtime information key.
     /// </summary>
old mode 100755 (executable)
new mode 100644 (file)
index 9ce011a..ba4a70a
 
 using System;
 using System.Collections.Generic;
-using System.IO;
-using System.ComponentModel;
 
 namespace Tizen.System
 {
-    [EditorBrowsable(EditorBrowsableState.Never)]
     internal static class RuntimeInfo
     {
         private static RuntimeInfoEventHandler BluetoothEnabled = new RuntimeInfoEventHandler(RuntimeInfoKey.Bluetooth);
old mode 100755 (executable)
new mode 100644 (file)
index 733e0f1..973957d
 */
 
 using System;
-using System.ComponentModel;
 
 namespace Tizen.System
 {
-    [EditorBrowsable(EditorBrowsableState.Never)]
     internal class RuntimeInfoEventHandler
     {
         private RuntimeInfoKey Key;
old mode 100755 (executable)
new mode 100644 (file)
index df9e3a2..ef5f846
 
 using System;
 using System.Collections.Generic;
-using System.ComponentModel;
 
 namespace Tizen.System
 {
-    [EditorBrowsable(EditorBrowsableState.Never)]
     internal static class TvProductHelper
     {
         private static int is_TV_product = -1;
@@ -52,7 +50,9 @@ namespace Tizen.System
 
             if (is_TV_product == -1)
             {
+#pragma warning disable CS0618 // Type or member is obsolete
                 is_key_existed = SystemInfo.TryGetValue<string>("http://com.samsung/build_config/product_type", out profile);
+#pragma warning restore CS0618 // Type or member is obsolete
                 if (is_key_existed && String.Compare(profile, "TV") == 0)
                 {
                     is_TV_product = 1;