cancelSync

Attempts to cancel a running sync job

Example usage (kotlin):

LiveUpdateManager.cancelSync("appId")

Example usage (Java):

LiveUpdateManager.cancelSync("appId");

Parameters

appId

the ID of the app associated with a sync job to cancel


Cancel all running sync jobs

Example usage (kotlin):

LiveUpdateManager.cancelSync()

Example usage (Java):

LiveUpdateManager.cancelSync();