/*
* 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.
*/
using System;
namespace Tizen.Applications.DataControl
{
///
/// Enumeration for DataControl column type
///
public enum ColumnType : short
{
///
/// Value representing DataControl operation Success
///
ColumnTypeInt = 1,
///
/// Value representing DataControl operation Success
///
ColumnTypeDouble = 2,
///
/// Value representing DataControl operation Success
///
ColumnTypeString = 3,
///
/// Value representing DataControl operation Success
///
ColumnTypeBlob = 4
}
///
/// Enumeration for DataControl column type
///
public enum ChangeType : short
{
///
/// Value representing DataControl provider data changed by update
///
Update,
///
/// Value representing DataControl provider data changed by insert
///
Insert,
///
/// Value representing DataControl provider data changed by delete
///
Delete,
///
/// Value representing DataControl provider data changed by map add
///
MapAdd,
///
/// Value representing DataControl provider data changed by map remove
///
MapRemove,
///
/// Value representing DataControl provider data changed by map set
///
MapSet,
}
///
/// Enumeration for DataControl result type
///
public enum ResultType : int
{
///
/// Value representing DataControl operation success
///
Success = Interop.DataControl.NativeResultType.Success,
///
/// Value representing DataControl operation cause out of memory error
///
OutOfMemory = Interop.DataControl.NativeResultType.OutOfMemory,
///
/// Value representing DataControl operation cause IO error
///
IoError = Interop.DataControl.NativeResultType.IoError,
///
/// Value representing DataControl operation cause Invalid parameter error
///
InvalidParameter = Interop.DataControl.NativeResultType.InvalidParameter,
///
/// Value representing DataControl operation cause permission denied error
///
PermissionDenied = Interop.DataControl.NativeResultType.PermissionDenied,
///
/// Value representing DataControl operation cause max exceed error
///
MaxExceed = Interop.DataControl.NativeResultType.MaxExceed,
}
}