Merge remote-tracking branch 'origin/master' into extended-easysetup
[platform/upstream/iotivity.git] / service / easy-setup / mediator / richsdk / android / EasySetupCore / src / main / java / org / iotivity / service / easysetup / mediator / SecurityProvisioningStatus.java
1 /**
2  * ***************************************************************
3  *
4  * Copyright 2016 Samsung Electronics All Rights Reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * ****************************************************************
19  */
20
21 package org.iotivity.service.easysetup.mediator;
22
23 import android.util.Log;
24
25 import org.iotivity.service.easysetup.mediator.enums.ESResult;
26
27 public class SecurityProvisioningStatus
28 {
29     private ESResult mResult;
30     private String mDevUUID;
31
32     public SecurityProvisioningStatus(int result, String uuid)
33     {
34         mResult = ESResult.fromInt(result);
35         mDevUUID = uuid;
36     }
37
38     public ESResult getESResult()
39     {
40         return mResult;
41     }
42
43     public String getDevUUID()
44     {
45         return mDevUUID;
46     }
47 };