/* * Copyright (c) 2017 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. */ namespace Tizen.Applications.Shortcut { /// /// Enumeration for values of shortcut response types. /// public enum ShortcutError { /// /// Successful. /// None = Tizen.Internals.Errors.ErrorCode.None, /// /// Invalid function parameter. /// InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter, /// /// Out of memory. /// OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory, /// /// Permission denied. /// PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied, /// /// I/O Error. /// IoError = Tizen.Internals.Errors.ErrorCode.IoError, /// /// Not supported. /// NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported, /// /// Device or resource busy. /// ResourceBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy, /// /// There is no space to add a new shortcut. /// NoSpace = -0x01160000 | 0x01, /// /// Shortcut is already added. /// Exist = -0x01160000 | 0x02, /// /// Unrecoverable error. /// Fault = -0x01160000 | 0x04, /// /// Not exist shortcut. /// NotExist = -0x01160000 | 0x08, /// /// Connection not established or communication problem. /// COMM = -0x01160000 | 0x40 } }