/*
* 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.Account.SyncManager
{
///
/// Enumeration for the sync option.
///
/// 4
[Flags]
public enum SyncOption
{
///
/// The sync job will be operated normally.
///
/// 4
None = 0,
///
/// The sync job will be operated as soon as possible.
///
/// 4
Expedited = 0X01,
///
/// The sync job will not be performed again when it fails.
///
/// 4
NoRetry = 0X02,
}
///
/// Enumeration for the sync period.
///
/// 4
public enum SyncPeriod
{
///
/// Sync within 30 minutes.
///
/// 4
ThirtyMin = 0,
///
/// Sync within 1 hour.
///
/// 4
OneHour,
///
/// Sync within 2 hours.
///
/// 4
TwoHours,
///
/// Sync within 3 hours.
///
/// 4
ThreeHours,
///
/// Sync within 6 hours.
///
/// 4
SixHours,
///
/// Sync within 12 hours.
///
/// 4
TwelveHours,
///
/// Sync within 1 day.
///
/// 4
OneDay,
}
}