C# Class Catrobat.IDE.WindowsShared.Services.SensorServiceWindowsShared

Inheritance: ISensorService
Exibir arquivo Open project: Catrobat/CatrobatForWindows

Public Methods

Method Description
CheckSensors ( ) : bool
GetAccelerationX ( ) : double
GetAccelerationY ( ) : double
GetAccelerationZ ( ) : double
GetCompass ( ) : double
GetInclinationX ( ) : double
GetInclinationY ( ) : double
GetInclinationZ ( ) : double
GetLoudness ( ) : double
InitializeAudioRecording ( ) : void
IsAccelarationEnabled ( ) : bool
IsCompassEnabled ( ) : bool
IsInclinationEnabled ( ) : bool
IsMicrophoneEnabled ( ) : bool
SensorServiceWindowsShared ( ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
CheckAccelaration ( ) : void
CheckCompass ( ) : void
CheckInclinometer ( ) : void
CheckMicrophone ( ) : void
_accelerometer_ReadingChanged ( Accelerometer sender, AccelerometerReadingChangedEventArgs args ) : void
_compass_ReadingChanged ( Compass sender, CompassReadingChangedEventArgs args ) : void
_inclinometer_ReadingChanged ( Inclinometer sender, InclinometerReadingChangedEventArgs args ) : void

Method Details

CheckSensors() public method

public CheckSensors ( ) : bool
return bool

GetAccelerationX() public method

public GetAccelerationX ( ) : double
return double

GetAccelerationY() public method

public GetAccelerationY ( ) : double
return double

GetAccelerationZ() public method

public GetAccelerationZ ( ) : double
return double

GetCompass() public method

public GetCompass ( ) : double
return double

GetInclinationX() public method

public GetInclinationX ( ) : double
return double

GetInclinationY() public method

public GetInclinationY ( ) : double
return double

GetInclinationZ() public method

public GetInclinationZ ( ) : double
return double

GetLoudness() public method

public GetLoudness ( ) : double
return double

InitializeAudioRecording() public method

public InitializeAudioRecording ( ) : void
return void

IsAccelarationEnabled() public method

public IsAccelarationEnabled ( ) : bool
return bool

IsCompassEnabled() public method

public IsCompassEnabled ( ) : bool
return bool

IsInclinationEnabled() public method

public IsInclinationEnabled ( ) : bool
return bool

IsMicrophoneEnabled() public method

public IsMicrophoneEnabled ( ) : bool
return bool

SensorServiceWindowsShared() public method

public SensorServiceWindowsShared ( ) : System
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void