projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MediaContent] Deprecate unused APIs (#5473)
[platform/core/csapi/tizenfx.git]
/
src
/
Tizen.Content.MediaContent
/
Tizen.Content.MediaContent
/
ImageInfo.cs
diff --git
a/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInfo.cs
b/src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInfo.cs
index
0a60625
..
768dce0
100644
(file)
--- a/
src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInfo.cs
+++ b/
src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/ImageInfo.cs
@@
-22,6
+22,7
@@
namespace Tizen.Content.MediaContent
/// <summary>
/// Represents the image media stored in the device.
/// </summary>
/// <summary>
/// Represents the image media stored in the device.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public class ImageInfo : MediaInfo
{
internal ImageInfo(Interop.MediaInfoHandle handle) : base(handle)
public class ImageInfo : MediaInfo
{
internal ImageInfo(Interop.MediaInfoHandle handle) : base(handle)
@@
-40,7
+41,6
@@
namespace Tizen.Content.MediaContent
Orientation = InteropHelper.GetValue<Orientation>(imageHandle, Interop.ImageInfo.GetOrientation);
DateTaken = InteropHelper.GetString(imageHandle, Interop.ImageInfo.GetDateTaken);
Orientation = InteropHelper.GetValue<Orientation>(imageHandle, Interop.ImageInfo.GetOrientation);
DateTaken = InteropHelper.GetString(imageHandle, Interop.ImageInfo.GetDateTaken);
- BurstId = InteropHelper.GetString(imageHandle, Interop.ImageInfo.GetBurstId);
ExposureTime = InteropHelper.GetString(imageHandle, Interop.ImageInfo.GetExposureTime);
FNumber = InteropHelper.GetValue<double>(imageHandle, Interop.ImageInfo.GetFNumber);
ExposureTime = InteropHelper.GetString(imageHandle, Interop.ImageInfo.GetExposureTime);
FNumber = InteropHelper.GetValue<double>(imageHandle, Interop.ImageInfo.GetFNumber);
@@
-48,8
+48,6
@@
namespace Tizen.Content.MediaContent
Model = InteropHelper.GetString(imageHandle, Interop.ImageInfo.GetModel);
Model = InteropHelper.GetString(imageHandle, Interop.ImageInfo.GetModel);
- IsBurstShot = InteropHelper.GetValue<bool>(imageHandle, Interop.ImageInfo.IsBurstShot);
-
}
finally
{
}
finally
{
@@
-61,61
+59,60
@@
namespace Tizen.Content.MediaContent
/// Gets the image width in pixels.
/// </summary>
/// <value>The image width in pixels.</value>
/// Gets the image width in pixels.
/// </summary>
/// <value>The image width in pixels.</value>
+ /// <since_tizen> 4 </since_tizen>
public int Width { get; }
/// <summary>
/// Gets the image height in pixels.
/// </summary>
/// <value>The image height in pixels.</value>
public int Width { get; }
/// <summary>
/// Gets the image height in pixels.
/// </summary>
/// <value>The image height in pixels.</value>
+ /// <since_tizen> 4 </since_tizen>
public int Height { get; }
/// <summary>
/// Gets the orientation of image.
/// </summary>
/// <value>The orientation of image.</value>
public int Height { get; }
/// <summary>
/// Gets the orientation of image.
/// </summary>
/// <value>The orientation of image.</value>
+ /// <since_tizen> 4 </since_tizen>
public Orientation Orientation { get; }
/// <summary>
/// Gets the date of the creation time as a formatted string.
/// </summary>
/// <value>The date of the creation time as a formatted string.</value>
public Orientation Orientation { get; }
/// <summary>
/// Gets the date of the creation time as a formatted string.
/// </summary>
/// <value>The date of the creation time as a formatted string.</value>
+ /// <since_tizen> 4 </since_tizen>
public string DateTaken { get; }
/// <summary>
public string DateTaken { get; }
/// <summary>
- /// Gets the burst shot ID.
- /// </summary>
- /// <value>The burst shot ID if it is a burst shot, otherwise an empty string.</value>
- /// <seealso cref="IsBurstShot"/>
- public string BurstId { get; }
-
- /// <summary>
/// Gets the exposure time from EXIF.
/// </summary>
/// <value>The exposure time from EXIF.</value>
/// Gets the exposure time from EXIF.
/// </summary>
/// <value>The exposure time from EXIF.</value>
+ /// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API11; Will be removed in API13.")]
public string ExposureTime { get; }
/// <summary>
/// Gets the FNumber from EXIF.
/// </summary>
public string ExposureTime { get; }
/// <summary>
/// Gets the FNumber from EXIF.
/// </summary>
- /// <value>The FNumber from exif.</value>
+ /// <value>The FNumber from EXIF.</value>
+ /// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API11; Will be removed in API13.")]
public double FNumber { get; }
/// <summary>
/// Gets the ISO from EXIF.
/// </summary>
/// <value>The iso from EXIF.</value>
public double FNumber { get; }
/// <summary>
/// Gets the ISO from EXIF.
/// </summary>
/// <value>The iso from EXIF.</value>
+ /// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API11; Will be removed in API13.")]
public int Iso { get; }
/// <summary>
/// Gets the model from EXIF.
/// </summary>
/// <value>The model from EXIF.</value>
public int Iso { get; }
/// <summary>
/// Gets the model from EXIF.
/// </summary>
/// <value>The model from EXIF.</value>
+ /// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API11; Will be removed in API13.")]
public string Model { get; }
public string Model { get; }
-
- /// <summary>
- /// Gets the value indicating whether the media is a burst shot image.
- /// </summary>
- /// <value>true if the media is a burst shot image, otherwise false.</value>
- public bool IsBurstShot { get; }
}
}
}
}