ons = {
     enabled : true
  };

  function successCb() {
     // Do something
  }

  function failureCb(cbObject) {
     var errorCode = cbObject.errorCode;
     var errorText = cbObject.errorText;
     console.log ("Error Code [" + errorCode + "]: " + errorText);
  }

  var configuration = new Configuration();
  configuration.setUSBLock(successCb, failureCb, options);
}</pre>
								
							
						
							
								<dl class="detailList params">
									<dt class="heading">Parameters:</dt>
									
			