X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.Account.SyncManager%2FTizen.Account.SyncManager%2FSyncClient.cs;h=97c739e37ad698bbb8c2a191ca993f3a3e9facbb;hb=df3ec5b743819de8f4164cf9f72743edd38be800;hp=4c82b8543985827df27d8214644ff1ef82696636;hpb=b991c4601bab184313aaff21ab857f723e40b2d6;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.Account.SyncManager/Tizen.Account.SyncManager/SyncClient.cs b/src/Tizen.Account.SyncManager/Tizen.Account.SyncManager/SyncClient.cs index 4c82b85..97c739e 100755 --- a/src/Tizen.Account.SyncManager/Tizen.Account.SyncManager/SyncClient.cs +++ b/src/Tizen.Account.SyncManager/Tizen.Account.SyncManager/SyncClient.cs @@ -23,25 +23,28 @@ namespace Tizen.Account.SyncManager { /// /// The SyncClient APIs for managing the sync operations. Applications will call these APIs to schedule their sync operations. - /// Sync service maintains sync requests from all the applications and invokes their respective callback methods to perform account synchronization operations. + /// The sync service maintains sync requests from all the applications and invokes their respective callback methods to perform account synchronization operations. /// + /// 4 public static class SyncClient { /// - /// The constructor + /// The constructor. /// + /// 4 static SyncClient() { } /// - /// Requests Sync Manager to perform one time sync operation + /// Requests the sync manager to perform one time sync operation. /// - /// Sync job information of the sync job request. - /// sync options determine an way to operate sync job and can be used as ORing. + /// 4 + /// The sync job information of the sync job request. + /// Sync options determine a way to operate the sync job and can be used as ORing. /// Thrown when any of the arugments are null. - /// Thrown when the application calling this api doesn't have a sync adapter. - /// A unique value which can manage sync jobs. The number of sync job id is limited as less than a hundred. + /// Thrown when the application calling this API doesn't have a sync adapter. + /// An unique value which can manage sync jobs. The number of sync job ID is limite as it is less than hundred. public static int RequestOnDemandSyncJob(SyncJobData request, SyncOption syncOptions) { if (request == null || request.SyncJobName == null) @@ -63,16 +66,17 @@ namespace Tizen.Account.SyncManager } /// - /// Requests Sync Manager to perform periodic sync operations + /// Requests the sync manager to perform periodic sync operations. /// - /// Sync job information of the sync job request. - /// Determines time interval of periodic sync. The periodic sync operation can be triggered in that interval, but it does not guarantee exact time. The minimum value is 30 minutes. - /// sync options determine an way to operate sync job and can be used as ORing. + /// 4 + /// The sync job information of the sync job request. + /// Determines the time interval of the periodic sync. The periodic sync operation can be triggered in that interval, but it does not guarantee the exact time. The minimum value is 30 minutes. + /// Sync options determine a way to operate the sync job and can be used as ORing. /// http://tizen.org/privilege/alarm.set - /// In case of privilege not defined. + /// In case of a privilege not defined. /// Thrown when any of the arguments are null. /// Thrown when the application calling this API doesn't have a sync adapter. - /// A unique value which can manage sync jobs. The number of sync job id is limited as less than a hundred. + /// A unique value which can manage sync jobs. The number of sync job IDs is limited as it is less than hundred. public static int AddPeriodicSyncJob(SyncJobData request, SyncPeriod period, SyncOption syncOptions) { if (request == null || request.SyncJobName == null) @@ -94,16 +98,17 @@ namespace Tizen.Account.SyncManager } /// - /// Requests Sync Manager to perform sync operations whenever corresponding DB changed + /// Requests the sync manager to perform sync operations whenever the corresponding DB is changed. /// - /// Sync job information of the sync job request. - /// sync options determine an way to operate sync job and can be used as ORing. + /// 4 + /// The sync job information of the sync job request. + /// Sync options determine a way to operate the sync job and can be used as ORing. /// http://tizen.org/privilege/calendar.read /// http://tizen.org/privilege/contact.read - /// In case of privilege not defined. + /// In case of a privilege is not defined. /// Thrown when any of the arguments are null. /// Thrown when the application calling this API doesn't have a sync adapter. - /// A unique value which can manage sync jobs. The number of sync job id is limited as less than a hundred. + /// A unique value which can manage sync jobs. The number of sync job IDs is limited as it is less than hundred. public static int AddDataChangeSyncJob(SyncJobData request, SyncOption syncOptions) { if (request == null || request.SyncJobName == null) @@ -125,8 +130,9 @@ namespace Tizen.Account.SyncManager } /// - /// Get all the sync jobs registered with the sync manager + /// Gets all the sync jobs registered with the sync manager. /// + /// 4 /// /// Returns the list of SyncJobData corresponding to sync requests. /// @@ -160,9 +166,10 @@ namespace Tizen.Account.SyncManager } /// - /// Requests Sync Manager to remove corresponding sync job job based on id + /// Requests the sync manager to remove the corresponding sync job based on the ID. /// - /// A unique value of each sync job, it can be used to search specific sync job and remove it. + /// 4 + /// A unique value of each sync job, it can be used to search a specific sync job and remove it. /// Thrown if the input arugments is invalid. public static void RemoveSyncJob(int id) {