RobotStudio event

How to Use Energy API of RobotStudio SDK?

Options
In my work, I need to get energy consumption through C#. The RobotStudio SDK has offered a energy API ,shown in http://developercenter.robotstudio.com/blobproxy/devcenter/RobotStudio/html/2cd59b64-d43b-ab13-6979-f0b9084fe2bf.htm#!, but the API Reference is so simple that i don't konw how to use it. And the offered code samples also don't show how to use it. can anyone tell me how to use the energy API?