Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NUI] Rebase master 241010 #6400

Merged
merged 31 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
cbe3582
[ComponentBased.Port] Enhance API descriptions
upple Sep 26, 2024
0849af1
Remove wrong spaces
upple Sep 26, 2024
4960277
[Applications.Preference] Enhance API descriptions
upple Sep 26, 2024
2521237
[Applications.Common] Enhance API descriptions (#6367)
hjhun Sep 26, 2024
20bbe35
[TCSACR-602][Shortcut] Deprecate Shortcut apis (#6319)
sukhyungkang Sep 26, 2024
a97907f
[TCSACR-601][Badge] Deprecate Badge apis (#6318)
sukhyungkang Sep 26, 2024
14f8515
[Applications.Service] Enhance API descriptions
upple Sep 26, 2024
08eac39
[Content.MimeType] Enhance API descriptions (#6372)
hjhun Sep 26, 2024
73a2465
[Applications.UI] Enhance API descriptions
upple Sep 26, 2024
2c2947d
[ComponentBased.ComponentManager] Enhance API descriptions
upple Sep 26, 2024
c7fe8b2
[Applications.RPCPort] Enhance API descriptions (#6370)
hjhun Sep 27, 2024
4b52452
[System.MediaKey] Enhance API descriptions (#6377)
hjhun Sep 27, 2024
01207c5
[NUI.Gadget] Export NUIGadgetAssembly class for inhouse developers (#…
hjhun Sep 27, 2024
8d84eec
[System.Information] Elaborate API description
ppdl Sep 24, 2024
590ff19
Tizen.Sensor: Update description of sensor class/methods
SangyounKwak Sep 25, 2024
d29fcff
Tizen.Log: update descriptions of log class/methods
mbloch1 Sep 27, 2024
f44c0c6
[Applications.ComponentBased] Enhance API descriptions
upple Sep 26, 2024
61c30fc
Add missing since_tizen tag
upple Sep 27, 2024
de9eada
[Tizen.Core] Enhance API descriptions (#6378)
hjhun Sep 30, 2024
4e39022
[Tizen.System.Resource] Update the description of APIs
Sep 24, 2024
bad0d77
[Tizen.System.PowerUsage] Update the description of APIs
Sep 24, 2024
93e26c4
[Tizen.System.Storage] Update the description of APIs
Sep 24, 2024
f46ebbb
[NUI.Gadget] Enhance API descriptions (#6375)
hjhun Sep 30, 2024
f5f8876
Add doxygen for Tizen.System.SystemSettings (#6388)
jinwangan Sep 30, 2024
fb0b609
[WebRTC] Fix DataChannel event bug (#6392)
hsgwon Oct 2, 2024
4dcdce3
[MediaPlayer] Improve documentation (#6357)
hsgwon Oct 2, 2024
aa8798d
[Notification] Add PairingType for do not disturb app (#6391)
sukhyungkang Oct 7, 2024
01c4437
[Notification] fix notification when pairing type is set (#6394)
sukhyungkang Oct 7, 2024
0bc0495
[AudioIO] Add new internal API for play audio with repetitions (#6395)
hsgwon Oct 8, 2024
b1fd412
[Tizen.System.Device] Enhance API description
Oct 10, 2024
de01ce5
[Tizen.System.Feedback] Enhance API description
Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Tizen.Applications
/// The class containing common properties of the Badge.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public class Badge
{
private int count = 0;
Expand All @@ -34,6 +35,7 @@ public class Badge
/// <param name="count">Count value</param>
/// <param name="visible">True if it should be displayed</param>
/// <exception cref="ArgumentException">Thrown when failed because of invalid argument</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public Badge(string appId, int count = 1, bool visible = true)
{
if (IsNegativeNumber(count))
Expand All @@ -50,6 +52,7 @@ public Badge(string appId, int count = 1, bool visible = true)
/// </summary>
/// <since_tizen> 3 </since_tizen>
/// <exception cref="ArgumentException">Thrown when set negative number</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public int Count
{
get
Expand All @@ -71,12 +74,14 @@ public int Count
/// Property for the application ID of the badge.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public string AppId { get; set; }

/// <summary>
/// Property for display visibility. True if the badge display visible, otherwise false..
/// </summary>
/// <since_tizen> 4 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public bool Visible{ get; set; }

private bool IsNegativeNumber(int number)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Tizen.Applications
/// The class for badge operation.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static class BadgeControl
{
private static event EventHandler<BadgeEventArgs> s_changed;
Expand All @@ -37,6 +38,7 @@ public static class BadgeControl
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static event EventHandler<BadgeEventArgs> Changed
{
add
Expand Down Expand Up @@ -88,6 +90,7 @@ public static event EventHandler<BadgeEventArgs> Changed
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static Badge Find(string appId)
{
uint count;
Expand Down Expand Up @@ -119,6 +122,7 @@ public static Badge Find(string appId)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Remove(string appId)
{
BadgeError err = Interop.Badge.Remove(appId);
Expand All @@ -139,6 +143,7 @@ public static void Remove(string appId)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Remove(Badge badge)
{
if (badge == null)
Expand All @@ -160,6 +165,7 @@ public static void Remove(Badge badge)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Add(Badge badge)
{
if (badge == null)
Expand Down Expand Up @@ -195,6 +201,7 @@ public static void Add(Badge badge)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static void Update(Badge badge)
{
if (badge == null)
Expand Down Expand Up @@ -225,6 +232,7 @@ public static void Update(Badge badge)
/// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when Badge is not supported.</exception>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public static IEnumerable<Badge> GetBadges()
{
IList<Badge> list = new List<Badge>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Tizen.Applications
/// The class for event arguments of the badge event.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public class BadgeEventArgs : EventArgs
{
internal BadgeEventArgs()
Expand All @@ -32,6 +33,7 @@ internal BadgeEventArgs()
/// Enumeration for the badge action.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public enum Action : int
{
/// <summary>
Expand All @@ -54,12 +56,14 @@ public enum Action : int
/// The property for the badge object.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public Badge Badge { get; internal set; }

/// <summary>
/// The property for the action value.
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API12. Will be removed in API14.")]
public Action Reason { get; internal set; }
}
}
Loading
Loading