
API IF_WD_CLIENT_INFORMATION enables you to find out specific information about the client and to respond to this in your application.
| Method | Description | Values |
|---|---|---|
| GET_CLIENT_WIDTH | Returns the width of the browser window | Value in pixels |
| GET_CLIENT_HEIGHT | Returns the height of the browser window | Value in pixels |
| GET_SCREEN_WIDTH | Returns the width of the screen |
Value in pixels |
| GET_SCREEN_HEIGHT | Returns the height of the screen |
Value in pixels |
| GET_DEVICE_TYPE | Returns the type of device the application is running on |
|
| GET_SCREEN_ORIENTATION | Returns the orientation of the screen |
|
| GET_FLASH_AVAILABLE | Tells you whether the Flash plug-in is installed or activated in the browser |
|
| GET_JAVA_AVAILABLE | Tells you whether the Java plug-in is installed or activated in the browser |
|
| GET_PDF_AVAILABLE | Tells you whether the Adobe Reader plug-in is installed or activated in the browser |
|
| GET_SILVERLIGHT_AVAILABLE | Tells you whether the Silverlight plug-in is installed or activated in the browser |
|
The API provides the following methods too:
| Method | Description |
|---|---|
| REGISTER | Registers an event handler on a client event (for example, a change to the browser window size, or a missing browser plug-in). The event handler is called when the event occurs. |
| UNREGISTER | Deletes the event registration |
To retrieve an instance of IF_WD_CLIENT_INFORMATION, you use method GET_CLIENT_INFORMATIONof interface IF_WD_APPLICATION.
You can find an application example in the system in component WDR_TEST_CLIENT_INFO.