/* * 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 Tizen.Applications; using Tizen.Account.AccountManager; namespace Tizen.Account.SyncManager { /// /// Class represents information about a sync job request /// public class SyncJobData { /// /// Represents calendar capability /// /// /// If you want to receive notification about calendar database change, assign it to SyncJobName property of SyncJobData object. /// public const string CalendarCapability = "http://tizen.org/sync/capability/calendar"; /// /// Represents contact capability /// /// /// If you want to receive notification about contact database change, assign it to SyncJobName property of SyncJobData object. /// public const string ContactCapability = "http://tizen.org/sync/capability/contact"; /// /// Represents image capability /// /// /// If you want to receive notification about image database change, assign it to SyncJobName property of SyncJobData object. /// public const string ImageCapability = "http://tizen.org/sync/capability/image"; /// /// Represents video capability /// /// /// If you want to receive notification about video database change, assign it to SyncJobName property of SyncJobData object. /// public const string VideoCapability = "http://tizen.org/sync/capability/video"; /// /// Represents sound capability /// /// /// If you want to receive notification about sound database change, assign it to SyncJobName property of SyncJobData object. /// public const string SoundCapability = "http://tizen.org/sync/capability/sound"; /// /// Represents music capability /// /// /// If you want to receive notification about music database change, assign it to SyncJobName property of SyncJobData object. /// public const string MusicCapability = "http://tizen.org/sync/capability/music"; /// /// The account instance on which sync operation was requested or @c null in the case of accountless sync operation /// public AccountManager.Account Account { get; set; } /// /// User data which contains additional information related registered sync job /// public Bundle UserData { get; set; } /// /// A string representing a sync job which has been operated or capability setting to operate data change sync job /// public string SyncJobName { get; set; } } }