List of usage examples for com.google.gwt.tok.client Microphone getStatus
public native String getStatus() ;
From source file:com.google.gwt.tok.test.client.model.TokModel.java
@Override public void onDeviceStatus(DeviceStatusEvent event) { for (Camera camera : event.getCameras()) { this.log("Camera detected : " + camera.getName() + "(" + camera.getStatus() + ")"); }/*from www .j a v a 2s . c o m*/ for (Microphone microphone : event.getMicrophones()) { this.log("Microphone detected : " + microphone.getName() + "(status:" + microphone.getStatus() + ")"); } Camera selectedCamera = event.getSelectedCamera(); Microphone selectedMicrophone = event.getSelectedMicrophone(); this.log("Microphone selected : " + selectedMicrophone.getName() + "(status:" + selectedMicrophone.getStatus() + ")"); this.log("Camera selected : " + selectedCamera.getName() + "(status:" + selectedCamera.getStatus() + ")"); }