Packagecom.esri.tracking.connector
Classpublic class Observation
InheritanceObservation Inheritance Object

Provides access to Observation returned from Tracking Server. Instances are created internally. The constructor should not be used.



Public Properties
 PropertyDefined By
  messageDefinition : MessageDefinition
[read-only] The message definition associated with this Observation.
Observation
Public Methods
 MethodDefined By
  
getAttribute(name:String):Object
Returns the value of the given attribute in this observation.
Observation
  
Returns the end Timestamp for this observation.
Observation
  
Returns the geometry for this observation as a TmsGeometry type.
Observation
  
Returns the Service name for this observation.
Observation
  
Returns the start Timestamp for this observation.
Observation
  
getTrackID():String
Returns the Track ID for this observation.
Observation
Property Detail
messageDefinitionproperty
messageDefinition:MessageDefinition  [read-only]

The message definition associated with this Observation. You may use this to get the schema of the message.


Implementation
    public function get messageDefinition():MessageDefinition
Method Detail
getAttribute()method
public function getAttribute(name:String):Object

Returns the value of the given attribute in this observation.

Parameters

name:String — Name of the attribute.

Returns
Object
getEndTimestamp()method 
public function getEndTimestamp():Date

Returns the end Timestamp for this observation.

Returns
Date
getGeometry()method 
public function getGeometry():TmsGeometry

Returns the geometry for this observation as a TmsGeometry type.

Returns
TmsGeometry

See also

getServiceName()method 
public function getServiceName():String

Returns the Service name for this observation.

Returns
String
getStartTimestamp()method 
public function getStartTimestamp():Date

Returns the start Timestamp for this observation.

Returns
Date
getTrackID()method 
public function getTrackID():String

Returns the Track ID for this observation.

Returns
String