e prettyprint">// Javascript code
function getPMMode () {
		function successCb(cbObject) {
			console.log("cbObject : " + JSON.stringify(cbObject));
			// Do something
		}
		function failureCb(cbObject) {
			var errorCode = cbObject.errorCode;
			var errorText = cbObject.errorText;
			console.log ("Error Code [" + errorCode + "]: " + errorText);
			}
		var power = new Power();
		power.getPMMode(successCb, failureCb);
}</pre>
								
							
						
							
								<dl class="detailList params">
									<dt