Table 68 summarizes the methods of the AgentMetaData class.
Member method | Description | Page |
---|---|---|
AgentMetaData() | Creates an agent-metadata object. | AgentMetaData() |
toXml() | Copies the specified property into the current AgentProperty object. | toXml() |
Creates an agent-metadata object.
public AgentMetaData(ODKAgentBase2 ODAobject); public AgentProperty(ODKAgentBase2 ODAobject, String version);
A newly instantiated AgentMetaData object.
The AgentMetaData() method queries the ODAobject ODA for its supported content. This constructor provides the following forms for instantiating a new AgentMetaData object:
Both of these forms of the constructor use the ODAobject reference to query the ODA for its supported content. Using this information, the constructor initialize the supportedContent member variable.
public String toXml();
None.
A String that contains the XML format for the current AgentMetaData object.