C# Class ChatterBox.Client.Universal.Background.StatsManager

Show file Open project: openpeer/ChatterBox

Public Methods

Method Description
DisableTelemetry ( bool disable ) : void
Initialize ( RTCPeerConnection pc ) : void
Reset ( ) : void
StartCallWatch ( ) : void
StatsManager ( ) : System
StopCallWatch ( ) : void
TrackEvent ( String name ) : void
TrackEvent ( String name, string>.IDictionary props ) : void
TrackException ( Exception e ) : void
TrackMetric ( String name, double value ) : void

Private Methods

Method Description
PeerConnection_OnRTCStatsReportsReady ( RTCStatsReportsReadyEvent evt ) : void
ProcessReports ( IList reports ) : void
ToMetricName ( RTCStatsValueName name ) : string

Method Details

DisableTelemetry() public method

public DisableTelemetry ( bool disable ) : void
disable bool
return void

Initialize() public method

public Initialize ( RTCPeerConnection pc ) : void
pc RTCPeerConnection
return void

Reset() public method

public Reset ( ) : void
return void

StartCallWatch() public method

public StartCallWatch ( ) : void
return void

StatsManager() public method

public StatsManager ( ) : System
return System

StopCallWatch() public method

public StopCallWatch ( ) : void
return void

TrackEvent() public method

public TrackEvent ( String name ) : void
name String
return void

TrackEvent() public method

public TrackEvent ( String name, string>.IDictionary props ) : void
name String
props string>.IDictionary
return void

TrackException() public method

public TrackException ( Exception e ) : void
e System.Exception
return void

TrackMetric() public method

public TrackMetric ( String name, double value ) : void
name String
value double
return void