stopPowerConnectionMonitoring


Purpose

Stops power connection state monitoring. As a result, the onPowerConnected and onPowerDisconnected observable events are no longer delivered.

Signature

stopPowerConnectionMonitoring ( )

Returns

This method returns a promise object that can be in one of the following states:

  • Resolve - confirms that monitoring has stopped successfully.

  • Reject - returns the InternalError error described in the Constants section of the Battery article.

Related topics

Battery
Legal notice | Copyright © 2017 and Confidential to Pegasystems Inc. All rights reserved
PDN | Pega Mobile Client | Feedback
Advanced...