Contains information about a browser event.
Namespace: Vrml.EAI.Event
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public class BrowserEvent  
Collapse/Expand Remarks
When you implement a BrowserDelegate, you'll get a BrowserEvent object as a parameter that contains a reference to the Browser object whose status changed as well as an event ID that specifies what exactly happened.
Collapse/Expand Members

Click here to see the list of members.

Collapse/Expand Example
The following example shows the skeleton of a browser delegate, and how the BrowserEvent object is used inside the delegate:
C#
private static void OnBrowserEvent(Vrml.EAI.Event.BrowserEvent evt)
{
    // Get the Browser object whose status changed
    Vrml.EAI.Browser browser = evt.Source;
    switch (evt.ID)
    {
    case Vrml.EAI.Event.BrowserEvent.INITIALIZED:
        // The browser finished to load a new scene
        ...
        break;
    case Vrml.EAI.Event.BrowserEvent.SHUTDOWN:
        // The browser is about to unload a scene
        ...
        break;
    case Vrml.EAI.Event.BrowserEvent.URL_ERROR:
        // Download from an URL failed
        ...
        break;
    case Vrml.EAI.Event.BrowserEvent.CONNECTION_ERROR:
        // An error occurred when communicating with the browser
        ...
        break;
    }
}