C# Класс WPCordovaClassLib.Cordova.Commands.Accelerometer

Captures device motion in the x, y, and z direction.
Наследование: BaseCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
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