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 / EnrolleeState.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  * It defines various states of the Enrollee device during easy setup process
27  */
28
29 public enum EnrolleeState {
30
31     /**
32      * Default state of the device
33      */
34     DEVICE_INIT_STATE,
35
36     /**
37      * Device will move to this state after successful on-boarding of the device
38      */
39     DEVICE_ON_BOARDED_STATE,
40
41     /**
42      * Device will move to this state once the on boarding begins
43      */
44     DEVICE_ON_BOARDING_STATE,
45
46     /**
47      * Device will move to this state once the on boarding is done
48      */
49     DEVICE_PROVISIONING_STATE,
50
51     /**
52      * Easy setup process is successful.
53      */
54     DEVICE_PROVISIONED_STATE,
55
56     /**
57      * Easy setup process failed.
58      */
59     DEVICE_NOT_PROVISIONED,
60
61     /**
62      * This state is arbitrary one, any time device can come into this state
63      * Device will move to this state if the ownership transfer initiated  by the Application
64      */
65     DEVICE_OWNERSHIP_TRANSFERRING_STATE,
66
67     /**
68      * This state is arbitrary one, any time device can come into this state
69      * Device will move to this state if the ownership transfer is completed
70      */
71     DEVICE_OWNERSHIP_TRANSFERRED_STATE,
72
73     /**
74      * This state is arbitrary one, any time device can come into this state
75      * Device will move to this state if the ownership transfer is not completed
76      */
77     DEVICE_NOT_OWNED,
78
79     /**
80      * This state is arbitrary one, any time device can come into this state
81      * Device will move to this state once the Application factory reset the device
82      */
83     DEVICE_FACTORY_RESET_STATE,
84
85
86
87
88 }