The dataObjects module contains classes pertaining to creating objects which can be sent to the iPhone or the Guzzoni web server which contain various types of data to be displayed to the user.
The _Location class provides the ability to create a SiriObject which contains a specific map location to be displayed to the user.
The _CurrentLocation class creates an object that displays the user’s current location as a map item.
The SiriObject class encapsulates the base functionality for all object being sent to the iPhone or to the Guzzoni web server.
Note
This class is meant to be subclassed to provide the implementation for a specific object.
Determine if the given object is a list of arguments, or not.
Determine if the given object is a SiriObject, or not.
Make the SiriObject the root object.
Set the ace id for this object.
Takes a list of strings which represent names of input variables and sets properties of the same name on the current object if the value of the argument is not None.
Set the ref id for this object.
Convert this object into a Python dictionary.
The _MapItem creates an object that displayed to the user as a map item.
The DataObjects class provides definitions of various types of objects to display data to the Siri user.
This class also provides a factory method for creating objects of specific types.
The object type corresponding to Siri’s answer to a user’s question.
The object type corresponding to a single answer line.
The object type corresponding to creating an item on a map corresponding to the iPhone’s current location.
The object type corresponding to a map location.
The object type corresponding to creating an item on a map.
Create a DataObject of the given type.