The baseObject module

The baseObject class contains the definition of the base class for all objects that can be sent to the iPhone, or to Apple’s web server.

The SiriObject class

Inheritance diagram of pysiriproxy.objects.baseObject.SiriObject

class pysiriproxy.objects.baseObject.SiriObject(className, group)[source]

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.

ProtocolVersion

The identifier which indicates the version of the protocol.

classmethod isArgumentList(obj)[source]

Determine if the given object is a list of arguments, or not.

  • obj – The object
classmethod isSiriObject(obj)[source]

Determine if the given object is a SiriObject, or not.

  • obj – The object
makeRoot(refId=None, aceId=None)[source]

Make the SiriObject the root object.

  • refId – The refId for this object
  • aceId – The aceId for this object
setAceId(aceId=None)[source]

Set the ace id for this object.

  • aceId – The aceId for this object
setNonNoneArguments(argumentNames, localVars)[source]

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.

  • argumentNames – The list of argument names to set
  • localVars – The local variables
setRefId(refId=None)[source]

Set the ref id for this object.

  • refId – The refId for this object
toDict()[source]

Convert this object into a Python dictionary.

Table Of Contents

Previous topic

The objects module

Next topic

The dataObjects module

This Page