1 <?xml version="1.0"?>
\r
4 <name>Tizen.Account.SyncManager</name>
\r
7 <member name="T:Interop.Libraries">
\r
9 The Wrapper class for maintaining names of dependent native libraries.
\r
12 <member name="T:Tizen.Account.SyncManager.SyncOption">
\r
14 Enumeration for the sync option.
\r
17 <member name="F:Tizen.Account.SyncManager.SyncOption.None">
\r
19 The sync job will be operated normally.
\r
22 <member name="F:Tizen.Account.SyncManager.SyncOption.Expedited">
\r
24 The sync job will be operated as soon as possible.
\r
27 <member name="F:Tizen.Account.SyncManager.SyncOption.NoRetry">
\r
29 The sync job will not be performed again when it fails.
\r
32 <member name="T:Tizen.Account.SyncManager.SyncPeriod">
\r
34 Enumeration for the sync period.
\r
37 <member name="F:Tizen.Account.SyncManager.SyncPeriod.ThirtyMin">
\r
39 Sync within 30 minutes.
\r
42 <member name="F:Tizen.Account.SyncManager.SyncPeriod.OneHour">
\r
47 <member name="F:Tizen.Account.SyncManager.SyncPeriod.TwoHours">
\r
49 Sync within 2 hours.
\r
52 <member name="F:Tizen.Account.SyncManager.SyncPeriod.ThreeHours">
\r
54 Sync within 3 hours.
\r
57 <member name="F:Tizen.Account.SyncManager.SyncPeriod.SixHours">
\r
59 Sync within 6 hours.
\r
62 <member name="F:Tizen.Account.SyncManager.SyncPeriod.TwelveHours">
\r
64 Sync within 12 hours.
\r
67 <member name="F:Tizen.Account.SyncManager.SyncPeriod.OneDay">
\r
72 <member name="T:Tizen.Account.SyncManager.SyncAdapter">
\r
74 This class contains the delegates to be called upon scheduling a sync operation.
\r
77 <member name="T:Tizen.Account.SyncManager.SyncAdapter.StartSyncCallback">
\r
79 The callback function for the sync adapter's start sync request.
\r
81 <param name="syncParameters"> The sync job parameters corresponding to the sync request. </param>
\r
82 <returns> true if the sync operation is success, @c false otherwise. </returns>
\r
84 <member name="T:Tizen.Account.SyncManager.SyncAdapter.CancelSyncCallback">
\r
86 The callback function for the sync adapter's cancel sync request.
\r
88 <param name="syncParameters"> The sync job parameters corresponding to the sync request. </param>
\r
90 <member name="M:Tizen.Account.SyncManager.SyncAdapter.SetSyncEventCallbacks(Tizen.Account.SyncManager.SyncAdapter.StartSyncCallback,Tizen.Account.SyncManager.SyncAdapter.CancelSyncCallback)">
\r
92 Sets the client (sync adapter) callback functions.
\r
94 <param name="startSyncCb"> A callback function to be called by the sync manager for performing the sync operation. </param>
\r
95 <param name="cancelSyncCb"> A callback function to be called by the sync manager for cancelling the sync operation. </param>
\r
96 <exception cref="T:System.ArgumentNullException"> Thrown when any of the arguments are null. </exception>
\r
97 <exception cref="T:System.InvalidOperationException"> Thrown when the application calling this API cannot be a sync adapter. </exception>
\r
99 <member name="M:Tizen.Account.SyncManager.SyncAdapter.UnsetSyncEventCallbacks">
\r
101 Unsets the client (sync adapter) callback functions.
\r
103 <exception cref="T:System.Exception"> Thrown when sync manager internal error occurs. </exception>
\r
105 <member name="T:Tizen.Account.SyncManager.SyncClient">
\r
107 The SyncClient APIs for managing the sync operations. Applications will call these APIs to schedule their sync operations.
\r
108 The sync service maintains sync requests from all the applications and invokes their respective callback methods to perform account synchronization operations.
\r
111 <member name="M:Tizen.Account.SyncManager.SyncClient.#cctor">
\r
116 <member name="M:Tizen.Account.SyncManager.SyncClient.RequestOnDemandSyncJob(Tizen.Account.SyncManager.SyncJobData,Tizen.Account.SyncManager.SyncOption)">
\r
118 Requests the sync manager to perform one time sync operation.
\r
120 <param name="request"> The sync job information of the sync job request. </param>
\r
121 <param name="syncOptions"> Sync options determine a way to operate the sync job and can be used as ORing. </param>
\r
122 <exception cref="T:System.ArgumentNullException"> Thrown when any of the arugments are null. </exception>
\r
123 <exception cref="T:System.InvalidOperationException"> Thrown when the application calling this API doesn't have a sync adapter. </exception>
\r
124 <returns> An unique value which can manage sync jobs. The number of sync job ID is limite as it is less than hundred. </returns>
\r
126 <member name="M:Tizen.Account.SyncManager.SyncClient.AddPeriodicSyncJob(Tizen.Account.SyncManager.SyncJobData,Tizen.Account.SyncManager.SyncPeriod,Tizen.Account.SyncManager.SyncOption)">
\r
128 Requests the sync manager to perform periodic sync operations.
\r
130 <param name="request"> The sync job information of the sync job request. </param>
\r
131 <param name="period"> 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. </param>
\r
132 <param name="syncOptions"> Sync options determine a way to operate the sync job and can be used as ORing. </param>
\r
133 <privilege>http://tizen.org/privilege/alarm.set</privilege>
\r
134 <exception cref="T:System.UnauthorizedAccessException"> In case of a privilege not defined. </exception>
\r
135 <exception cref="T:System.ArgumentNullException"> Thrown when any of the arguments are null. </exception>
\r
136 <exception cref="T:System.InvalidOperationException"> Thrown when the application calling this API doesn't have a sync adapter. </exception>
\r
137 <returns> A unique value which can manage sync jobs. The number of sync job IDs is limited as it is less than hundred. </returns>
\r
139 <member name="M:Tizen.Account.SyncManager.SyncClient.AddDataChangeSyncJob(Tizen.Account.SyncManager.SyncJobData,Tizen.Account.SyncManager.SyncOption)">
\r
141 Requests the sync manager to perform sync operations whenever the corresponding DB is changed.
\r
143 <param name="request"> The sync job information of the sync job request. </param>
\r
144 <param name="syncOptions"> Sync options determine a way to operate the sync job and can be used as ORing. </param>
\r
145 <privilege>http://tizen.org/privilege/calendar.read</privilege>
\r
146 <privilege>http://tizen.org/privilege/contact.read</privilege>
\r
147 <exception cref="T:System.UnauthorizedAccessException"> In case of a privilege is not defined. </exception>
\r
148 <exception cref="T:System.ArgumentNullException"> Thrown when any of the arguments are null. </exception>
\r
149 <exception cref="T:System.InvalidOperationException"> Thrown when the application calling this API doesn't have a sync adapter. </exception>
\r
150 <returns> A unique value which can manage sync jobs. The number of sync job IDs is limited as it is less than hundred. </returns>
\r
152 <member name="M:Tizen.Account.SyncManager.SyncClient.GetAllSyncJobs">
\r
154 Gets all the sync jobs registered with the sync manager.
\r
157 Returns the list of SyncJobData corresponding to sync requests.
\r
160 <member name="M:Tizen.Account.SyncManager.SyncClient.RemoveSyncJob(System.Int32)">
\r
162 Requests the sync manager to remove the corresponding sync job based on the ID.
\r
164 <param name="id"> A unique value of each sync job, it can be used to search a specific sync job and remove it. </param>
\r
165 <exception cref="T:System.ArgumentException"> Thrown if the input arugments is invalid. </exception>
\r
167 <member name="T:Tizen.Account.SyncManager.SyncJobData">
\r
169 This class represents information about the sync job request.
\r
172 <member name="F:Tizen.Account.SyncManager.SyncJobData.CalendarCapability">
\r
174 Represents the calendar capability.
\r
177 If you want to receive notification about the calendar database change, assign it to the SyncJobName property of the SyncJobData object.
\r
180 <member name="F:Tizen.Account.SyncManager.SyncJobData.ContactCapability">
\r
182 Represents the contact capability.
\r
185 If you want to receive notification about the contact database change, assign it to the SyncJobName property of the SyncJobData object.
\r
188 <member name="F:Tizen.Account.SyncManager.SyncJobData.ImageCapability">
\r
190 Represents the image capability.
\r
193 If you want to receive notification about the image database change, assign it to the SyncJobName property of the SyncJobData object.
\r
196 <member name="F:Tizen.Account.SyncManager.SyncJobData.VideoCapability">
\r
198 Represents the video capability.
\r
201 If you want to receive notification about the video database change, assign it to the SyncJobName property of the SyncJobData object.
\r
204 <member name="F:Tizen.Account.SyncManager.SyncJobData.SoundCapability">
\r
206 Represents the sound capability.
\r
209 If you want to receive notification about the sound database change, assign it to the SyncJobName property of the SyncJobData object.
\r
212 <member name="F:Tizen.Account.SyncManager.SyncJobData.MusicCapability">
\r
214 Represents the music capability.
\r
217 If you want to receive notification about the music database change, assign it to the SyncJobName property of the SyncJobData object.
\r
220 <member name="P:Tizen.Account.SyncManager.SyncJobData.Account">
\r
222 The account instance on which the sync operation was requested or @c null in the case of the accountless sync operation.
\r
225 <member name="P:Tizen.Account.SyncManager.SyncJobData.UserData">
\r
227 User data which contains an additional information related to the registered sync job.
\r
230 <member name="P:Tizen.Account.SyncManager.SyncJobData.SyncJobName">
\r
232 A string representing a sync job which has been operated or capability setting to operate the data change sync job.
\r