Class HidHostStateArgs
- Namespace
- nanoFramework.Bluetooth.Hid
- Assembly
- nanoFramework.Bluetooth.Hid.dll
HID Host State Event Args.
public class HidHostStateArgs : EventArgs
- Inheritance
-
HidHostStateArgs
- Inherited Members
- Extension Methods
Constructors
HidHostStateArgs(byte)
Initializes a new instance of the HidHostStateArgs class.
public HidHostStateArgs(byte hostStateFlag)
Parameters
hostStateFlagbyteHID Host State value. 0x00 = Suspend, 0x01 = Exit Suspend.
Properties
IsHostSuspended
Gets a value indicating whether the HID host has been suspended.
public bool IsHostSuspended { get; }
Property Value
Remarks
This value can be used as a signal to put the HID device in a power-saving state while the host is suspended.