Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added JS equivalent

...

Insert excerpt
BrightScript Version Navigation Menu
BrightScript Version Navigation Menu
nopaneltrue
This object implements the ifInt and ifString interfaces to report the index of an attached network interface. Instances of this object are posted by roNetworkHotplugwhen a configured network connection becomes available. For Ethernet, it may take some time after the cable is inserted for this to take place. The JavaScript equivalent is networkhotplug.

ifInt

GetInt() As Integer

Returns the interface ID of the event. This method returns -1 VLAN interfaces; use GetString() to retrieve the interface name.

...

Returns the user data that has previously been set via SetUserData() (either on the source or event object). This method will return Invalid if no data has been set.