C# Class WPCordovaClassLib.Cordova.Commands.Accelerometer

Captures device motion in the x, y, and z direction.
Inheritance: BaseCommand
Afficher le fichier Open project: ChristianWeyer/tUdUs

Méthodes publiques

Méthode Description
start ( string options ) : void

Starts listening for acceleration sensor

stop ( string options ) : void

Private Methods

Méthode Description
GetCurrentAccelerationFormatted ( ) : string

Formats current coordinates into JSON format

SetStatus ( int status ) : void

Sets current status

accelerometer_CurrentValueChanged ( object sender, SensorReadingEventArgs e ) : void

Sensor listener event

Method Details

start() public méthode

Starts listening for acceleration sensor
public start ( string options ) : void
options string
Résultat void

stop() public méthode

public stop ( string options ) : void
options string
Résultat void