Class: SiriStartRequest

Inherits:
SiriObject show all
Defined in:
lib/siri_objects.rb

Overview

iPhone Responses (misc meta data back to the server)

Instance Attribute Summary

Attributes inherited from SiriObject

#group, #klass, #properties

Instance Method Summary collapse

Methods inherited from SiriObject

#make_root, #to_hash

Constructor Details

#initialize(utterance = "Testing", handsFree = false, proxyOnly = false) ⇒ SiriStartRequest

Returns a new instance of SiriStartRequest.



292
293
294
295
296
297
298
299
# File 'lib/siri_objects.rb', line 292

def initialize(utterance="Testing", handsFree=false, proxyOnly=false)
  super("StartRequest", "com.apple.ace.system")
  self.utterance = utterance
  self.handsFree = handsFree
  if proxyOnly # dont send local when false since its non standard
    self.proxyOnly = proxyOnly
  end
end