aerogear-xamarin-sdk
AeroGear Xamarin SDK
AeroGear.Mobile.Core.Metrics.AbstractMetricsPublisher Class Referenceabstract
Inheritance diagram for AeroGear.Mobile.Core.Metrics.AbstractMetricsPublisher:
AeroGear.Mobile.Core.Metrics.IMetricsPublisher AeroGear.Mobile.Core.Metrics.Publishers.NetworkMetricsPublisher

Public Member Functions

 AbstractMetricsPublisher ()
 
abstract Task Publish (string type, IMetrics[] metrics)
 

Protected Member Functions

JsonObject createMetricsJSONObject (string type, IMetrics[] metrics)
 

Constructor & Destructor Documentation

◆ AbstractMetricsPublisher()

AeroGear.Mobile.Core.Metrics.AbstractMetricsPublisher.AbstractMetricsPublisher ( )

Member Function Documentation

◆ createMetricsJSONObject()

JsonObject AeroGear.Mobile.Core.Metrics.AbstractMetricsPublisher.createMetricsJSONObject ( string  type,
IMetrics []  metrics 
)
protected

Parse metrics into a JSONObject and add common information for all metrics requests:

Parameters
typethe type of metrics
metricsmetrics
Returns
a JSONObject

◆ Publish()

abstract Task AeroGear.Mobile.Core.Metrics.AbstractMetricsPublisher.Publish ( string  type,
IMetrics []  metrics 
)
pure virtual

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