Add telephony feature and API level 79/149179/7
authorJongkyu Koo <jk.koo@samsung.com>
Tue, 12 Sep 2017 01:07:52 +0000 (10:07 +0900)
committerJongkyu Koo <jk.koo@samsung.com>
Mon, 25 Sep 2017 02:24:28 +0000 (11:24 +0900)
Change-Id: Iaac3f46d33e80afeecfb28ae5b317a9eb2f48f26
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/NamespaceDoc.cs
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtilsEnumerations.cs

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
     }
 }