FMLiveSwitchMetricMonitorStateChangeEventArgs Class Reference

Metric monitor state change event args. More...

Instance Methods

(instancetype) - initWithState:value:threshold:trend:
 Construct MetricMonitorStateChangeEventArgs. More...
 
(FMLiveSwitchMetricMonitorState) - state
 Gets the monitor's State. More...
 
(int) - threshold
 Gets the metric's threshold value. More...
 
(float) - trend
 Gets the metric's trend. More...
 
(int) - value
 Gets the metric value. More...
 

Class Methods

(FMLiveSwitchMetricMonitorStateChangeEventArgs *) + metricMonitorStateChangeEventArgsWithState:value:threshold:trend:
 Construct MetricMonitorStateChangeEventArgs. More...
 

Detailed Description

Metric monitor state change event args.

Method Documentation

◆ initWithState:value:threshold:trend:

- (instancetype) initWithState: (FMLiveSwitchMetricMonitorState)  state
value: (int)  value
threshold: (int)  threshold
trend: (float)  trend 

Construct MetricMonitorStateChangeEventArgs.

Parameters
state
value
threshold
trend

◆ metricMonitorStateChangeEventArgsWithState:value:threshold:trend:

+ (FMLiveSwitchMetricMonitorStateChangeEventArgs*) metricMonitorStateChangeEventArgsWithState: (FMLiveSwitchMetricMonitorState)  state
value: (int)  value
threshold: (int)  threshold
trend: (float)  trend 

Construct MetricMonitorStateChangeEventArgs.

Parameters
state
value
threshold
trend

◆ state

- (FMLiveSwitchMetricMonitorState) state

Gets the monitor's State.

◆ threshold

- (int) threshold

Gets the metric's threshold value.

◆ trend

- (float) trend

Gets the metric's trend.

◆ value

- (int) value

Gets the metric value.