Class Library Documentation for Neo smartpen SDK
PenCommV2Callbacks Interface |
The PenCommV2Callbacks interface models a callback used when the the Neo smartpen needs to notify the client side.
Please note that the implementation of the PenCommV2Callbacks 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.v2
Assembly: Neosmartpen.Net.Protocol.v2 (in Neosmartpen.Net.Protocol.v2.dll) Version: 2.1.13.0 (2.1.13)

C#
public interface PenCommV2Callbacks
The PenCommV2Callbacks type exposes the following members.

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.
|
![]() | 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 PenCommV2.ReqSetupPenBeep method.
|
![]() | onPenAutoShutdownTimeSetUpResponse |
Fired when pen response to your request that sets the value of the auto shutdown time by PenCommV2.ReqSetupPenAutoShutdownTime method.
|
![]() | onPenBeepAndLightResponse |
Fired when the request for operation of the beep and light is complete, override to handle in your own code.
|
![]() | onPenBeepSetUpResponse |
Fired when pen response to your request that Sets the status of the beep property by PenCommV2.ReqSetupPenBeep method.
|
![]() | onPenBtLocalNameSetUpResponse |
Fired when pen response to your request that Sets the local name of device by PenCommV2.ReqSetupBtLocalName method.
|
![]() | onPenCapPowerOnOffSetupResponse |
Fired when pen response to your request that sets enabling control by cap.
|
![]() | onPenColorSetUpResponse |
Fired when pen response to your request that Sets the color of pen ink by PenCommV2.ReqSetupPenColor method.
|
![]() | onPenDataTransmissionTypeSetUpResponse |
Fired when pen response to your request that Sets the type of data transmission by PenCommV2.ReqSetupDataTransmissionType method.
|
![]() | onPenDownSamplingSetUpResponse |
Fired when pen response to your request that Sets the state of down sampling by PenCommV2.ReqSetupDownSampling method.
|
![]() | onPenFscSensitivitySetUpResponse |
Fired when pen response to your request that Sets the level of sensitivity(force sensor c-type) by PenCommV2.ReqSetupPenFscSensitivity method.
|
![]() | onPenHoverSetUpResponse |
Fired when pen response to your request that sets the status of the hover mode on property by PenCommV2.ReqSetupHoverMode method.
|
![]() | onPenOfflineDataSetUpResponse |
Fired when pen response to your request that enable offline data.
|
![]() | onPenPasswordRequest |
Fired when pen request a password to client side.
When you received this signal, you have to enter password by PenCommV2.InputPassword method.
|
![]() | onPenPasswordSetUpResponse |
Fired when pen response to your request that change password by PenCommV2.InputPassword method.
|
![]() | onPenProfileReceived |
Occurs when a response to a profile request is received.
|
![]() | onPenSensitivitySetUpResponse |
Fired when pen response to your request that sets the value of the sensitivity property by PenCommV2.ReqSetupPenSensitivity method.
|
![]() | onPenTimestampSetUpResponse |
Fired when pen response to your request that sets timestamp.
|
![]() | onPenUsbModeSetUpResponse |
Fired when pen response to your request that Sets the status of usb mode by PenCommV2.ReqSetupUsbMode method.
|
![]() | onReceiveBatteryAlarm |
Fired when changed status of battery, override to handle in your own code.
|
![]() | onReceiveDot |
Fired when receive a dot successfully, override to handle in your own code.
|
![]() | onReceiveFirmwareUpdateResult |
Fired when finished updating firmware, override to handle in your own code.
|
![]() | onReceiveFirmwareUpdateStatus |
This method is invoked by the PenCommV2 when it needs to notify the client side about the status of an firmware update operation being performed.
|
![]() | onReceiveOfflineDataList |
Fired when receive offline data list in Neo smartpen.
When you received this signal, you can request offline data to PenCommV2 by ReqOfflineData method.
|
![]() | onReceiveOfflineDataPageList |
Fired when receive offline data list in Neo smartpen.
When you received this signal, you can request offline data to PenCommV2 by ReqOfflineData method.
|
![]() | onReceiveOfflineStrokes |
This method is invoked by the PenCommV2 when it needs to notify the client side about the status of an download operation being performed.
|
![]() | onReceivePenStatus |
Fired when received status of pen, override to handle in your own code.
|
![]() | onRemovedOfflineData |
Fired when removed offline data, override to handle in your own code.
|
![]() | onStartOfflineDownload |
Fired when started downloading, override to handle in your own code.
|
![]() | onSymbolDetected |
Occur when you write on a symbol
|
