private fun isSessionPaused(session: FileSharingSession?): Boolean { if (session == null) { throw ServerApiGenericException("Unable to check if transfer is paused since session with file transfer ID '$mFileTransferId' not available!") } return session.isFileTransferPaused() }
Is session paused ( only for HTTP transfer )