Module: RawSensors
- Defined in:
- lib/framework/autocomplete/RawSensors.rb,
lib/extensions/rawsensors/rawsensors.rb
Overview
It is auto-generated content. Do not do required for this file in your application.
Constant Summary collapse
- ACCELEROMETER =
'accelerometer'
- MAGNETOMETER =
'magnetometer'
Class Method Summary collapse
- .accelerometer=(argument) ⇒ Object
- .all=(argument) ⇒ Object
- .ambientlight=(argument) ⇒ Object
- .deviceOrientation=(argument) ⇒ Object
- .ecompass=(argument) ⇒ Object
- .getSensorData ⇒ Object
- .gravity=(argument) ⇒ Object
- .gyroscope=(argument) ⇒ Object
- .humidity=(argument) ⇒ Object
- .is_available(sensor) ⇒ Object
- .linearAcceleration=(argument) ⇒ Object
- .magnetometer=(argument) ⇒ Object
- .method_missing(name, *args) ⇒ Object
- .minimumInterval=(argument) ⇒ Object
- .motion=(argument) ⇒ Object
- .orientation=(argument) ⇒ Object
- .pressure=(argument) ⇒ Object
- .proximity=(argument) ⇒ Object
- .proximitylongrange=(argument) ⇒ Object
- .rotation=(argument) ⇒ Object
- .sensorEvent=(argument) ⇒ Object
- .setEmml(argument) ⇒ Object
- .temperature=(argument) ⇒ Object
- .tiltangle=(argument) ⇒ Object
Class Method Details
.accelerometer=(argument) ⇒ Object
8 9 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 8 def self.accelerometer=(argument) end |
.all=(argument) ⇒ Object
42 43 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 42 def self.all=(argument) end |
.ambientlight=(argument) ⇒ Object
22 23 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 22 def self.ambientlight=(argument) end |
.deviceOrientation=(argument) ⇒ Object
10 11 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 10 def self.deviceOrientation=(argument) end |
.ecompass=(argument) ⇒ Object
16 17 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 16 def self.ecompass=(argument) end |
.getSensorData ⇒ Object
13 14 15 |
# File 'lib/extensions/rawsensors/rawsensors.rb', line 13 def self.getSensorData RawSensorsNative.getSensorData end |
.gravity=(argument) ⇒ Object
34 35 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 34 def self.gravity=(argument) end |
.gyroscope=(argument) ⇒ Object
20 21 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 20 def self.gyroscope=(argument) end |
.humidity=(argument) ⇒ Object
32 33 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 32 def self.humidity=(argument) end |
.is_available(sensor) ⇒ Object
9 10 11 |
# File 'lib/extensions/rawsensors/rawsensors.rb', line 9 def self.is_available(sensor) return RawSensorsNative.is_available(sensor) end |
.linearAcceleration=(argument) ⇒ Object
36 37 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 36 def self.linearAcceleration=(argument) end |
.magnetometer=(argument) ⇒ Object
18 19 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 18 def self.magnetometer=(argument) end |
.method_missing(name, *args) ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/extensions/rawsensors/rawsensors.rb', line 21 def method_missing(name, *args) unless name == Fixnum if name[name.length()-1] == '=' RawSensorsNative.set_property(name.to_s.chop,(args[0]!=nil) ? args[0].to_s : "") else RawSensorsNative.get_property(name.to_s) end end end |
.minimumInterval=(argument) ⇒ Object
44 45 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 44 def self.minimumInterval=(argument) end |
.motion=(argument) ⇒ Object
14 15 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 14 def self.motion=(argument) end |
.orientation=(argument) ⇒ Object
40 41 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 40 def self.orientation=(argument) end |
.pressure=(argument) ⇒ Object
28 29 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 28 def self.pressure=(argument) end |
.proximity=(argument) ⇒ Object
24 25 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 24 def self.proximity=(argument) end |
.proximitylongrange=(argument) ⇒ Object
26 27 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 26 def self.proximitylongrange=(argument) end |
.rotation=(argument) ⇒ Object
38 39 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 38 def self.rotation=(argument) end |
.sensorEvent=(argument) ⇒ Object
48 49 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 48 def self.sensorEvent=(argument) end |
.setEmml(argument) ⇒ Object
50 51 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 50 def self.setEmml(argument) end |
.temperature=(argument) ⇒ Object
30 31 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 30 def self.temperature=(argument) end |
.tiltangle=(argument) ⇒ Object
12 13 |
# File 'lib/framework/autocomplete/RawSensors.rb', line 12 def self.tiltangle=(argument) end |