Skip to main content

Function: onDidChangeTelemetryEnabled()

onDidChangeTelemetryEnabled(listener, thisArgs?, disposables?): Disposable

An Event which fires when the user enabled or disables telemetry. true if the user has enabled telemetry or false if the user has disabled telemetry.

Parameters

listener

thisArgs?: any

disposables?: Disposable[]

Returns

Disposable

Source

packages/extension-api/src/extension-api.d.ts:3360