C# Class GoogleCloudExtension.Analytics.EventsReporterWrapper

Helper class to deal with analytics events.
Datei anzeigen Open project: GoogleCloudPlatform/google-cloud-visualstudio

Public Methods

Method Description
AnalyticsOptInStateChanged ( ) : void

Called when the user changes the opt-in state to invalidate the state of the reporter.

EnsureAnalyticsOptIn ( ) : void

Ensures that the opt-in dialog is shown to the user.

ReportEvent ( AnalyticsEvent eventData ) : void

Called to report an interesting event to analytics. If there's a queue of events it will be flushed as well.

Private Methods

Method Description
CreateReporter ( ) : IEventsReporter

Method Details

AnalyticsOptInStateChanged() public static method

Called when the user changes the opt-in state to invalidate the state of the reporter.
public static AnalyticsOptInStateChanged ( ) : void
return void

EnsureAnalyticsOptIn() public static method

Ensures that the opt-in dialog is shown to the user.
public static EnsureAnalyticsOptIn ( ) : void
return void

ReportEvent() public static method

Called to report an interesting event to analytics. If there's a queue of events it will be flushed as well.
public static ReportEvent ( AnalyticsEvent eventData ) : void
eventData AnalyticsEvent
return void