The factory module contains classes which provide factory functions for creating concrete SiriObjects for specific purposes.
The Commands class contains the various types of Commands as well as a function for creating Commands of a specific type.
This class provides a factory method for creating Commands of a specific type.
The CancelRequest command type.
The CancelSnippet command type.
The ConfirmSnippet command type.
The ConfirmationOptions command type.
The ResultCallback command type.
The SendCommands command type.
Create a Command of the specific type.
Contains the various types of Views as well as a function for creating Views of a specific type.
This class also contains a factory method for creating views of a specific type.
The AddViews object type.
The AnswerSnippet object type.
The MapItemSnippet object type.
The ShowMapPoints object type.
The Utterance object type.
Create a View of the given type.
The SiriObject class encapsulates the base functionality for all object being sent to the iPhone or to Apple’s web server.
Note
This class is meant to be subclassed to provide the implementation for a specific object.
The identifier which indicates the version of the protocol.
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 ObjectFactory provides factory methods for constructing concrete SiriObject objects of specific types.
Create a SiriObject Action of the specific type.
Create a SiriObject Button of the specific type.
Create a SiriObject for the current location.
Create a SiriObject to display directions between two locations.
Create driving directions between the two locations.
Create a SiriObject location.
street – The string containing the street for the location
city – The string containing the city for the location
stateCode – The string containing the state code for the location
location
postalCode – The string containing the postal code for the location
latitude – The string containing the latitude for the location
longitude – The string containing the longitude for the location
Create a SiriObject map item.
Create public transportation directions between the two locations.
Create a SiriObject utterance.
The Actions class contains a list of Action types as well as a function for creating specific types of Actions.
This class provides a factory function for creating Actions of a specific type.
The CustomCommand action type.
The WebSearch action type.
Return a specific Action wrapped in a SendCommands object so it can be sent to Siri as a command.
The Buttons class contains the various types of Buttons as well as a function for creating Buttons of a specific type.
This class provides a factory function for creating Buttons of a specific type.
A button that executes a custom command when it is pressed.
A button that performs a web search for a specific query when it is pressed.
Create a Button of the given type.
The ResponseFactory is responsible for creating specific SiriObject responses to be sent from pysiriproxy to the iPhone user. These responses include things such as, creating a view composed of SiriObjects, sending a request completed object, and others.
Create directions to be sent to the iPhone.
Create driving directions to be sent to the iPhone.
Create public transportation directions to be sent to the iPhone.
Create a request completed object.
Create an utterance with the given display text, and spoken text.
refId – The reference id
displayText – The text to be displayed
spokenText – The text to be spoken by Siri
after speaking, False otherwise
Create an utterance view composed of several sub objects.
refId – The reference id
or a list of tuple arguments to create SiriObjects
dialogPhase – The dialogPhase
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.
The Requests class contains the various types of Requests as well as a function for creating Requests of a specific type.
This class contains a factory method for creating Request object of a specific type.
The GetRequestOrigin object type.
The RequestCompleted object type.
The SetRequestOrigin object type.
The StartRequest object type.
Create a Request of the given type.