PenCommV2Callbacks.onReceiveBatteryAlarm Method

Neo smartpen SDK

PenCommV2CallbacksonReceiveBatteryAlarm Method

Fired when changed status of battery, 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)
Syntax
C#
void onReceiveBatteryAlarm(
	IPenComm sender,
	int battery
)

Parameters

sender
Type: Neosmartpen.NetIPenComm
sender refers to the object that invoked the callback method
battery
Type: SystemInt32
percentage of battery
See Also