PenCommV1Callbacks.onReceivedPenStatus Method

Neo smartpen SDK

PenCommV1CallbacksonReceivedPenStatus Method

Fired when received status of pen, override to handle in your own code.

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#
void onReceivedPenStatus(
	IPenComm sender,
	int timeoffset,
	long timetick,
	int maxForce,
	int battery,
	int usedmem,
	int pencolor,
	bool autopowerMode,
	bool accelerationMode,
	bool hoverMode,
	bool beep,
	short autoshutdownTime,
	short penSensitivity,
	string modelName
)

Parameters

sender
Type: Neosmartpen.NetIPenComm
sender refers to the object that invoked the callback method
timeoffset
Type: SystemInt32
timestamp offset, you should ignore it
timetick
Type: SystemInt64
timestamp, pen knew
maxForce
Type: SystemInt32
maximum level of pressure sensor
battery
Type: SystemInt32
battery status of pen
usedmem
Type: SystemInt32
memory status of pen
pencolor
Type: SystemInt32
color status of pen
autopowerMode
Type: SystemBoolean
the status of the auto power on property that if write the unpowered pen, power on.
accelerationMode
Type: SystemBoolean
the status of the acceleration sensor property
hoverMode
Type: SystemBoolean
the status of the hover mode property
beep
Type: SystemBoolean
the status of the beep property
autoshutdownTime
Type: SystemInt16
the status of the auto shutdown time property
penSensitivity
Type: SystemInt16
the status of pen's sensitivity property
modelName
Type: SystemString

[Missing <param name="modelName"/> documentation for "M:Neosmartpen.Net.Protocol.v1.PenCommV1Callbacks.onReceivedPenStatus(Neosmartpen.Net.IPenComm,System.Int32,System.Int64,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Int16,System.Int16,System.String)"]

See Also