--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Add a callback which will be invoked upon an incoming file-transfer
- !ruby/struct:SM::Flow::P 
  body: "block takes two arguments:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Iq
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Bytestreams::IqSiFile in the Iq
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: You may then invoke accept or decline
full_name: Jabber::FileTransfer::Helper#add_incoming_callback
is_singleton: false
name: add_incoming_callback
params: (priority = 0, ref = nil, &block)
visibility: public
