Class Library Documentation for Neo smartpen SDK
PenCommV2CallbacksonReceivePenStatus Method |
Fired when received status of pen, override to handle in your own code.
Namespace: Neosmartpen.Net.Protocol.v2
Assembly: Neosmartpen.Net.Protocol.v2 (in Neosmartpen.Net.Protocol.v2.dll) Version: 2.1.13.0 (2.1.13)

C#
void onReceivePenStatus( IPenComm sender, bool locked, int passwdMaxReTryCount, int passwdRetryCount, long timestamp, short autoShutdownTime, int maxForce, int battery, int usedmem, bool useOfflineData, bool autoPowerOn, bool penCapPower, bool hoverMode, bool beep, short penSensitivity, UsbMode usbmode, bool downsampling, string btLocalName, DataTransmissionType dataTransmissionType )
Parameters
- sender
- Type: Neosmartpen.NetIPenComm
sender refers to the object that invoked the callback method - locked
- Type: SystemBoolean
true if pen is locked, otherwise false - passwdMaxReTryCount
- Type: SystemInt32
maximum password input count - passwdRetryCount
- Type: SystemInt32
current password input count - timestamp
- Type: SystemInt64
timestamp, pen knew - autoShutdownTime
- Type: SystemInt16
the status of the auto shutdown time property - maxForce
- Type: SystemInt32
maximum level of pressure sensor - battery
- Type: SystemInt32
battery status of pen - usedmem
- Type: SystemInt32
memory status of pen - useOfflineData
- Type: SystemBoolean
true if offline data available, otherwise false - autoPowerOn
- Type: SystemBoolean
the status of the auto power on property that if write the unpowered pen, power on. - penCapPower
- Type: SystemBoolean
true if enable to control power by cap, otherwise false - hoverMode
- Type: SystemBoolean
the status of the hover mode property - beep
- Type: SystemBoolean
the status of the beep property - penSensitivity
- Type: SystemInt16
the status of pen's sensitivity property - usbmode
- Type: UsbMode
the status of the usb mode - downsampling
- Type: SystemBoolean
true if enable to down sampling, otherwise false - btLocalName
- Type: SystemString
the local name of device - dataTransmissionType
- Type: DataTransmissionType
the type of data transmission
