Battery percentage update
Last updated
Last updated
public void OnBatteryUpdate(JMRInteractionManager.InteractionDeviceType deviceType, int index, int percentage)
Parameters | Description |
---|---|
To get notified when the battery percentage is updated need to implement the callback method exposed through InteractionManager:
OnBatteryUpdate(JMRInteractionManager.InteractionDeviceType deviceType, int index, int percentage)
Action will be called only when itโs subscribed to a method. Action must be subscribed to a method with a matching signature.
InteractionDeviceType
Type of device connected
index
Index of connected device
percentage
Percentage of Battery