JavaDoc comments and code formatting
[platform/upstream/iotivity.git] / service / easy-setup / sdk / mediator / android / EasySetupCore / src / main / java / org / iotivity / service / easysetup / core / EasySetupStatus.java
1 package org.iotivity.service.easysetup.core;
2
3 /**
4  * This interface facilitates Application to get progress & result of Easy setup
5  * process Easy setup process.
6  */
7 public interface EasySetupStatus {
8
9     /**
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 /
13      * Ui Thread.
14      *
15      * @param enrolledevice Device to be enrolled in network through Easy setup process
16      */
17     public void onFinished(EnrolleeDevice enrolledevice);
18
19     /**
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.
23      *
24      * @param state Gives state of the device changed during easy setup process
25      */
26     public void onProgress(EnrolleeState state);
27
28 }