APIs

Describes new or changed features for client, server, and administration APIs.

Changed APIs

The following are methods that replace existing methods. For complete information on method syntax, refer to the Developer References or the Reference: Administration APIs.

Changed APIs in Administration API
Administration API: SUPMonitor class
Former method or class New method or class
getSecurityLogHistories getSecurityLogHistory
getMessagingHistorySummaries getMessagingHistorySummary
getMessagingHistoryDetails getMessagingHistoryDetail
getReplicationHistorySummaries getReplicationHistorySummary
getReplicationHistoryDetails getReplicationHistoryDetail
getDataChangeNotificationHistories getDataChangeNotificationHistory
getDeviceNotificationHistories getDeviceNotificationHistory
getCacheGroupPerformances getCacheGroupPerformance
exportSecurityLogHistories exportSecurityLogHistory
exportMessagingHistorySummaries exportMessagingHistorySummary
exportMessagingHistoryDetails exportMessagingHistoryDetail
exportReplicationHistorySummaries exportReplicationHistorySummary
exportReplicationHistoryDetails exportReplicationHistoryDetail
exportDataChangeNotificationHistories exportDataChangeNotificationHistory
exportDeviceNotificationHistories exportDeviceNotificationHistory
exportCacheGroupPerformances exportCacheGroupPerformance
Administration API: SUPDomainLog class
Former method or class New method or class
getDataChangeNotificationLogs getDataChangeNotificationLog
getMessagingLogs getMessagingLog
getReplicationLogs getReplicationLog
getSubscriptionLogs getSubscriptionLog
getErrorLogs getErrorLog
getDeviceNotificationLogs getDeviceNotificationLog
Administration API: SUPMobileBusinessObject class
Former method or class New method or class
getPlaybackErrors getDataRefreshErrors
deletePlaybackErrors deleteDataRefreshErrors
getLastGoodPlayback getLastGoodDataRefresh
Changed APIs in Client Object API
Former method or class New method or class Platform
+(void) beginSynchronize:(NString*)synchronizationGroups:(NSString*)context +(void) beginSynchronize:(SUPObjectList*)synchronizationGroups withContext:(NSString*)context iOS
ConnectionStatus SUPDeviceConnectionStatus iOS
ConnectionType SUPDeviceConnectionType iOS
asynchOnlineLogin beginOnlineLogin iOS

New APIs

The following are new methods that do not replace an existing method.

New APIs in Administration API
Administration API: SUPDomain class  
New method Description
createEndpointTemplate Creates a server connection endpoint template.
deleteEndpointTemplate Deletes a server connection endpoint template.
updateEndpointTemplate Updates a server connection endpoint template.
isScheduledPurgeTaskEnable Checks to see whether domain-level cleanup is scheduled for the purge task type specified.
enableScheduledPurgeTask Enables domain-level cleanup using the current scheduled purge task values.
getPurgeTaskSchedule Gets the cleanup schedule for the selected purge task type.
setPurgeTaskSchedule Sets the domain-level cleanup schedule for the selected purge task.
purgeSyncCacheGroup Purges synchronization cache at the domain level.
purgeClientLog Purges the client log at the domain level.
getClientLogPurgeOption Retrieves the current client log purge settings at the domain level.
setClientLogPurgeOption Sets the client log purge options at the domain level using the current settings.
purgeErrorHistory Purges the error history at the domain level.
getErrorHistoryPurgeOption Gets the current error history purge option settings at the domain level.
setErrorHistoryPurgeOption Sets the error history purge options at the domain level using current settings.
purgeOnlineCacheGroup Purges the online cache at the domain level.
purgeSubscription Purges subscriptions at the domain level.
getSubscriptionPurgeOption Retrieves the current subscription purge options at domain level.
setSubscriptionPurgeOption Sets the subscription purge options at the domain level.
Administration API: SUPPackage class
New method
purgeSyncCacheGroup
purgeErrorHistory
purgeOnlineCacheGroup
purgeSubscription
purgeSubscriptions
Administration API: SUPDeviceUser class
New method
purgeDevices
purgeUsers
New APIs in Client Object API
New method or property Platform
New property:

ConnectionProfile – new databaseFile property.

For example:
ConnectionProfile cp = MyDatabaseClass.getConnectionProfile();
Cp.setProperty("databaseFile", "databaseFile")
Windows and Windows Mobile
Callback handler method:
void OnConnectionStatusChange(int status_1, int type 2, int errorCode, string errorMessage)
Windows and Windows Mobile
Callback handler method:
void onConnectionStatusChange:(SUPDeviceConnectionStatus)connStatus:
(SUPDeviceConnectionType)connType:(int32_t)errCode:(NSString*)errString;
iOS