Interface TeamViewerSession

All Known Subinterfaces:
AssistARSession, ScreenSharingSession

public interface TeamViewerSession
This interface represents a running TeamViewer session.
  • Method Details

    • disconnect

      void disconnect()
      Disconnects this session and goes offline. This will also trigger a call to SessionCallback.onSessionEnded() at some point.
      Must be called from the main thread.
      See Also:
    • getLogger

      Logger getLogger()
      Returns:
      the currently used Logger instance. Can be null.
    • enableMicrophone

      void enableMicrophone(boolean enable)
    • getMicrophoneState

    • addMicrophoneStateCallback

      void addMicrophoneStateCallback(MicrophoneStateCallback callback)
    • removeMicrophoneStateCallback

      void removeMicrophoneStateCallback(MicrophoneStateCallback callback)
    • 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.