am 07322102: revise code sample for callback interface

* commit '07322102e5f1877bc2860d2c72eeeb41839d6bea':
  revise code sample for callback interface