Class: DroidSim

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-macrodroid.rb

Defined Under Namespace

Classes: Application, Battery, Bluetooth, Calendar, DayTime, Headphones, Popup, Power, Service, Webhook, Wifi

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ DroidSim

Returns a new instance of DroidSim.



1202
1203
1204
1205
1206
1207
# File 'lib/ruby-macrodroid.rb', line 1202

def initialize()

  @bluetooth = Bluetooth.new self
  @popup = Popup.new self

end

Instance Attribute Details

#bluetooth ⇒ Object (readonly)

Returns the value of attribute bluetooth.



1200
1201
1202
# File 'lib/ruby-macrodroid.rb', line 1200

def bluetooth
  @bluetooth
end

Returns the value of attribute popup.



1200
1201
1202
# File 'lib/ruby-macrodroid.rb', line 1200

def popup
  @popup
end

Instance Method Details

#on_bluetooth_enabled ⇒ Object



1209
1210
1211
# File 'lib/ruby-macrodroid.rb', line 1209

def on_bluetooth_enabled()

end