Kvaser CanKing GUI Extensions SDK - v7.4.0
    Preparing search index...

    Type Alias OnGoingOfflineCallback

    OnGoingOfflineCallback: (
        isNewView: boolean,
        isMounting: boolean,
        onlineCounter: number,
    ) => 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.

    Type Declaration

      • (isNewView: boolean, isMounting: boolean, onlineCounter: number): void
      • 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