From a471b45ddeb11b63fd9aa527e2d72c89cfbf7749 Mon Sep 17 00:00:00 2001 From: Hyihong Chae Date: Mon, 3 Jul 2017 19:45:28 +0900 Subject: [PATCH] add API level tag. Change-Id: I01b05e4c58bdeba270aed530e79821ded40271ea Signed-off-by: HyiHong Chae --- src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpDevice.cs | 6 ++++++ .../Tizen.Network.Mtp/MtpEnumerations.cs | 3 +++ .../Tizen.Network.Mtp/MtpErrorFactory.cs | 1 + .../Tizen.Network.Mtp/MtpEventArgs.cs | 3 +++ src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpManager.cs | 3 +++ src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpObject.cs | 18 ++++++++++++++++++ src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpStorage.cs | 7 +++++++ 7 files changed, 41 insertions(+) diff --git a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpDevice.cs b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpDevice.cs index 0bd90a1..7780694 100644 --- a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpDevice.cs +++ b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpDevice.cs @@ -23,6 +23,7 @@ namespace Tizen.Network.Mtp /// /// A class for Mtp Device information. It allows applications to handle device information. /// + /// 5 public class MtpDevice : IDisposable { private int _deviceHandle = -1; @@ -33,6 +34,7 @@ namespace Tizen.Network.Mtp /// Gets the manufacturer name of the device information. /// /// Manufacture name of device. + /// 5 public string ManufacturerName { get @@ -52,6 +54,7 @@ namespace Tizen.Network.Mtp /// Gets the model name of the device information. /// /// Model name of device. + /// 5 public string ModelName { get @@ -71,6 +74,7 @@ namespace Tizen.Network.Mtp /// Gets the serial number of the device information. /// /// Serial number of device. + /// 5 public string SerialNumber { get @@ -90,6 +94,7 @@ namespace Tizen.Network.Mtp /// Gets the device version of the device information. /// /// Version number of device. + /// 5 public string DeviceVersion { get @@ -151,6 +156,7 @@ namespace Tizen.Network.Mtp /// http://tizen.org/feature/network.mtp /// Thrown when Mtp is not supported. /// Thrown when the method failed due to invalid operation. + /// 5 public IEnumerable GetStorages() { IntPtr storagePtr; diff --git a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEnumerations.cs b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEnumerations.cs index 953d352..17e0ae0 100644 --- a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEnumerations.cs +++ b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEnumerations.cs @@ -21,6 +21,7 @@ namespace Tizen.Network.Mtp /// /// Enumeration for Mtp storage type. /// + /// 5 public enum MtpStorageType { /// @@ -48,6 +49,7 @@ namespace Tizen.Network.Mtp /// /// Enumeration for Mtp file type. /// + /// 5 public enum MtpFileType { /// @@ -243,6 +245,7 @@ namespace Tizen.Network.Mtp /// /// Enumeration for Mtp Event type. /// + /// 5 public enum MtpEventType { /// diff --git a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpErrorFactory.cs b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpErrorFactory.cs index bb0b98d..5362b1e 100644 --- a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpErrorFactory.cs +++ b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpErrorFactory.cs @@ -27,6 +27,7 @@ namespace Tizen.Network.Mtp /// /// Enumeration for Mtp Error. /// + /// 5 public enum MtpError { None = ErrorCode.None, diff --git a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEventArgs.cs b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEventArgs.cs index 881347e..e6e7245 100644 --- a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEventArgs.cs +++ b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpEventArgs.cs @@ -22,6 +22,7 @@ namespace Tizen.Network.Mtp /// /// An extended EventArgs class which contains Mtp event. /// + /// 5 public class MtpStateChangedEventArgs : EventArgs { private MtpEventType _type = MtpEventType.Unknown; @@ -36,6 +37,7 @@ namespace Tizen.Network.Mtp /// /// The Mtp event type. /// + /// 5 public MtpEventType Type { get @@ -47,6 +49,7 @@ namespace Tizen.Network.Mtp /// /// The event parameter. /// + /// 5 public int EventParameter { get diff --git a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpManager.cs b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpManager.cs index b00691c..783b261 100644 --- a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpManager.cs +++ b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpManager.cs @@ -27,6 +27,7 @@ namespace Tizen.Network.Mtp /// http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage. /// http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. /// + /// 5 static public class MtpManager { /// @@ -37,6 +38,7 @@ namespace Tizen.Network.Mtp /// Thrown when Mtp is not supported. /// Thrown when method is failed due to an invalid parameter. /// Thrown when the method failed due to invalid operation. + /// 5 static public IEnumerable GetDevices() { try @@ -52,6 +54,7 @@ namespace Tizen.Network.Mtp /// /// MtpStateChanged is raised when the Mtp device state is changed. /// + /// 5 static public event EventHandler MtpStateChanged { add diff --git a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpObject.cs b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpObject.cs index af5c628..8bb9f33 100644 --- a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpObject.cs +++ b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpObject.cs @@ -23,6 +23,7 @@ namespace Tizen.Network.Mtp /// /// A class for Mtp Object information. It allows applications to handle object information. /// + /// 5 public class MtpObject : IDisposable { private int _deviceHandle = -1; @@ -33,6 +34,7 @@ namespace Tizen.Network.Mtp /// Gets the filename of the object information. /// /// File name of object. + /// 5 public string FileName { get @@ -52,6 +54,7 @@ namespace Tizen.Network.Mtp /// Gets the keywords of the object information. /// /// Keywords of object. + /// 5 public string Keywords { get @@ -71,6 +74,7 @@ namespace Tizen.Network.Mtp /// Gets the association description of the object information. /// /// Association description of object. + /// 5 public int AssociationDescription { get @@ -89,6 +93,7 @@ namespace Tizen.Network.Mtp /// Gets the association type of the object information. /// /// Association type of object. + /// 5 public int AssociationType { get @@ -107,6 +112,7 @@ namespace Tizen.Network.Mtp /// Gets the size of the object information. /// /// Size of object. + /// 5 public int Size { get @@ -125,6 +131,7 @@ namespace Tizen.Network.Mtp /// Gets the parent object handle of the object information. /// /// Handle of Parent object. + /// 5 public int ParentObjectHandle { get @@ -143,6 +150,7 @@ namespace Tizen.Network.Mtp /// Gets the mtp storage of the object information. /// /// Storage of object. + /// 5 public int Storage { get @@ -161,6 +169,7 @@ namespace Tizen.Network.Mtp /// Gets the object created time of the object information. /// /// Date created of object. + /// 5 public int DateCreated { get @@ -179,6 +188,7 @@ namespace Tizen.Network.Mtp /// Gets the object modified time of the object information. /// /// Date modified of object. + /// 5 public int DateModified { get @@ -197,6 +207,7 @@ namespace Tizen.Network.Mtp /// Gets the file type of the object information. /// /// File type of object. + /// 5 public MtpFileType FileType { get @@ -215,6 +226,7 @@ namespace Tizen.Network.Mtp /// Gets the image bit depth of the object information. /// /// Bit depth of image. + /// 5 public int ImageBitDepth { get @@ -233,6 +245,7 @@ namespace Tizen.Network.Mtp /// Gets the image pixel width of the object information. /// /// Pixel width of image. + /// 5 public int ImagePixelWidth { get @@ -251,6 +264,7 @@ namespace Tizen.Network.Mtp /// Gets the image pixel height of the object information. /// /// Pixel height of image. + /// 5 public int ImagePixelHeight { get @@ -269,6 +283,7 @@ namespace Tizen.Network.Mtp /// Gets the thumbnail size of the object information. /// /// Size of thumbnail. + /// 5 public int ThumbnailSize { get @@ -287,6 +302,7 @@ namespace Tizen.Network.Mtp /// Gets the thumbnail file type of the object information. /// /// File type of thumbnail. + /// 5 public int ThumbnailFileType { get @@ -305,6 +321,7 @@ namespace Tizen.Network.Mtp /// Gets the thumbnail pixel width of the object information. /// /// Pixel width of thumbnail. + /// 5 public int ThumbnailPixelWidth { get @@ -323,6 +340,7 @@ namespace Tizen.Network.Mtp /// Gets the thumbnail pixel height of the object information. /// /// Pixel height of thumbnail. + /// 5 public int ThumbnailPixelHeight { get diff --git a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpStorage.cs b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpStorage.cs index e8315b3..1c0bd27 100644 --- a/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpStorage.cs +++ b/src/Tizen.Network.Mtp/Tizen.Network.Mtp/MtpStorage.cs @@ -23,6 +23,7 @@ namespace Tizen.Network.Mtp /// /// A class for Mtp Storage information. It allows applications to handle storage information. /// + /// 5 public class MtpStorage : IDisposable { private int _deviceHandle = -1; @@ -36,6 +37,7 @@ namespace Tizen.Network.Mtp /// Gets the description of the storage information. /// /// Description of storage. + /// 5 public string Description { get @@ -55,6 +57,7 @@ namespace Tizen.Network.Mtp /// Gets the free space of the storage information in bytes. /// /// Free space of storage(bytes). + /// 5 public UInt64 FreeSpace { get @@ -73,6 +76,7 @@ namespace Tizen.Network.Mtp /// Gets the max capacity of the storage information in bytes. /// /// Max capacity of storage(bytes). + /// 5 public UInt64 MaxCapacity { get @@ -91,6 +95,7 @@ namespace Tizen.Network.Mtp /// Gets the storage type of the storage information. /// /// Type of storage. + /// 5 public MtpStorageType StorageType { get @@ -109,6 +114,7 @@ namespace Tizen.Network.Mtp /// Gets the volume identifier of the storage information. /// /// Volume identifier of stroage. + /// 5 public string VolumeIdentifier { get @@ -179,6 +185,7 @@ namespace Tizen.Network.Mtp /// Thrown when Mtp is not supported. /// Thrown when method is failed due to an invalid parameter. /// Thrown when the method failed due to invalid operation. + /// 5 public IEnumerable GetObjectHandles(int parentHandle, MtpFileType fileType) { IntPtr objectPtr; -- 2.7.4