C# Class MediaAppSample.Core.Services.DefaultAnalyticsProvider

If no analytics service was specified, this dummy class will be used which implements AnalyticsProviderBase but does not do anything. Used to prevent null value exceptions when any code tries to log to the analytics adapter.
Inheritance: AnalyticsServiceBase
Mostrar archivo Open project: Microsoft/TVHelpers

Public Methods

Method Description
Error ( Exception ex, string message = null ) : void
Event ( string eventName, string>.Dictionary metrics = null ) : void
NewPageView ( Type pageType ) : void
SetUsername ( string username ) : void

Method Details

Error() public method

public Error ( Exception ex, string message = null ) : void
ex System.Exception
message string
return void

Event() public method

public Event ( string eventName, string>.Dictionary metrics = null ) : void
eventName string
metrics string>.Dictionary
return void

NewPageView() public method

public NewPageView ( Type pageType ) : void
pageType System.Type
return void

SetUsername() public method

public SetUsername ( string username ) : void
username string
return void