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