Class Confidence
Class that implements the confidence XML schema described in RFC 7459. This class is used for the confidence element within a location-info element in a PIDF-LO XML document.
Inherited Members
Namespace: Pidf
Assembly: Ng911Lib.dll
Syntax
[Serializable]
public class Confidence
Constructors
| Edit this page View SourceConfidence()
Default constructor
Declaration
public Confidence()
Confidence(string, string)
Creates a new Confidence object given the value
Declaration
public Confidence(string strVal, string strPdf)
Parameters
Type | Name | Description |
---|---|---|
string | strVal | Confidence value. Must be either "unknown" or the string representation of an integer value between 0 and 100. |
string | strPdf | Probability distribution function. Must be "unknown", "normal" or "rectangular". |
Fields
| Edit this page View SourceValue
The value of a confidence element is either unknown or a string that represents an integer percentage value between 0 and 100.
Declaration
public string Value
Field Value
Type | Description |
---|---|
string |
Attribute that describes the shape of the Probability Distribution Function (PDF)
Declaration
public string pdf
Field Value
Type | Description |
---|---|
string |