/* * 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 policy which can be held in a resource. /// public enum ResourcePolicy { /// /// Indicates resource uninitialized /// NoProperty = 0, /// /// Indicates resource that is allowed to be discovered /// Discoverable = (1 << 0), /// /// Indicates resource that is allowed to be observed /// Observable = (1 << 1), /// /// Indicates resource initialized and activated /// Active = (1 << 2), /// /// Indicates resource which takes some delay to respond /// Slow = (1 << 3), /// /// Indicates secure resource /// Secure = (1 << 4), /// /// When this bit is set, the resource is allowed to be discovered only if discovery request contains an explicit querystring. /// ExplicitDiscoverable = (1 << 5), } }