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

***

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

# Type Alias: OnGoingOnlineCallback()

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

Callback type for when the view goes online.
The online counter can be used to determine if CanKing has been offline and come back online 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`
