namespace Tizen.Content.MediaContent
{
/// <summary>
- /// Represents the folder information for media.
+ /// Represents the folder information for the media.
/// </summary>
/// <remarks>
- /// A <see cref="Folder"/> is used to organize media content files i.e. image, audio, video files,
+ /// The <see cref="Folder"/> is used to organize media content files, i.e., image, audio, and video files,
/// in the physical storage of the device.
/// </remarks>
+ /// <since_tizen> 4 </since_tizen>
public class Folder
{
internal Folder(IntPtr handle)
Id = InteropHelper.GetString(handle, Interop.Folder.GetFolderId);
Path = InteropHelper.GetString(handle, Interop.Folder.GetPath);
Name = InteropHelper.GetString(handle, Interop.Folder.GetName);
-
- StorageType = InteropHelper.GetValue<StorageType>(handle, Interop.Folder.GetStorageType);
- StorageId = InteropHelper.GetString(handle, Interop.Folder.GetStorageId);
}
internal static Folder FromHandle(IntPtr handle) => new Folder(handle);
/// <summary>
- /// Gets the id of folder.
+ /// Gets the ID of the folder.
/// </summary>
- /// <value>The unique id of folder.</value>
+ /// <value>The unique ID of the folder.</value>
+ /// <since_tizen> 4 </since_tizen>
public string Id { get; }
/// <summary>
- /// Gets the path of folder.
+ /// Gets the path of the folder.
/// </summary>
- /// <value>The path of folder.</value>
+ /// <value>The path of the folder.</value>
+ /// <since_tizen> 4 </since_tizen>
public string Path { get; }
/// <summary>
- /// Gets the name of folder.
+ /// Gets the name of the folder.
/// </summary>
- /// <value>The name of folder.</value>
+ /// <value>The name of the folder.</value>
+ /// <since_tizen> 4 </since_tizen>
public string Name { get; }
/// <summary>
- /// Gets the <see cref="StorageType"/> of the storage that the folder exists.
- /// </summary>
- /// <value>The <see cref="StorageType"/> of the storage that the folder exists.</value>
- public StorageType StorageType { get; }
-
- /// <summary>
- /// Gets the storage id of the storage that the folder exists.
- /// </summary>
- /// <value>The storage id of the storage that the folder exists.</value>
- public string StorageId { get; }
-
- /// <summary>
/// Returns a string representation of the folder.
/// </summary>
/// <returns>A string representation of the current folder.</returns>
- public override string ToString() =>
- $"Id={Id}, Name={Name}, Path={Path}, StorageType={StorageType}, StorageId={StorageType}";
+ /// <since_tizen> 4 </since_tizen>
+ public override string ToString() => $"Id={Id}, Name={Name}, Path={Path}";
}
}