C# 클래스 WPCordovaClassLib.Cordova.Commands.Accelerometer

Captures device motion in the x, y, and z direction.
상속: BaseCommand
파일 보기 프로젝트 열기: ChristianWeyer/tUdUs

공개 메소드들

메소드 설명
start ( string options ) : void

Starts listening for acceleration sensor

stop ( string options ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

start() 공개 메소드

Starts listening for acceleration sensor
public start ( string options ) : void
options string
리턴 void

stop() 공개 메소드

public stop ( string options ) : void
options string
리턴 void