How can we help you today? How can we help you today?

Confusion about UsageCounter vs UsageReporter

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?
williamw
0

Comments

1 comment

  • Chris.Allen
    Sorry for the lack of documentation.

    Use:

    UsageCounter.ReportUsage


    The other one is deprecated.
    Chris.Allen
    0

Add comment

Please sign in to leave a comment.