From d0790e49207cd3307abbd09a120b52304a6da091 Mon Sep 17 00:00:00 2001
From: Dor Blayzer <59066376+Dor-bl@users.noreply.github.com>
Date: Sun, 24 Mar 2024 07:14:11 +0200
Subject: [PATCH] fix: add missing XML comments for the members in the
AndroidKeyMetastate class (#761)
---
.../Android/Enums/AndroidKeyMetastate.cs | 70 +++++++++++++++++++
1 file changed, 70 insertions(+)
diff --git a/src/Appium.Net/Appium/Android/Enums/AndroidKeyMetastate.cs b/src/Appium.Net/Appium/Android/Enums/AndroidKeyMetastate.cs
index a9f2e7c3..ee8795e0 100644
--- a/src/Appium.Net/Appium/Android/Enums/AndroidKeyMetastate.cs
+++ b/src/Appium.Net/Appium/Android/Enums/AndroidKeyMetastate.cs
@@ -13,24 +13,94 @@
//limitations under the License.
namespace OpenQA.Selenium.Appium.Android.Enums
{
+ ///
+ /// Represents the metastate for Android keys.
+ ///
public sealed class AndroidKeyMetastate
{
+ ///
+ /// Represents the state when the left Alt key is pressed.
+ ///
public static readonly int Meta_Alt_LEFT_On = 16;
+
+ ///
+ /// Represents the state when the Alt key is pressed.
+ ///
public static readonly int Meta_Alt_On = 2;
+
+ ///
+ /// Represents the state when the right Alt key is pressed.
+ ///
public static readonly int Meta_Alt_Right_On = 32;
+
+ ///
+ /// Represents the state when the Caps Lock key is pressed.
+ ///
public static readonly int Meta_Caps_Lock_On = 1048576;
+
+ ///
+ /// Represents the state when the left Ctrl key is pressed.
+ ///
public static readonly int Meta_Ctrl_Left_On = 8192;
+
+ ///
+ /// Represents the state when the Ctrl key is pressed.
+ ///
public static readonly int Meta_Ctrl_On = 4096;
+
+ ///
+ /// Represents the state when the right Ctrl key is pressed.
+ ///
public static readonly int Meta_Ctrl_Rijht_On = 16384;
+
+ ///
+ /// Represents the state when the Function key is pressed.
+ ///
public static readonly int Meta_Function_On = 8;
+
+ ///
+ /// Represents the state when the left Meta key is pressed.
+ ///
public static readonly int Meta_Meta_Left_On = 131072;
+
+ ///
+ /// Represents the state when the Meta key is pressed.
+ ///
public static readonly int Meta_Meta_On = 65536;
+
+ ///
+ /// Represents the state when the right Meta key is pressed.
+ ///
public static readonly int Meta_Meta_Right_On = 262144;
+
+ ///
+ /// Represents the state when the Num Lock key is pressed.
+ ///
public static readonly int Meta_Num_Lock_On = 2097152;
+
+ ///
+ /// Represents the state when the Scroll Lock key is pressed.
+ ///
public static readonly int Meta_Scroll_Lock_On = 4194304;
+
+ ///
+ /// Represents the state when the left Shift key is pressed.
+ ///
public static readonly int Meta_Shift_Left_On = 64;
+
+ ///
+ /// Represents the state when the Shift key is pressed.
+ ///
public static readonly int Meta_Shift_On = 1;
+
+ ///
+ /// Represents the state when the right Shift key is pressed.
+ ///
public static readonly int Meta_Shift_Right_On = 128;
+
+ ///
+ /// Represents the state when the Sym key is pressed.
+ ///
public static readonly int Meta_Sym_On = 4;
}
}