in the java sample there is also SetTarget?