Battery percentage update
public void OnBatteryUpdate(JMRInteractionManager.InteractionDeviceType deviceType, int index, int percentage)
Parameters
Description
InteractionDeviceType
Type of device connected
index
Index of connected device
percentage
Percentage of Battery
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.
Last updated