The views module
The views module contains classes pertaining to creating objects which
can be sent to the iPhone or the Guzzoni web server which pertain to
creating views on the iPhone.
The _AddViews class
-
class pysiriproxy.objects.views._AddViews(scrollToTop=False, temporary=False, dialogPhase='Completion', views=None)[source]
The _AddViews class creates an object that can create a series of views
to be displayed on the iPhone.
The _Utterance class
-
class pysiriproxy.objects.views._Utterance(displayText='', spokenText=None, listenAfterSpeaking=False, dialogIdentifier='Misc#ident')[source]
The _Utterance class creates an object that can display a given piece
of text and have Siri speak another given piece of text (or the same
piece of text).
The _MapItemSnippet class
-
class pysiriproxy.objects.views._MapItemSnippet(userCurrentLocation=True, items=None)[source]
The _MapItemSnippet class creates a map item snippet to be displayed
to the iPhone user.
The _AnswerSnippet class
-
class pysiriproxy.objects.views._AnswerSnippet(answers=None, confirmationOptions=None)[source]
The _AnswerSnipper class creates an answer snippet to be displayed
to the iPhone user.
The Views class
-
class pysiriproxy.objects.views.Views[source]
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.
-
AddViews
The AddViews object type.
-
AnswerSnippet
The AnswerSnippet object type.
-
MapItemSnippet
The MapItemSnippet object type.
-
Utterance
The Utterance object type.
-
classmethod create(viewType, *args, **kwargs)[source]
Create a View of the given type.
- viewType – The type of View to create
- args – The arguments
- kwargs – The keyword arguments to create