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
The listener function will be called when the event happens.
• thisArgs?: any
The this
-argument which will be used when calling the event listener.
• disposables?: Disposable
[]
An array to which the resulting Disposable will be added.
Returns
A disposable which unsubscribes the event listener.