-
Notifications
You must be signed in to change notification settings - Fork 254
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
Conversation
Public API ChangedPlease follow the ACR process for the changed API below. Added: 0, Removed: 0, Changed: 3Changed- /// <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 ChangedAdded: 0, Removed: 0, Changed: 2Changed/// <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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// 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?
There was a problem hiding this comment.
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.
src/Tizen.System/Device/Battery.cs
Outdated
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// 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. |
There was a problem hiding this comment.
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.
Add more detailed APIs description. Signed-off-by: Yunhee Seo <[email protected]>
Add more detailed APIs description. Signed-off-by: Yunhee Seo <[email protected]>
a74abfd
to
2d8ca16
Compare
Public API ChangedPlease follow the ACR process for the changed API below. Added: 0, Removed: 0, Changed: 3Changed- /// <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 ChangedAdded: 0, Removed: 0, Changed: 2Changed/// <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)
|
Description of Change
Add more detailed API descriptions to the modules below.
API Changes