Package com.teamviewer.sdk.screensharing
Class TeamViewerSdk
java.lang.Object
com.teamviewer.sdk.screensharing.TeamViewerSdk
Welcome to the TeamViewer Screen sharing Sdk!
Usage of this Sdk is bound under the TeamViewer App Developer Agreement.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
connectToSessionCode
(int sessionCode) Start connection to a given session code and wait for an incoming connection.void
connectToSessionCode
(String sessionCode) Start connection to a given session code and wait for an incoming connection.static String
void
shutdown()
Leaves all sessions and goes offline.
-
Method Details
-
connectToSessionCode
Start connection to a given session code and wait for an incoming connection. Must be called from the main thread.- Parameters:
sessionCode
- The session code to connect to.- See Also:
-
connectToSessionCode
public void connectToSessionCode(int sessionCode) Start connection to a given session code and wait for an incoming connection. Must be called from the main thread.- Parameters:
sessionCode
- The session code to connect to.- See Also:
-
shutdown
public void shutdown()Leaves all sessions and goes offline. Must be called from the main thread.- See Also:
-
getStorageFolderPath
- Returns:
- the folder set from
TeamViewerSdk.Builder.withStorageFolder(java.lang.String)
- See Also:
-