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