The factory module contains classes which provide factory functions for creating concrete SiriObjects for specific purposes.
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 utterance.
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 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