<Compile Include="Interop\Interop.Libraries.cs" />\r
<Compile Include="Interop\Interop.PhonenumberUtils.cs" />\r
<Compile Include="Properties\AssemblyInfo.cs" />\r
+ <Compile Include="Tizen.PhonenumberUtils\NamespaceDoc.cs" />\r
<Compile Include="Tizen.PhonenumberUtils\PhonenumberUtilsEnumerations.cs" />\r
<Compile Include="Tizen.PhonenumberUtils\PhonenumberUtilsErrorFactory.cs" />\r
<Compile Include="Tizen.PhonenumberUtils\PhonenumberUtils.cs" />\r
<_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>\r
<AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>\r
</PropertyGroup>\r
-</Project>
+</Project>
\ No newline at end of file
--- /dev/null
+/// <summary>
+/// The Tizen.PhonenumberUtils namespace provides a class for parsing, formatting and normalizing phone numbers.
+/// </summary>
+/// <remarks>
+/// The Tizen.PhonenumberUtils namespace provides a class for parsing, formatting and normalizing phone numbers.
+/// </remarks>
+namespace Tizen.PhonenumberUtils {}
namespace Tizen.PhonenumberUtils
{
/// <summary>
- /// This class makes applications can use phonenumber utils.
+ /// The PhonenumberUtils class provides methods for parsing, formatting and normalizing phone numbers.
/// </summary>
public class PhonenumberUtils : IDisposable
{
Dispose(false);
}
+ /// <summary>
+ /// Releases all resources used by the PhonenumberUtils.
+ /// It should be called after finished using of the object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
if (disposed)
return;
- if (disposing)
- {
- // Free managed objects
- }
-
// Free unmanaged objects
int ret;
/// <summary>
/// Gets the normalized number.
- /// </summary>
- /// <privilege>http://tizen.org/privilege/telephony</privilege>
+ /// </summary>
/// <param name="number">The number</param>
/// <returns>The normalized number</returns>
+ /// <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="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>
+ /// <remarks>
+ /// 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>
public string GetNormalizedNumber(string number)
{
int ret;