# SynchSDK

## Nested classes <a href="#nested-classes" id="nested-classes"></a>

| Classes                                                  |
| -------------------------------------------------------- |
| SyncSdkBuilder - creates an instance of the SyncSdk      |
| SyncListener - an interface containing the API callbacks |

## Public Constructor Summary

| Type           | Methods                   | Parameters                                                 |
| -------------- | ------------------------- | ---------------------------------------------------------- |
| SyncSdkBuilder | accessToken(mAccessToken) | <ul><li>mAccessToken - authorization token;</li></ul>      |
| SyncSdkBuilder | name(mDisplayName)        | <ul><li>mDisplayName - username;</li></ul>                 |
| SyncSdkBuilder | syncListener(this)        | <ul><li>this - interface to syncSdk's callbacks;</li></ul> |
| SyncSdkBuilder | build()                   | <ul><li>initialize SyncSdk object</li></ul>                |

## Public Method Summary <a href="#public-method-summary" id="public-method-summary"></a>

| Type | Methods                                                                                                                                           | Parameters                                         |
| ---- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| void | startSync() - Start synchronization using the SyncSdk object requires a SyncSdk’s URL and a valid Access Token to be available before connecting. |                                                    |
| void | stopSync()                                                                                                                                        |                                                    |
| void | groupPlay() - start player for all members group using the SyncSdk object                                                                         |                                                    |
| void | groupPause() - pause player for all members group using the SyncSdk object                                                                        |                                                    |
| void | groupSeek(Long position) - seek player’s video for all members group using the SyncSdk object                                                     | <p></p><ul><li>position - position video</li></ul> |
| void | groupSeekSuccess(Long position) - confirmation about seeking player's video using the SyncSdk object                                              | <p></p><ul><li>position - position video</li></ul> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.sceenic.co/synchronization-sdk/api-references-synch-sdk/android-reference/synchsdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
