1 package org.iotivity.service.easysetup.core;
4 * This interface facilitates Application to get progress & result of Easy setup
5 * process Easy setup process.
7 public interface EasySetupStatus {
10 * This method is called back when easy setup process is finished. Easy
11 * setup process status can read from the APIs given in Enrollee class.This
12 * method is called on worker thread, UI operations to be executed on main /
15 * @param enrolledevice Device to be enrolled in network through Easy setup process
17 public void onFinished(EnrolleeDevice enrolledevice);
20 * This method is called back to give intermediate progress on the easy
21 * setup process This method is called on worker thread, UI operations to be
22 * executed on main / Ui Thread.
24 * @param state Gives state of the device changed during easy setup process
26 public void onProgress(EnrolleeState state);