Confusion about UsageCounter vs UsageReporter
williamw
Posts: 13 Bronze 1
The documentation examples for feature usage reporting use "UsageCounter.ReportUsage" to report feature usage.
The SDK templates define a class that inherits from UsageReporter and define static methods FeatureUsed and DynamicFeatureUsed. There is no documentation on the purpose of these methods, or on the UsageReporter.RecordFeatureUsed methods that they call.
If I am using a custom template, what should my code be calling to report feature usage? UsageCounter.ReportUsage or UsageReporterWithUI.DynamicFeatureUsed?
The SDK templates define a class that inherits from UsageReporter and define static methods FeatureUsed and DynamicFeatureUsed. There is no documentation on the purpose of these methods, or on the UsageReporter.RecordFeatureUsed methods that they call.
If I am using a custom template, what should my code be calling to report feature usage? UsageCounter.ReportUsage or UsageReporterWithUI.DynamicFeatureUsed?
Comments
Use:
UsageCounter.ReportUsage
The other one is deprecated.