개요
디바이스의 데이터가 갱신되었을 때 호출되는 메소드를 정의합니다.
퍼블릭 메소드
버전 1.0.0부터
public abstract void
onDeviceDataChanged(
Device device, Object values, long timestamp)
디바이스의 데이터가 갱신되었을 때 호출된다.
파라미터:
- device: 데이터가 갱신된 디바이스
- values: 디바이스의 데이터 배열
- timestamp: 데이터가 갱신된 시간 (System.nanoTime() 메소드로 측정된 시간)
Copyright Robot Software Education Institute. All rights reserved.
Please contact prof. Kwang-Hyun Park (
akaii@kw.ac.kr) if you have any problem.