[**Kvaser CanKing GUI Extensions SDK v7.4.0**](../../README.md)

***

[Kvaser CanKing GUI Extensions SDK](../../modules.md) / [hooks](../README.md) / OnGoingOfflineCallback

# Type Alias: OnGoingOfflineCallback()

> **OnGoingOfflineCallback** = (`isNewView`, `isMounting`, `onlineCounter`) => `void`

Callback type for when the view goes offline.
The online counter can be used to determine if CanKing has been online and come back offline while the view was unmounted.

## Parameters

### isNewView

`boolean`

Whether the view is newly created.

### isMounting

`boolean`

Whether the view is mounting.

### onlineCounter

`number`

The number of times CanKing has gone online (including the current one).

## Returns

`void`
