C# Class GoogleCloudExtension.Analytics.EventsReporterWrapper

Helper class to deal with analytics events.
Afficher le fichier Open project: GoogleCloudPlatform/google-cloud-visualstudio

Méthodes publiques

Méthode 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

Méthode Description
CreateReporter ( ) : IEventsReporter

Method Details

AnalyticsOptInStateChanged() public static méthode

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

EnsureAnalyticsOptIn() public static méthode

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

ReportEvent() public static méthode

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
Résultat void