コード例 #1
0
ファイル: BateryStatus.java プロジェクト: kenkeiras/ROBOBO
 /**
  * Called when the {@link ConnectedNode} has started shutting down. Shutdown will be delayed,
  * although not indefinitely, until all {@link NodeListener}s have returned from this method.
  *
  * <p>Since this method can potentially delay {@link ConnectedNode} shutdown, it is preferred to
  * use {@link #onShutdownComplete(Node)} when {@link ConnectedNode} resources are not required
  * during the method call.
  *
  * @param node the {@link Node} that has started shutting down
  */
 @Override
 public void onShutdown(Node node) {
   Log.i(C.TAG, "[ " + node.getName() + " ] onShutdown [ " + QUEUE_NAME + " ]");
   publisher.shutdown();
 }
コード例 #2
0
 @Override
 public void onShutdown(VisualizationView view, Node node) {
   posePublisher.shutdown();
 }