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

[Tizen.System] Enhance API description #6399

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

germonado
Copy link

Description of Change

Add more detailed API descriptions to the modules below.

  • Tizen.System.Device
  • Tizen.System.Feedback

API Changes

  • ACR:

@github-actions github-actions bot added the API12 Platform : Tizen 9.0 / TFM: net6.0-tizen9.0 label Oct 10, 2024
@TizenAPI-Bot
Copy link
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.

Added: 0, Removed: 0, Changed: 3

Changed

- /// <since_tizen>3</since_tizen
+ /// <since_tizen>none</since_tizen
Tizen.System.BatteryLevelStatus Tizen.System.Battery::Level()

+ /// <privilege>http://tizen.org/privilege/display.state</privilege
/// <since_tizen>5</since_tizen
static System.Void Tizen.System.Power::ReleaseLock(Tizen.System.PowerLock)

+ /// <privilege>http://tizen.org/privilege/display.state</privilege
/// <since_tizen>5</since_tizen
static System.Void Tizen.System.Power::RequestLock(Tizen.System.PowerLock,System.Int32)

Internal API Changed

Added: 0, Removed: 0, Changed: 2

Changed

/// <privilege>http://tizen.org/privilege/reboot</privilege
- /// <since_tizen>none</since_tizen
+ /// <since_tizen>9</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
static System.Void Tizen.System.Power::PowerOff()

/// <privilege>http://tizen.org/privilege/reboot</privilege
- /// <since_tizen>none</since_tizen
+ /// <since_tizen>9</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
static System.Void Tizen.System.Power::Reboot(System.String)

@@ -596,7 +601,7 @@ public uint GetCountOfThemeInternal(FeedbackType type)
}

/// <summary>
/// Gets the id of theme selected.
/// Gets the current ID of the theme selected from available themes described in the conf file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Gets the current ID of the theme selected from available themes described in the conf file.
/// Gets the current id of the theme selected from available themes described in the conf file.

Keep consistency, id or ID?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed as "id" to keep consistency thanks.

@@ -76,11 +76,20 @@ public static class Battery
{
private static readonly object s_lock = new object();
/// <summary>
/// Gets the battery charge percentage.
/// Gets the current device'sinvalid battery charge percentage as an interger value.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Gets the current device'sinvalid battery charge percentage as an interger value.
/// Gets the current device's invalid battery charge percentage as an interger value.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed that description as you suggested.

Yunhee Seo added 2 commits October 10, 2024 17:22
Add more detailed APIs description.

Signed-off-by: Yunhee Seo <[email protected]>
Add more detailed APIs description.

Signed-off-by: Yunhee Seo <[email protected]>
@TizenAPI-Bot
Copy link
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.

Added: 0, Removed: 0, Changed: 3

Changed

- /// <since_tizen>3</since_tizen
+ /// <since_tizen>none</since_tizen
Tizen.System.BatteryLevelStatus Tizen.System.Battery::Level()

+ /// <privilege>http://tizen.org/privilege/display.state</privilege
/// <since_tizen>5</since_tizen
static System.Void Tizen.System.Power::ReleaseLock(Tizen.System.PowerLock)

+ /// <privilege>http://tizen.org/privilege/display.state</privilege
/// <since_tizen>5</since_tizen
static System.Void Tizen.System.Power::RequestLock(Tizen.System.PowerLock,System.Int32)

Internal API Changed

Added: 0, Removed: 0, Changed: 2

Changed

/// <privilege>http://tizen.org/privilege/reboot</privilege
- /// <since_tizen>none</since_tizen
+ /// <since_tizen>9</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
static System.Void Tizen.System.Power::PowerOff()

/// <privilege>http://tizen.org/privilege/reboot</privilege
- /// <since_tizen>none</since_tizen
+ /// <since_tizen>9</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
static System.Void Tizen.System.Power::Reboot(System.String)

@chanwoochoi chanwoochoi merged commit 54b7ef3 into Samsung:master Oct 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACR Required API12 Platform : Tizen 9.0 / TFM: net6.0-tizen9.0 Internal API Changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants