/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using System;
namespace Tizen.Network.IoTConnectivity
{
///
/// Enumeration for the policy, which can be held in a resource.
///
/// 3
public enum ResourcePolicy
{
///
/// Indicates resource uninitialized.
///
/// 3
NoProperty = 0,
///
/// Indicates resource that is allowed to be discovered.
///
/// 3
Discoverable = (1 << 0),
///
/// Indicates resource that is allowed to be observed.
///
/// 3
Observable = (1 << 1),
///
/// Indicates resource initialized and activated.
///
/// 3
Active = (1 << 2),
///
/// Indicates resource, which takes some delay to respond.
///
/// 3
Slow = (1 << 3),
///
/// Indicates secure resource.
///
/// 3
Secure = (1 << 4),
///
/// When this bit is set, the resource is allowed to be discovered only if discovery request contains an explicit querystring.
///
/// 3
ExplicitDiscoverable = (1 << 5),
}
}