IS_GetBatteryChargeLevel() public static method

public static IS_GetBatteryChargeLevel ( IntPtr state, Int32 &chargeLevel, Int32 &maxChargeLevel ) : void
state System.IntPtr
chargeLevel System.Int32
maxChargeLevel System.Int32
return void
Exemplo n.º 1
0
 /// <summary>
 /// Get the level of charge remaining in the headset battery
 /// </summary>
 /// <param name="chargeLevel">the current level of charge in the headset battery</param>
 /// <param name="maxChargeLevel">the maximum level of charge in the battery</param>
 public void GetBatteryChargeLevel(out Int32 chargeLevel, out Int32 maxChargeLevel)
 {
     EdkDll.IS_GetBatteryChargeLevel(hEmoState, out chargeLevel, out maxChargeLevel);
 }