The objectClasses module

The objectClasses module contains functions and attributes which are used to create object class filters for plugins.

An object class filter is a plugin function which will be notified in the event that pysiriproxy receives an object of a specific type (or class).

pysiriproxy.plugins.objectClasses.createClassFilter(className)

Create an function decorator which acts as an object class filter. When used this decorator will filter any object that does not have the same class name as the given class name. Plugins can use the decorator to create object filter functions.

  • className: The name of the object class which this decorator will filter
pysiriproxy.plugins.objectClasses.ClearContext()

Filter received objects for those with the ClearContext class.

pysiriproxy.plugins.objectClasses.AnyObject()

Filter received objects for those with the AnyObject class.

pysiriproxy.plugins.objectClasses.SpeechPacket()

Filter received objects for those with the SpeechPacket class.

pysiriproxy.plugins.objectClasses.SetApplicationContext()

Filter received objects for those with the SetApplicationContext class.

pysiriproxy.plugins.objectClasses.StartSpeechRequest()

Filter received objects for those with the StartSpeechRequest class.

pysiriproxy.plugins.objectClasses.CancelSpeech()

Filter received objects for those with the CancelSpeech class.

pysiriproxy.plugins.objectClasses.CommandIgnored()

Filter received objects for those with the CommandIgnored class.

pysiriproxy.plugins.objectClasses.FinishSpeech()

Filter received objects for those with the FinishSpeech class.

pysiriproxy.plugins.objectClasses.CancelRequest()

Filter received objects for those with the CancelRequest class.

pysiriproxy.plugins.objectClasses.SetRequestOrigin()

Filter received objects for those with the SetRequestOrigin class.

pysiriproxy.plugins.objectClasses.SetRestrictions()

Filter received objects for those with the SetRestrictions class.

pysiriproxy.plugins.objectClasses.CommandFailed()

Filter received objects for those with the CommandFailed class.

pysiriproxy.plugins.objectClasses.LoadAssistant()

Filter received objects for those with the LoadAssistant class.

pysiriproxy.plugins.objectClasses.RequestCompleted()

Filter received objects for those with the RequestCompleted class.

pysiriproxy.plugins.objectClasses.StartRequest()

Filter received objects for those with the StartRequest class.

pysiriproxy.plugins.objectClasses.SpeechRecognized()

Filter received objects for those with the SpeechRecognized class.

Previous topic

The speechRules module

Next topic

The interpreter module

This Page