Stay organized with collections
Save and categorize content based on your preferences.
SyncContext
open class SyncContext
Summary
Public methods
getSyncContextBinder
open fun getSyncContextBinder(): IBinder!
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# SyncContext\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSyncContext\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/content/SyncContext \"View this page in Java\") \n\n```\nopen class SyncContext\n```\n\n|---|----------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.content.SyncContext](#) |\n\nSummary\n-------\n\n| Public methods ||\n|-----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| open [IBinder](../os/IBinder.html#)! | [getSyncContextBinder](#getSyncContextBinder())`()` \u003cbr /\u003e |\n| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onFinished](#onFinished(android.content.SyncResult))`(`result:` `[SyncResult](/reference/kotlin/android/content/SyncResult)!`)` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### getSyncContextBinder\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getSyncContextBinder(): IBinder!\n``` \n\n### onFinished\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun onFinished(result: SyncResult!): Unit\n```"]]