Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerptBrightScript Version Navigation MenuBrightScript Version Navigation MenunopaneltrueThe roPowerEvent object triggers if you switch between plugged in AC and PoE.

Object Creation: The roPowerEvent object is created as follows:

Code Block
CreateObject("roPowerEvent", a As String, b As String) As Object

IfPowerEvent

GetData() As Object

Returns current state and requested state when it has switched from the current state to the requested state.

Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

IfPowerEvent

GetData() As Object

Returns current state and requested state when it has switched from the current state to the requested state.