Skip to content

Commit

Permalink
[NUI] Add missing privilege comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dongsug-song committed Sep 2, 2024
1 parent 81de19e commit abe626a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Tizen.NUI/src/public/Window/Window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,8 @@ public void SetInputRegion(Rectangle inputRegion)
/// </summary>
/// <param name="level">The notification window level.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
/// <privilege>http://tizen.org/privilege/window.priority.set</privilege>
/// <exception cref="UnauthorizedAccessException">This exception can be thrown due to permission denied.</exception>
/// <since_tizen> 3 </since_tizen>
public bool SetNotificationLevel(NotificationLevel level)
{
Expand Down Expand Up @@ -923,6 +925,8 @@ public bool IsOpaqueState()
/// </summary>
/// <param name="screenOffMode">The screen mode.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
/// <privilege>http://tizen.org/privilege/display</privilege>
/// <exception cref="UnauthorizedAccessException">This exception can be thrown due to permission denied.</exception>
/// <since_tizen> 4 </since_tizen>
public bool SetScreenOffMode(ScreenOffMode screenOffMode)
{
Expand All @@ -948,6 +952,8 @@ public ScreenOffMode GetScreenOffMode()
/// </summary>
/// <param name="brightness">The preferred brightness (0 to 100).</param>
/// <returns>True if no error occurred, false otherwise.</returns>
/// <privilege>http://tizen.org/privilege/display</privilege>
/// <exception cref="UnauthorizedAccessException">This exception can be thrown due to permission denied.</exception>
/// <since_tizen> 3 </since_tizen>
public bool SetBrightness(int brightness)
{
Expand Down Expand Up @@ -1105,6 +1111,8 @@ public void KeepRendering(float durationSeconds)
/// </summary>
/// <param name="DaliKey">The key code to grab.</param>
/// <returns>True if the grab succeeds.</returns>
/// <privilege>http://tizen.org/privilege/keygrab</privilege>
/// <exception cref="UnauthorizedAccessException">This exception can be thrown due to permission denied.</exception>
/// <since_tizen> 3 </since_tizen>
public bool GrabKeyTopmost(int DaliKey)
{
Expand All @@ -1119,6 +1127,8 @@ public bool GrabKeyTopmost(int DaliKey)
/// </summary>
/// <param name="DaliKey">The key code to ungrab.</param>
/// <returns>True if the ungrab succeeds.</returns>
/// <privilege>http://tizen.org/privilege/keygrab</privilege>
/// <exception cref="UnauthorizedAccessException">This exception can be thrown due to permission denied.</exception>
/// <since_tizen> 3 </since_tizen>
public bool UngrabKeyTopmost(int DaliKey)
{
Expand All @@ -1137,6 +1147,8 @@ public bool UngrabKeyTopmost(int DaliKey)
/// <param name="DaliKey">The key code to grab.</param>
/// <param name="GrabMode">The grab mode for the key.</param>
/// <returns>True if the grab succeeds.</returns>
/// <privilege>http://tizen.org/privilege/keygrab</privilege>
/// <exception cref="UnauthorizedAccessException">This exception can be thrown due to permission denied.</exception>
/// <since_tizen> 3 </since_tizen>
public bool GrabKey(int DaliKey, KeyGrabMode GrabMode)
{
Expand All @@ -1151,6 +1163,8 @@ public bool GrabKey(int DaliKey, KeyGrabMode GrabMode)
/// </summary>
/// <param name="DaliKey">The key code to ungrab.</param>
/// <returns>True if the ungrab succeeds.</returns>
/// <privilege>http://tizen.org/privilege/keygrab</privilege>
/// <exception cref="UnauthorizedAccessException">This exception can be thrown due to permission denied.</exception>
/// <since_tizen> 3 </since_tizen>
public bool UngrabKey(int DaliKey)
{
Expand Down

0 comments on commit abe626a

Please sign in to comment.