Resolved tizen build issue regarding ip network
[platform/upstream/iotivity.git] / service / easy-setup / mediator / richsdk / android / EasySetupCore / src / main / java / org / iotivity / service / easysetup / mediator / EasySetupStatus.java
1 /**
2  * ***************************************************************
3  * <p>
4  * Copyright 2015 Samsung Electronics All Rights Reserved.
5  * <p>
6  * <p>
7  * <p>
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * <p>
12  * http://www.apache.org/licenses/LICENSE-2.0
13  * <p>
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * <p>
20  * ****************************************************************
21  */
22
23 package org.iotivity.service.easysetup.mediator;
24
25 /**
26  * This interface facilitates Application to get progress & result of Easy setup
27  * process Easy setup process.
28  */
29 public interface EasySetupStatus {
30
31     /**
32      * This method is called back when easy setup process is finished. Easy
33      * setup process status can read from the APIs given in Enrollee class.This
34      * method is called on worker thread, UI operations to be executed on main /
35      * Ui Thread.
36      *
37      * @param enrolledevice Device to be enrolled in network through Easy setup process
38      */
39     public void onFinished(EnrolleeDevice enrolledevice);
40
41     /**
42      * This method is called back to give intermediate progress on the easy
43      * setup process This method is called on worker thread, UI operations to be
44      * executed on main / Ui Thread.
45      *
46      * @param enrolleeDevice Gives state of the device changed during easy setup process
47      */
48     public void onProgress(EnrolleeDevice enrolleeDevice);
49
50 }