> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Host notifications

> Notifications the DirectGVR host sends to skins.

## HashFile

### Complete

Triggered when file hashing is complete.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| digest | string | Hash digest. |
| successful | boolean | Whether or not the operation was successful. |

## HttpRequest

### Complete

Triggered when request is complete.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| httpCode | number | HTTP code of the request. |

#### HeaderDone

Triggered when the header is done.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| httpCode | number | HTTP code of the request. |

#### Start

Triggered when request is started.

**Version:**  3.6

## SkinApp

### newCommandLine

Triggered when a second instance run is attempted if "allowMultipleInstances": false is specified in the app config.

**Version:**  6.1

| Name | Type | Description |
| - | - | - |
| args | array | Command line arguments. The host's command line arguments are not raised. |

#### openWindow

Triggered when a new top level skin window is opened.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| skinWindow | string | New window instance id. |

## SkinFileExtract

### Complete

Triggered when the skin file extractor completes.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| successful | boolean | *true* if the file was read successfully, *false* otherwise. |

#### Start

Triggered when the skin file extractor starts.

**Version:**  3.6

## SkinWindow

### Activate

Triggered when the window's is activated by the user.

**Version:**  3.6

#### BeginMove

Triggered when the window is begins to move.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| x | number | X coordinate. |
| y | number | Y coordinate. |

#### BrowseForFileResponse

Triggered when a browse for file prompt is shown.

**Version:**  5.1

| **Name** | Type | Description |
| - | - | - |
| successful | boolean | Indicates whether or not the browse for file prompt was canceled or not. |
| path | string | Path that was selected by the user. |

#### BrowseForFolderResponse

Triggered when a browse for folder prompt is shown.

**Version:**  5.1

| **Name** | Type | Description |
| - | - | - |
| successful | boolean | Indicates whether or not the browse for folder prompt was canceled or not. |
| path | string | Path that was selected by the user. |

#### Close

Triggered when the window is closed.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |

#### ContextMenuSelect

Triggered when a context menu is selected.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| id | number | Id of the context menu selection. |

#### Deactivate

Triggered when the window's is activated by the user.

**Version:**  3.6

#### EndMove

Triggered when the window stops moving.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| x | number | X coordinate. |
| y | number | Y coordinate. |
| deltaX | number | Change in X coordinate position. |
| deltaY | number | Change in Y coordinate position. |

#### Hide

Triggered when the window is hidden.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |

#### Maximize

Triggered when the window is maximized.

**Version:**  5.2

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |

#### Message

Triggered when the window is receives an API message.

**Version:**  3.6

| **Parameter** | Type | Description |
| - | - | - |
| message | string | The API message that was received. |

#### MessageBoxResponse

Triggered when a message box prompt is shown.

**Version:**  5.1

| **Name** | Type | Description |
| - | - | - |
| successful | boolean | Indicates whether or not the browse for folder prompt was canceled or not. |
| result | number | Type indicating which button was selected. |

**Result Types**

| **Name** | Value |
| - | - |
| OK | 1 |
| Cancel | 2 |
| Yes | 4 |
| No | 8 |

#### Minimize

Triggered when the window is minimized.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |

#### MouseLeave

Triggered when the mouse leaves the window.

**Version:**  3.6

#### Move

Triggered when the window is moved.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |
| x | number | X coordinate. |
| y | number | Y coordinate. |

#### Restore

Triggered when the window is restored.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |

#### Show

Triggered when the window is shown.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |

#### Size

Triggered when the window is resized.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| frameNotification | boolean | *true* if the notification is a native window event, *false* otherwise. |
| width | number | Width of the window. |
| height | number | Height of the window. |

#### Sleep

Triggered when the computer goes to sleep.

**Version:**  4.0

#### ViewChange

Triggered when the window's view changes.

**Version:**  3.6

#### Wake

Triggered when the computer wakes up from sleep.

**Version:**  4.0

## TextFileReader

### Complete

Triggered when the text file reader completes.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| successful | boolean | *true* if the file was read successfully, *false* otherwise. |

#### Read

Triggered when the text file reader, reads text.

**Version:**  3.6

| **Name** | Type | Description |
| - | - | - |
| text | string | Text that was read. |

#### Start

Triggered when the text file reader starts.

**Version:**  3.6


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.