Constructors

Link copied to clipboard
constructor(index: Int)

Types

Link copied to clipboard
data class ApiKeyResponse(val ok: Boolean? = false, val apiKey: String? = null, val usage: SubDlApi.Usage? = null)
Link copied to clipboard
data class ApiResponse(val status: Boolean? = null, val results: List<SubDlApi.Result>? = null, val subtitles: List<SubDlApi.Subtitle>? = null)
Link copied to clipboard
object Companion
Link copied to clipboard
data class OAuthTokenResponse(val token: String? = null, val userData: SubDlApi.UserData? = null, val status: Boolean? = null, val message: String? = null)
Link copied to clipboard
data class Result(val sdId: Int? = null, val type: String? = null, val name: String? = null, val imdbId: String? = null, val tmdbId: Long? = null, val firstAirDate: String? = null, val year: Int? = null)
Link copied to clipboard
data class Subtitle(val releaseName: String, val name: String, val lang: String, val author: String? = null, val url: String? = null, val subtitlePage: String? = null, val season: Int? = null, val episode: Int? = null, val language: String? = null, val hearingImpaired: Boolean? = null)
Link copied to clipboard
data class SubtitleOAuthEntity(var userEmail: String, var pass: String, var name: String? = null, var accessToken: String? = null, var apiKey: String? = null)
Link copied to clipboard
data class Usage(val total: Long? = 0, val today: Long? = 0)
Link copied to clipboard
data class UserData(val email: String, val name: String, val country: String, val scStepCode: String, val scVerified: Boolean, val username: String? = null, val scUsername: String)

Properties

Link copied to clipboard
Link copied to clipboard
open override val createAccountUrl: String
Link copied to clipboard
open override val icon: <Error class: unknown class>
Link copied to clipboard
open override val idPrefix: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val requiresEmail: Boolean = true
Link copied to clipboard
open override val requiresLogin: Boolean = true
Link copied to clipboard
open override val requiresPassword: Boolean = true
Link copied to clipboard
open override val requiresServer: Boolean = false
Link copied to clipboard
open override val requiresUsername: Boolean = false
Link copied to clipboard
open override val storesPasswordInPlainText: Boolean = true

Functions

Link copied to clipboard
fun changeAccount(index: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun init()
Link copied to clipboard
open suspend override fun initialize()
Link copied to clipboard
Link copied to clipboard
open suspend override fun login(data: InAppAuthAPI.LoginData): Boolean
Link copied to clipboard
open override fun loginInfo(): AuthAPI.LoginInfo?
Link copied to clipboard
open override fun logOut()
Link copied to clipboard