Class Library Documentation for Neo smartpen SDK
PenCommV1Callbacks Interface |
The PenCommV1Callbacks interface models a callback used when the the N2 smart pen needs to notify the client side.
Please note that the implementation of the PenSignal run on main read thread. so if you want to do heavy work in callback method block, you have to run your code asyncronously.
Namespace: Neosmartpen.Net.Protocol.v1
Assembly: Neosmartpen.Net.Protocol.v1 (in Neosmartpen.Net.Protocol.v1.dll) Version: 2.1.13.0 (2.1.13)
Syntax
C#
public interface PenCommV1Callbacks
The PenCommV1Callbacks type exposes the following members.
Methods
Name | Description | |
---|---|---|
onAvailableNoteAccepted |
Occurs when the note information to be used is accepted
| |
onConnected |
Fired when a connection is made, override to handle in your own code.
| |
onDisconnected |
Fired when a connection is destroyed, override to handle in your own code.
| |
onErrorDetected |
Occur when error received
| |
onFinishedOfflineDownload |
Fired when finished downloading, override to handle in your own code.
| |
onOfflineDataList |
Fired when receive offline data list in N2 smartpen.
When you received this signal, you can request offline data to PenCommV1 by ReqOfflineData method.
| |
onPenAuthenticated |
Fired when your connection is authenticated.
When it fired, you can use all function of pen.
| |
onPenAutoPowerOnSetUpResponse |
Fired when pen response to your request that Sets the status of the auto power on property by PenCommV1.ReqSetupPenBeep method.
| |
onPenAutoShutdownTimeSetUpResponse |
Fired when pen response to your request that sets the value of the auto shutdown time by PenCommV1.ReqSetupPenAutoShutdownTime method.
| |
onPenBeepSetUpResponse |
Fired when pen response to your request that Sets the status of the beep property by PenCommV1.ReqSetupPenBeep method.
| |
onPenColorSetUpResponse |
Fired when pen response to your request that Sets the color of pen ink by PenCommV1.ReqSetupPenColor method.
| |
onPenHoverSetUpResponse |
Fired when pen response to your request that sets the status of the hover mode on property by PenCommV1.ReqSetupHoverMode method.
| |
onPenPasswordRequest |
Fired when pen request a password to client side.
When you received this signal, you have to enter password by PenCommV1.InputPassword method.
| |
onPenPasswordSetUpResponse |
Fired when pen response to your request that change password by PenCommV1.InputPassword method.
| |
onPenSensitivitySetUpResponse |
Fired when pen response to your request that sets the value of the sensitivity property by PenCommV1.ReqSetupPenSensitivity method.
| |
onReceivedFirmwareUpdateResult |
Fired when finished updating firmware, override to handle in your own code.
| |
onReceivedFirmwareUpdateStatus |
This method is invoked by the PenCommV1 when it needs to notify the client side about the status of an firmware update operation being performed.
| |
onReceiveDot |
Fired when receive a dot successfully, override to handle in your own code.
| |
onReceivedPenStatus |
Fired when received status of pen, override to handle in your own code.
| |
onReceiveOfflineStrokes |
Fired when received one in all offline data.
Array of stroke is consist of single note.
This method can be invoked several time as number of offline note.
| |
onStartOfflineDownload |
Fired when started downloading, override to handle in your own code.
| |
onSymbolDetected |
Occur when you write on a symbol
| |
onUpdateOfflineDownload |
This method is invoked by the PenCommV1 when it needs to notify the client side about the status of an download operation being performed.
| |
onUpDown |
Fired when receive up or down signal from your force sensor of pen, override to handle in your own code.
|
See Also