コード例 #1
0
 public static ButtonState GetButtonState(HardwareButton button)
 {
     return(PrimaryDevice.GetButtonState(button));
 }
コード例 #2
0
 /// <summary>
 ///     Returns the state of the specified button.
 /// </summary>
 public static ButtonState GetButtonState(HardwareButton button) => PrimaryDevice.GetButtonState(button);