Package com.teamviewer.sdk.screensharing
Interface TeamViewerSession
- All Known Subinterfaces:
AssistARSession
,ScreenSharingSession
public interface TeamViewerSession
This interface represents a running TeamViewer session.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Disconnects this session and goes offline.void
enableMicrophone
(boolean enable) int
boolean
void
void
-
Method Details
-
disconnect
void disconnect()Disconnects this session and goes offline. This will also trigger a call toSessionCallback.onSessionEnded()
at some point.
Must be called from the main thread.- See Also:
-
getLogger
Logger getLogger()- Returns:
- the currently used
Logger
instance. Can benull
.
-
enableMicrophone
void enableMicrophone(boolean enable) -
getMicrophoneState
MicrophoneStateCallback.MicrophoneState getMicrophoneState() -
addMicrophoneStateCallback
-
removeMicrophoneStateCallback
-
onMicrophonePermissionGranted
void onMicrophonePermissionGranted() -
getSessionId
int getSessionId()- Returns:
- the sessionId for CurrentSession.
-
isMicrophoneInitiallyMuted
boolean isMicrophoneInitiallyMuted()- Returns:
- true if initial mic state is Muted, false if it is UnMuted for CurrentSession.
-