AeroGear Xamarin SDK
AeroGear.Mobile.Core.Metrics.MetricsService Class Reference
Inheritance diagram for AeroGear.Mobile.Core.Metrics.MetricsService:

Public Member Functions

 MetricsService ()
void Configure (MobileCore core, ServiceConfiguration config)
void Destroy ()
 Called when singleThreadService destroyed. More...
Task Publish (string type, params IMetrics[] metrics)
Task SendAppAndDeviceMetrics ()

Public Attributes

string Id => identifier
string Type => "metrics"
bool RequiresConfiguration => true

Additional Inherited Members

- Properties inherited from AeroGear.Mobile.Core.IServiceModule
String Id [get]
String Type [get]
 Type/name used in the mobile-singleThreadService.json More...
bool RequiresConfiguration [get]
 Whether the singleThreadService module requires its singleThreadService configuration to be defined or if it can be null. If this is More...

Constructor & Destructor Documentation

◆ MetricsService()

AeroGear.Mobile.Core.Metrics.MetricsService.MetricsService ( )

Member Function Documentation

◆ Configure()

void AeroGear.Mobile.Core.Metrics.MetricsService.Configure ( MobileCore  core,
ServiceConfiguration  config 

◆ Destroy()

void AeroGear.Mobile.Core.Metrics.MetricsService.Destroy ( )

Called when singleThreadService destroyed.

Implements AeroGear.Mobile.Core.IServiceModule.

◆ Publish()

Task AeroGear.Mobile.Core.Metrics.MetricsService.Publish ( string  type,
params IMetrics []  metrics 

◆ SendAppAndDeviceMetrics()

Task AeroGear.Mobile.Core.Metrics.MetricsService.SendAppAndDeviceMetrics ( )

Member Data Documentation

◆ Id

string AeroGear.Mobile.Core.Metrics.MetricsService.Id => identifier

◆ RequiresConfiguration

bool AeroGear.Mobile.Core.Metrics.MetricsService.RequiresConfiguration => true

◆ Type

string AeroGear.Mobile.Core.Metrics.MetricsService.Type => "metrics"

The documentation for this class was generated from the following file: