C# Class WPCordovaClassLib.Cordova.Commands.Battery

Listens for changes to the state of the battery on the device. Currently only the "isPlugged" parameter available via native APIs.
Inheritance: BaseCommand
Mostra file Open project: ChristianWeyer/tUdUs

Public Methods

Method Description
Battery ( ) : System
start ( string options ) : void
stop ( string options ) : void

Private Methods

Method Description
DeviceStatus_PowerSourceChanged ( object sender, EventArgs e ) : void
GetCurrentBatteryStateFormatted ( ) : string

Method Details

Battery() public method

public Battery ( ) : System
return System

start() public method

public start ( string options ) : void
options string
return void

stop() public method

public stop ( string options ) : void
options string
return void